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
225
JScript runtime error for webdatatree
posted

 

Hi,

I have a webdatatree and a dropdown in the same page.for dropdown SelectedIndexChanged event i am getting the following error

Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element.

Please help me.

Parents
No Data
Reply
  • 3726
    posted

    Hi,

    Are you using an update panel? Do you have a web data menu on the page as context menu for the web data tree? I've seen this error when control is placed in update panel and postback is done from the control. But for some reason the control haven't been disposed properly before doing the postback and it stays registered in the update panel's underlying structures. Please upload a sample to debug the control. If you have WebDataMenu inside the update panel upgrade to latest service release and this error would be gone.

    Hope this helps.

    Thanks,

    Lubomir

    ASP.NET Team Lead

Children