Hi Naupad,
Please make sure that the syntax is correct - i.e. there isn't a typing mistake in the event handlers names. You can see a list
here. You should also make sure that you only pass the function name to the property, without parentheses. I can also advise that you check if you have any JavaScript errors on the page as they are often a reason for such behavior. Any error breaks the browser's JS engine and no more scripts are executed. You should also confirm which is the window that does not fire its events and if it has been opened and closed before, as DestroyOnClose would also remove the event handlers since the RadWindow that has them attached no longer exists. You can try settings this property to false, especially if you wish to open and close this RadWindow multiple times while persisting its configuration. An alternative is to
add the needed handlers when you open its via JavaScript, which will allow you to keep the DestroyOnClose. If you are still unable to resolve this please post the relevant code along with the steps needed to reproduce the issue so we can see what the problem is. Also, if you have the AjaxControlToolki assembly in this project I suggest you remove it and test again, as it often outputs wrong MS AJAX scripts that can break our controls.
Greetings,
Marin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>