Category "razor"

Select items in multiselect dropdown list MVC3 jquery

How can i set values in a multiselect dropdownlist using jquery.I am using MVC3 Razor view to display the multiselect dropdown and using http://quasipartikel.a

Using Razor within JavaScript

Is it possible or is there a workaround to use Razor syntax within JavaScript that is in a view (cshtml)? I am trying to add markers to a Google map... For exa

mvc 4 Model is null

i'm using razor's listboxfor for the first time, but my Model is always null. after reading similar posts and tryouts it still won't work. Person.cshtml @mode