Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to disable the page refresh due to activeTabChange of TabContainer inside UpdatePanel?

How to disable the page refresh due to activeTabChange of TabContainer inside UpdatePanel?

Scheduled Pinned Locked Moved ASP.NET
questionwinformssysadmintutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mittalpa
    wrote on last edited by
    #1

    Hi I am using AJAX TabContainer control with following settings. When I change a tab the postback happens and whole page refreshes. Because AutoPostBack="true"> . To AJAxify the behavior, I added UpdatePanel around it but still the page is refreshing. The control need to go to server because user controls contains some grids which need to be populated. <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <asp:UpdatePanel ID="upTLTop" runat="server" UpdateMode="Conditional"> <ContentTemplate> <AjaxCT:TabContainer ID="tcProducts" runat="server" ActiveTabIndex="0" Style="height: 100%; vertical-align: top; margin: 0px; padding: 0px;" OnActiveTabChanged="Products_OnActiveTabChanged" AutoPostBack="true"> <AjaxCT:TabPanel runat="server" HeaderText="MBS" ID="pnlMBS"> <ContentTemplate> <uc1:ucA ID="ucA1" runat="server" /> </ContentTemplate> </AjaxCT:TabPanel> <AjaxCT:TabPanel runat="server" HeaderText="ABS" ID="TabPanel1"> <ContentTemplate> <uc2:ucB ID="ucB1" runat="server" /> </ContentTemplate> </AjaxCT:TabPanel> </AjaxCT:TabContainer> </ContentTemplate> </asp:UpdatePanel> How can I disable the page refresh and at the same time server side operation happens in this case? Please advise. Thanks AJ

    Follow your goals, Means will follow you ---Gandhi---

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups