Hi guys,
I suggest to improve the sample code Princy provided in the following manner:
1) Use ScriptManager instead of ClientScript - this will handle more scenarios, e.g when an AJAX request was made.
2) Since your js function already has a name, it is not needed to wrap it the additional named f function.
With the above your code will look like the following:
js in aspx:
code-behind:
You can find a more detailed article about opening RadWindow from the server below:
http://www.telerik.com/help/aspnet-ajax/radwindow-troubleshooting-opening-from-server.html
I hope that my reply is helpful, let me know how it goes.
Kind regards,
Svetlina Anati
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>