Click here to Skip to main content
15,924,452 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Marc Clifton29-Oct-14 11:05
mvaMarc Clifton29-Oct-14 11:05 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Andy Brummer29-Oct-14 11:22
sitebuilderAndy Brummer29-Oct-14 11:22 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Richard Deeming29-Oct-14 11:29
mveRichard Deeming29-Oct-14 11:29 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Andy Brummer29-Oct-14 15:42
sitebuilderAndy Brummer29-Oct-14 15:42 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Bob Nadler29-Oct-14 19:01
Bob Nadler29-Oct-14 19:01 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
User 1013254629-Oct-14 21:25
User 1013254629-Oct-14 21:25 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Marc Clifton30-Oct-14 2:41
mvaMarc Clifton30-Oct-14 2:41 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Fabio Franco30-Oct-14 0:47
professionalFabio Franco30-Oct-14 0:47 
Marc Clifton wrote:
It is really really cool to be doing posts/gets to the server without having to reload the page.

If You didn't get there yet, you will see the delight it is to render partial views. Which is a combination of Razor+CodeBehind easy way of rendering and AJAX, without having to deal with Javascript.

blockquote class="quote">
Marc Clifton wrote:
One thing that's slightly annoying is that the view engine is so rigid.

Could you elaborate on that? My perception is that the view engine is anything but rigid.

Marc Clifton wrote:
I have to make the data available either through a ViewBag (which is where my learning curve is now) or a model (which I'll be migrating the code to next to learn the ins & outs of that.


Basically when you use the model instead of the ViewBag, you get a strongly typed view, which can make the view much more maintainable and not error prone. As the model is class, you can also add some behavior to your view models.


Marc Clifton wrote:
you're pretty much coding in raw HTML.

I find that an advantage. In my case it not only forced me to really learn HTML, but it also makes it much easier to work on cross-browser bugs as you're in complete control. And in the end, HTML is actually the base for the web, so I think we are back where we should never have left.

Marc Clifton wrote:
But I'm quite happy.

Awesome, I'm happy for you.

Marc Clifton wrote:
Two days of concentrated effort have resulted in a grid that with a little polish will become a reusable mainstay component of this project.

You should consider jqGrid[^], it saves a lot of time, after you customizes it once. It also deals beautifully with paging.

Happy coding Smile | :)
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson
----
Our heads are round so our thoughts can change direction - Francis Picabia

GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Marc Clifton30-Oct-14 2:31
mvaMarc Clifton30-Oct-14 2:31 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Fabio Franco30-Oct-14 2:47
professionalFabio Franco30-Oct-14 2:47 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Marc Clifton30-Oct-14 3:41
mvaMarc Clifton30-Oct-14 3:41 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
Fabio Franco30-Oct-14 4:35
professionalFabio Franco30-Oct-14 4:35 
GeneralRe: Awesomeness - continuing the asp.net / razor saga Pin
AspDotNetDev1-Nov-14 19:08
protectorAspDotNetDev1-Nov-14 19:08 
GeneralTomorrow will be a sad day in the life of one dedicated server... Pin
Marc Clifton29-Oct-14 8:56
mvaMarc Clifton29-Oct-14 8:56 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
PhilLenoir29-Oct-14 8:58
professionalPhilLenoir29-Oct-14 8:58 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
OriginalGriff29-Oct-14 9:00
mveOriginalGriff29-Oct-14 9:00 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
Marc Clifton29-Oct-14 9:18
mvaMarc Clifton29-Oct-14 9:18 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
Andy Brummer29-Oct-14 9:09
sitebuilderAndy Brummer29-Oct-14 9:09 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
Marc Clifton29-Oct-14 9:17
mvaMarc Clifton29-Oct-14 9:17 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
OriginalGriff29-Oct-14 9:26
mveOriginalGriff29-Oct-14 9:26 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
Andy Brummer29-Oct-14 9:44
sitebuilderAndy Brummer29-Oct-14 9:44 
GeneralRe: Tomorrow will be a sad day in the life of one dedicated server... Pin
Slacker00729-Oct-14 9:29
professionalSlacker00729-Oct-14 9:29 
GeneralPassport to Bureaucracy, a game for all the family ... Pin
MidwestLimey29-Oct-14 7:42
professionalMidwestLimey29-Oct-14 7:42 
GeneralRe: Passport to Bureaucracy, a game for all the family ... Pin
Mark_Wallace29-Oct-14 7:52
Mark_Wallace29-Oct-14 7:52 
GeneralRe: Passport to Bureaucracy, a game for all the family ... Pin
  Forogar  29-Oct-14 8:01
professional  Forogar  29-Oct-14 8:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.