sharepoint 2010 formfield diabled dropdown loosing value on postback
Posted on 2012-04-03
Hi I have a diabled dropdown(formfield) in sharepoint. When I submit the form on postback it is loosing it's values. I disable it on client-side using JQuery.
My case is I want to disable a section on form, so using Jquery i apply css readonly on textboxes and add attribute .attr("disabled","disabled") to dropdown.
After post back I see blank dropdown(disabled). May be it has values but Index is set to zero. It should retain the first time binded selection as form is in Edit Mode.