Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
WebTab Update Issue
posted

I have a page with a webTab, and each tab references a new page.  Page #1 (default page) has a textbox and a search button.  When I click 'search', a gridview on tab #3 ("Activity") is populated using the textbox data as search criteria for a database table.  

<div id="content">
  <ig:WebTab ID="wtWctr" runat="server" CssClasses-CssClass="CenterScreen" Width="1100px" Height="850px">
    <%--  <AutoPostBackFlags SelectedIndexChanged="On" />--%>
    <Tabs>
      <ig:ContentTabItem runat="server" ContentUrl="Wctr_Inquiry_Update.aspx?Header=False" Key="tabInquiry" Text="Inquiry"/>
      <ig:ContentTabItem runat="server" Hidden="True" Key="tabExceptions" Text="Exceptions"/>
      <ig:ContentTabItem runat="server" ContentUrl="Wctr_Activity.aspx?Header=False" Key="tabActivity" Text="Activity" EnableLoadOnDemandUrl="True"/>
      <ig:ContentTabItem runat="server" Hidden="True" Key="tabRates" Text="Rates" CssClass="tabHeight" />
      <ig:ContentTabItem runat="server" ContentUrl="Wctr_Machine_Types.aspx?Header=False" Key="tabMachineTypes" Text="Machine Types"/>
      <ig:ContentTabItem runat="server" ContentUrl="Wctr_Types.aspx?Header=False" Key="tabWctrTypes" Text="Wctr Types"/>
      <ig:ContentTabItem runat="server" ContentUrl="MassWctrUpdate.aspx" Key="tabMassWctrUpdate" Text="Mass Wctr Update"/>
    </Tabs>
  </ig:WebTab>
</div>

When I do a search and then click to tab #3, it works fine.  

When I return to tab #1, do another search, and switch to tab #3, the data from the original search persists.

If I add <AutoPostBackFlags SelectedIndexChanged="On" /> to the WebTab, every screen posts back twice, making the screen display the data, flash, and display the data again. I have tried encompassing the webTab in an update panel, changed the postback flag to async, and tried every combination of the EnableLoadOnDemand functions that the webTab has to offer.  How do I resolve this?  

Parents Reply Children
No Data