Hi,
I am using a Infragistics"Infragistics4.Web.v12.1" webdropdown. After selecting a value from the webdropdown, when control goes to code-behind file, then
I am trying to access the current value of the webdropdown by using the below code:
webdropdown1.CurrentValue
This value is coming as empty. Why the webdropdown is not able to persist the value. The selecteditemindex is coming as -1.
I have seen several users facing this issue while searching for this issue on Internet but there was no proper solution.
This issue has been resolved. I was getting few javascript errors due to "thefom not defined". After removing the <xhtmlConformance mode="Legacy" /> option from web.config, issue related to "theform not defined" got resolved and subsequently, the value persistence issue also went off.
Thanks,
Sunil Mehta.
Hello Sunil,
Thank you for contacting Infragistics!
I am glad to see you were able to solve the issue. Please let me know if there is anything else we can help you with.
Sincerely,Jon Infragistics, Inc. <http://es.infragistics.com/support/get-help.aspx>