Hello. I present a simplified version of the implementation in which I found this problem.
Let's suppose I have a user control, called Redirector, which only has a link button for markup, and who's job it is to redirect to a certain page:
I want to put this on a page, inside of a RadWindow, along with some other controls. Here's the markup for my page:
And here is the code-behind for the page:
If the user opens the RadWindow and immediately clicks the linkbutton, Page.Redirect() happens with no problem. However, if the user first clicks on btnPostback, and then clicks the linkbutton, the InnerAjaxPanel throws a javascript error.
Microsoft JScript runtime error: Unable to get value of the property '_events': object is null or undefined
Could you please look into this and let me know what is causing the problem, and how I could fix it?
Thank you.