Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1410
Webdropdown not persisting value on server side
posted

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.

Parents
No Data
Reply
  • 1410
    Verified Answer
    posted

    Hi,

    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.

Children