I strongly advise that you start by examining the following help article that explains how to open RadWindows: http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html
The key points related to your code are:
- you need to use $find()
instead of document.getElementById();
- it is advisable to use the ClientID
from the server via server code blocks to accommodate for ID changes by ASP.
- you should cancel the postback from the button by adding a return false;
statement to the script.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.