Skip to content Skip to sidebar Skip to footer
Showing posts with the label Html Helper

What's The Point Of Html.displaytextfor()?

Is there a good reason to use the strongly typed html helper... model.Email) %> As opposed to… Read more What's The Point Of Html.displaytextfor()?

Jquery Field Validation Onblur (mvc)

I want to have the fields in my form be validated after the user clicks out of them. However, I am … Read more Jquery Field Validation Onblur (mvc)

Get Comma-separated String From Checkboxlist Html Helper

I got the following code from the internet for CheckboxListFor html helper extension. At the moment… Read more Get Comma-separated String From Checkboxlist Html Helper

Passing Ienumerable Property In Routevalues Of Actionlink

Imagine an object defined like : public class MyViewModel{ public List MyList { get; set; } } … Read more Passing Ienumerable Property In Routevalues Of Actionlink

Double Input Mvc Extension

Here I was trying to make an extension with double input boxes the returned model's properties … Read more Double Input Mvc Extension

Using @section Inside Razor Helper

We are trying to setup Sections of our layout to be Required but configurable based on the individu… Read more Using @section Inside Razor Helper

Capture Wrapped Content In Beginform Style Disposable Html Helper

I am trying to write a BeginForm style html helper that uses IDisposable to wrap other code. I want… Read more Capture Wrapped Content In Beginform Style Disposable Html Helper

Update .html With @html Helper Dropdownlist

MVC4, C#, jQuery, Razor view (.cshtml) I'm trying to update the .html() of a node with a @HTML… Read more Update .html With @html Helper Dropdownlist