By default, ASP.Net form submission will not pass back disabled field during postback. To get around this, we can set the form property "submitdisabledcontrols" to true and it will pass back the value of a disabled field. However I am having a problem with an Ajax postback as it does not contain the updated value of a disable field.
For example, I have a disabled checkbox when the form load. Through javascript, I enable the checkbox. Then I fire an event that makes an Ajax call to lookup a value. The Ajax call does a server side postback but the state of the checkbox is disabled.
Please help. Thanks.
For example, I have a disabled checkbox when the form load. Through javascript, I enable the checkbox. Then I fire an event that makes an Ajax call to lookup a value. The Ajax call does a server side postback but the state of the checkbox is disabled.
Please help. Thanks.