Ajax Update Tabs Views

2 posts, 0 answers
  1. Felipe Saldana
    Felipe Saldana avatar
    62 posts
    Member since:
    Jan 2009

    Posted 04 Feb 2009 Link to this post

    I have a page with two tabs.

    I load all data on the intial page load.  The first tab is fine.

    Data in the second tab toggles certain panels in it depending on the data.
    When I click to go to the second tab the toggled panels do not appear.

    There is a panel ("panelStats") that wraps the data in the second tab.  The second panel displays correctly when other buttons that I have Ajaxified are clicked.

                    <telerik:AjaxSetting AjaxControlID="btnSearch">  
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="gvMessageList" LoadingPanelID="ajaxLoadingPanel" /> 
                            <telerik:AjaxUpdatedControl ControlID="panelStats" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 


    How do Ajaxify the "panelStats" on the inital page load?

    Thanks.
  2. Felipe Saldana
    Felipe Saldana avatar
    62 posts
    Member since:
    Jan 2009

    Posted 04 Feb 2009 Link to this post

    Upon a closer look I have a OnTabCick event set up to was removing my data.

                            <telerik:RadTabStrip runat="server" Skin="WebBlue" ID="radTabStip" MultiPageID="radMultiPage" SelectedIndex="0" Align="Justify" OnTabClick="RadTabStrip1_TabClick">  
                                <Tabs> 
                                    <telerik:RadTab Text="Messages" ></telerik:RadTab> 
                                    <telerik:RadTab Text="Stats"></telerik:RadTab> 
                                </Tabs> 
                            </telerik:RadTabStrip> 

    I apologize for not looking at my own code closer.
Back to Top