Hi,
I am getting the above error when trying to run my application. I have AJAX Control Toolkit 3.5 April 2010 Release and RadControls for ASP.NET AJAX Q1 2010 NET3.5 installed. I am using a RadScriptManager in my MasterPage as shown below:
My web.config has the following sections:
The only solution I have found is to replace the RadScriptManager with the ToolkitScriptManager, but I then get the following error:
"Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder2_RadMultiPage1' can't be added to the application."
There is only one control named RadMultiPage1 in the application.
Hope someone can help.
I am getting the above error when trying to run my application. I have AJAX Control Toolkit 3.5 April 2010 Release and RadControls for ASP.NET AJAX Q1 2010 NET3.5 installed. I am using a RadScriptManager in my MasterPage as shown below:
| <body> |
| <form id="form1" runat="server"> |
| <div style="text-align: center; padding-top: 5px;"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"/> |
| <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"/> |
My web.config has the following sections:
| <pages> |
| <controls> |
| <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| </controls> |
| </pages> |
| <httpHandlers> |
| <remove verb="*" path="*.asmx"/> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> |
| <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> |
| </httpHandlers> |
| <httpModules> |
| <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
| </httpModules> |
The only solution I have found is to replace the RadScriptManager with the ToolkitScriptManager, but I then get the following error:
"Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder2_RadMultiPage1' can't be added to the application."
There is only one control named RadMultiPage1 in the application.
Hope someone can help.