This is a migrated thread and some comments may be shown as answers.

Ajax Update Tabs Views

1 Answer 81 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Felipe Saldana
Top achievements
Rank 1
Felipe Saldana asked on 04 Feb 2009, 05:14 PM
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.

1 Answer, 1 is accepted

Sort by
0
Felipe Saldana
Top achievements
Rank 1
answered on 04 Feb 2009, 05:51 PM
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.
Tags
TabStrip
Asked by
Felipe Saldana
Top achievements
Rank 1
Answers by
Felipe Saldana
Top achievements
Rank 1
Share this question
or