Quantcast
Channel: Code monkey CODE!! » Razor
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

MVCContrib grid ajax.actionlink in razor

The gridview from mvccontrib seems pretty happy in razor, here’s a little example to help you along. But when your looking to add ajax.actionlink you must of remeber to get you javascript to handle the...

View Article


Razor html.textboxfor readonly

Its as simple as passing readonly css attribute to the html extension method. <div class="editor-label"> @Html.LabelFor(model => model.Phone ) </div> <div class="editor-field">...

View Article


MVC3 404 and 500 error pages with logging

MVC3 brings a new set of features to error handling, letting exceptions be dealt with in the MVC pipeline. You need to implement a few strands of these to cover your bases so lets look at how you hook...

View Article
Browsing all 3 articles
Browse latest View live