My jQuery code hides a ddl under certain circumstances.When this is the case, after submitting the form, using the UpdateModel doesn\'t seem to work consistently.My code in the controller:
I\'m trying to use DataAnnotations to add validation to my models in asp.NET MVC 2 RC2, using TryUpdateModel
I have a table in my DB called CompanyDetails.It has a column called CharacterID varchar(255).I just changed it from a NOT NULL column to a NULL column.I ran the \'Update Model From Database...\' comm
I am trying to implement an audit trail into my application, but because of some requirements I am unable to use any existing gems or plugins.
I have problem with model binding in my ASP.NET MVC 2 RC application that uses NHibernate for data access. We are trying to build the application in a Ruby on Rails way and have a very simple architec
I would like to know how i can bind my form values to my strongly typed view from a MultiSelect box. Obviously when the form submits the multi-select box will submit a delittemered string of my value
In ASP.NET MVC, UpdateModel is dreadfully convenient if not a bit too black box. One of the primary reasons I use ASP.NET MVC, however, is exactly for the insane amount of control I get compared to AS
I\'m trying to use updatemodel(myItem, formcollection) with asp.net mvc 2 but it fails with the stack trace below.
I am having trouble with my Linq2Entities model - I might be missing something obvious here. Here is what I did: