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
585
Triggering Async postback in UpdatePanel containing WebDropDown on WebTab SelectedIndexChanged
posted

Sorry for the wordy title, but it seemed the best way to describe the issue.

Basically, we have a WebDropDown inside an update panel, whose current value we want to change depending on what WebTab is loaded. We've tried handling the WebTab SelectedIndexChanged event to modify this value, but the update panel doesn't get an Async postback triggered. This is after adding the WebTab as an async postback trigger inside the UpdatePanel too.

I finally got it to work by calling __doPostBack via clicking a button on the ClientEvents-SelectedIndexChanged event, but now I'm presented with this error everytime I change a tab:

Error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type

Any ideas as to what is causing this issue?

Parents
No Data
Reply
  • 17590
    Offline posted

    Hello Alex,

    Thank you for posting in our community.

    I followed the described scenario but I was unable to reproduce the behavior that you are describing. I am attaching the sample project I used to test this. Could you please try running it on your side; whether or not it works correctly may help indicate the nature of this issue.

    If this sample is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me in order to reproduce the issue.

    Please let me know if you have any additional questions regarding this matter.

    WebTabSelectionChangesWebDropDownSekection.zip
Children