Hi,
I have a drop down list outside of the jqgrid. When toggled this grid sets an ID with populates the Jqgrid. This works fine and so does editing in the dialog box. The problem arises when I try to add a new row. I use editData to send the DistrictID, however the value is always empty. If I hard code a number in then editData works, so it has something to do with reading the form value. I am new to jqgrid, so would really appreciate the help. Here is the code (noted where only a hardcoded number works and the form field fails):
District Name: @Html.DropDownListFor(m => m.DistrictDirectorID, new SelectList(Model.DistrictList, “Value”, “Text”), ”
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top