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 7966441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:25:38+00:00 2026-06-04T06:25:38+00:00

I use scriptManager in masterpage, because every content page is to be ajxify. In

  • 0

I use scriptManager in masterpage, because every content page is to be ajxify.

In content page, I use UpdatePanel and everything work fine but in case of content page where I use TabCOntainer, each time when I move from one tab to another tab, page is full postback.

Here one thing I notice that when I remove ScriptManager from master page and use in contentPage then tabContainer works fine.

What will be possible solution for such type condition?

MASTERPAGE

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 <html xmlns="http://www.w3.org/1999/xhtml">

 <head id="Head1" runat="server">
 </head>

 <body>

   <form id="form1" runat="server">

  <asp:ScriptManager ID="ScriptManager1" runat="server">
   </asp:ScriptManager>

 <asp:UpdatePanel ID="UpdatePanel_Register" runat="server">
     <ContentTemplate>
        //Update Panel work at Master Page
      </ContentTemplate>
</asp:UpdatePanel>


           <asp:ContentPlaceHolder ID="showcase" runat="server">

            </asp:ContentPlaceHolder>

CONTENTPAGE

 <%@ Page Title="" Language="C#" MasterPageFile="~/MasterDashBoard.master" AutoEventWireup="true"
CodeFile="messages.aspx.cs" Inherits="messages" %>

  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

   <asp:UpdatePanel ID="UpdatePanel_msg" runat="server" >

      <ContentTemplate>

        <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" AutoPostBack="True"
                        OnActiveTabChanged="TabContainer1_ActiveTabChanged">

           <cc1:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1" ToolTip="Compose Message">

               <HeaderTemplate>
                                Compose
               </HeaderTemplate>

               <ContentTemplate>
                        Some Work

               </ContentTemplate>

   </cc1:TabPanel>

       <cc1:TabPanel runat="server" HeaderText="TabPanel2" ID="TabPanel2">

                <HeaderTemplate>
                                inbox
                </HeaderTemplate>

                 <ContentTemplate>
            SOme Work
                 </ContentTemplate>
        </cc1:TabPanel>

      </cc1:TabContainer>
    </ContentTemplate>
 </asp:UpdatePanel>

  • 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-06-04T06:25:39+00:00Added an answer on June 4, 2026 at 6:25 am

    I have a similar use case and set UpdateMode="Conditional", ChildrenAsTriggers="true" and use AsyncPostbackTriggers for the ActiveTabChanged event. In the ActiveTabChanged event handler i switch visibility of the containing controls and call Update on the according UpdatePanel and finally on the surrounding UpdatePanel. This allows furthermore to lazy-load the Tabs by loading their content only when needed.

    <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        </asp:ScriptManagerProxy>
        <div>
            <asp:UpdatePanel ID="UpdTabContainer" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                <ContentTemplate>
                    <asp:TabContainer ID="TabContainer1" runat="server" AutoPostBack="true">
                        <asp:TabPanel ID="TabDeliveryControl" runat="server" HeaderText="Delivery-Control">
                            <HeaderTemplate>
                                <asp:Panel ID="PnlTabDeliveryControl" runat="server" ToolTip="Delivery-Control">
                                    Delivery-Control
                                </asp:Panel>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <SVCS:SVCSDeliveryControl id="SVCSDeliveryControl" runat="server" Visible="false" />
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="TabContainer1" EventName="ActiveTabChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </ContentTemplate>
                        </asp:TabPanel>
                        <asp:TabPanel ID="TabRepair" runat="server" HeaderText="Repair-Area" >
                            <HeaderTemplate>
                                <asp:Panel ID="PnlTabRepair" runat="server" ToolTip="Repair-Area">
                                    Repair-Area
                                </asp:Panel>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <SVCS:SVCSRepair id="SVCSRepair" runat="server" Visible="false" />
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="TabContainer1" EventName="ActiveTabChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </ContentTemplate>
                        </asp:TabPanel>
                        <asp:TabPanel ID="TabShipping" runat="server" HeaderText="Shipping" Visible="false">
                            <HeaderTemplate>
                                <asp:Panel ID="PnlTabShipping" runat="server" ToolTip="Shipping">
                                    Shipping
                                </asp:Panel>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <SVCS:SVCSShipping id="SVCSShipping" runat="server" Visible="false" />
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="TabContainer1" EventName="ActiveTabChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </ContentTemplate>
                        </asp:TabPanel>
                    </asp:TabContainer>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Content>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use ScriptManager in .net Visual Web Developer 2010, but every time
Use case: class MyTask(Task): queue = 'default_queue' def run(self): # do work Normally I
i use ScriptManager.RegisterClientScriptInclude to include js file after partial postback it works fine here
On a masterpage I have my scriptmanager with enablepartialrendering is true. On the page
I use ScriptManager.RegisterStartupScrit from Page_Load and it works perfect. When I move the same
Use case: user clicks the link on a webpage - boom! load of files
use this website a lot but first time posting. My program creates a number
Use case: I've just entered insert mode, and typed some text. Now I want
Use Case When a user goes to my website, they will be confronted with
Use case: Wanna insert custom annotation to fields in java class generated by JAXB

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.