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

Mvc3 Html.beginform - Passing Arguments As Routevaluedictionary Fails

I have a multi-step setup process where I would like to pass query string arguments appended to the… Read more Mvc3 Html.beginform - Passing Arguments As Routevaluedictionary Fails

Renderpartial And Viewbag

I'm trying to modify this code: http://www.codeproject.com/Articles/260470/PDF-reporting-using-… Read more Renderpartial And Viewbag

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

Custom Html Helpers In Asp.net Mvc 2

I want to create a pagination helper. The only parameters that it needs are currentpage, pagecount … Read more Custom Html Helpers In Asp.net Mvc 2

Using Html.dropdownlist Over A Selectlist

I have the following code inside my model class :- public class PageOptions { public Pa… Read more Using Html.dropdownlist Over A Selectlist

What Html Helper Do I Use To Create A Simple Dropdownlist That Doesn't Take In Any Variables?

I want to have a simple select->option dropdown list that I am not passing any (SelectItem colle… Read more What Html Helper Do I Use To Create A Simple Dropdownlist That Doesn't Take In Any Variables?

Ilspy (a.k.a. .net Reflector) Shows A Method As Just Calling Itself, Why?

When passing anonymous types to an HtmlHelper method like TextBox, you'll get binding errors (b… Read more Ilspy (a.k.a. .net Reflector) Shows A Method As Just Calling Itself, Why?

Inline Helpers And Page Output - How?

I have an HtmlHelper function that returns a MvcHtmlString and which I'd like to call in an inl… Read more Inline Helpers And Page Output - How?