Hello,
I have a problem with RadScriptManager
I have an exisiting ASP.Net Web Forms web application.
There is Default.aspx and used Main.Master master page
I did the necessary to integrate Telerik UI Web correctly.
In the master page there is <asp:ScriptManager ID="ScriptManager...
and in the Default.aspx I added <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
and <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
and <telerik:RadWindowManager RenderMode="Lightweight"....
and <button onclick="openReqForm(); return false;">hello</button>
in code behind:
string fctOpenReqForm = "<script type=\"text/javascript\">function openWin {var oWnd = radopen(\"Request.aspx\", \"RadWindow1\"); } </script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "openReqForm", fctOpenReqForm);
When I execute I have an error message: "Only one instance of script manager can be added to the page...
I need to add a Telerik button and other telerik things to the page and use javascript methods...
Any help? thanks