Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6717647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:52:37+00:00 2026-05-26T08:52:37+00:00

I have a need to either have multiple script managers on a page or

  • 0

I have a need to either have multiple script managers on a page or the ability to hide/remove one after the page is generated. The reason for this is because of some iframe workarounds for the iPad. My code is posted below, sorry for the long code block. Thanks for any help you can offer.

Main Page:

<html>
<body>
<telerik:RadScriptManager ID="ScriptManager1" runat="server">
  <Scripts>
    <asp:ScriptReference Path="javascript/jquery.js" />
    <asp:ScriptReference Path="javascript/enforceMaxlength.js" />
  </Scripts>
</telerik:RadScriptManager>

<telerik:RadSplitter ID="rsMain" runat="server" Orientation="Vertical" Width="100%" BorderSize="0" PanesBorderSize="0" ResizeWithBrowserWindow="true">
  <telerik:RadPane id="rpContent" runat="server">
    <cc1:ScrollingIFrame id="sifMainContent" runat="server" Width="100%" Height="100%" />
  </telerik:RadPane>
</telerik:RadSplitter>

</body>
</html>

ScrollingIFrame User Control:

<div id="theDiv" runat="server" style="position:relative; overflow:auto"></div>

<script type="text/javascript" charset="utf-8">
  $('#<%= theDiv.ClientID %>').load('TestPage.aspx', function () {});
</script>

TestPage.aspx:

<html>
<body>
  <form id="form1" runat="server">
    <div>
      <telerik:RadScriptManager ID="ScriptManager1" runat="server" />

      [A Bunch of Dynamically Generated Controls That Require a ScriptManager...]

    </div>
  </form>
</body>
</html>

Just to clarify, the final output page ends up being a resolved version of this:
(Notice the two script managers on the same page)

<html>
<body>
<form id="mainForm" runat="server">

<telerik:RadScriptManager ID="ScriptManager1" runat="server">
  <Scripts>
    <asp:ScriptReference Path="javascript/jquery.js" />
    <asp:ScriptReference Path="javascript/enforceMaxlength.js" />
  </Scripts>
</telerik:RadScriptManager>

<telerik:RadSplitter ID="rsMain" runat="server" Orientation="Vertical" Width="100%" BorderSize="0" PanesBorderSize="0" ResizeWithBrowserWindow="true">
  <telerik:RadPane id="rpContent" runat="server">
    <div id="theDiv" runat="server" style="position:relative; overflow:auto">
      <form id="form1" runat="server">
        <div>
          <telerik:RadScriptManager ID="ScriptManager1" runat="server" />

          [A Bunch of Dynamically Generated Controls That Require a ScriptManager...]

        </div>
      </form>
    </div>
  </telerik:RadPane>
</telerik:RadSplitter>

</form>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:52:37+00:00Added an answer on May 26, 2026 at 8:52 am

    You must have only one script manager instance on a page. In your case, you are trying to combine two pages into one, which means that the two script managers will override each other’s scripts. You need to remove the RadScriptManager control from the inner page and leave only the one in the main page. To prevent server errors with the RadControls in the inner page, you should set RegisterWithScriptManager=false for each control in the TestPage.aspx inner page. With this property, the controls will render everything they need and rely that you have a ScriptManager somewhere else (in this case on the main page).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have need to return multiple results from a subquery and have been unable
I have need to pack four signed bytes into 32-bit integral type. this is
I have a C++ solution in VS2008 with multiple projects. This solution contains files
I have a simple python server script which forks off multiple instances (say N)
I have a python script that takes input using a pattern like this: 1**
I'm not an expert with either System.Data nor SQL Server, but have a need
I have a piece of logic that I need to execute either once or
I have a string like this that I need to parse into a 2D
I'm working on a Java project where I need to have multiple tasks running
I have Multiple ActionResults in my Controller. Almost all of them process either AjaxRequest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.