so I've use radwindow alot but now i have a case where the window opens and closes immediately, various threads say to do this in order to cancel the post back "(); return false;" like this:
<telerik:RadButton ID="btnNew" runat="server" OnClientClicked="ShowLectureAuthor(); return false;" Text="New" ToolTip="Create New File" Skin="Telerik"> <Icon PrimaryIconUrl="~/images/fileimages/AddRecord.gif" PrimaryIconLeft="5px" /> <Icon PrimaryIconUrl="~/images/fileimages/AddRecord.gif" PrimaryIconLeft="5px"></Icon> </telerik:RadButton> the javascript which works, looks like this:function ShowLectureAuthor() { var oWindow = window.radopen("Admin-Lecture-Author.aspx", null); oWindow.SetTitle("Author Document"); oWindow.SetModal(true);} when I add the (); return false; I get errors on page load and none of the buttons work: Webpage error details
Message: Expected '}'
Line: 762
Char: 421
Code: 0
Really confused , thanks in advance