I have a RadTabStrip and RadMultipage inside a RadPane like this:
    
In the code behind I have a search button that will search a database and return a DataTable that I am then passing to this function:
    
The search is working fine, and the AddSearchPageView() seems to be adding one tab for each set of results, and the associated pageview. The problem I am having is that only the last tab is showing the RadGrid.
1. I would like to create a new tab for each search, and then the user can select the tab to view those search results.
2. I would also like to know if there is a way to add a close 'x' to the tab that will remove the tab and associated RadPageView
Thank you
                                | <telerik:RadTabStrip ID="RadTabStripSearchResults" runat="server" | 
| SelectedIndex="0" MultiPageID="RadMultiPage1"> | 
| </telerik:RadTabStrip> | 
| <telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="100%" Height="100%"> | 
| </telerik:RadMultiPage> | 
In the code behind I have a search button that will search a database and return a DataTable that I am then passing to this function:
| private void AddSearchPageView(System.Data.DataTable dt) | 
| { | 
| RadTab resultTab = new RadTab("Search " + Session["searchCount"].ToString() + " (" + dt.Rows.Count.ToString() + ")"); | 
| RadPageView pageSearch = new RadPageView(); | 
| //resultTab.PageViewID = pageSearch.ID = "pageSearch" + Session["searchCount"].ToString(); | 
| RadGrid gridResults = new RadGrid(); | 
| System.Data.DataTable dtResults = new System.Data.DataTable(); | 
| dtResults = dt; | 
| gridResults.ID = "gridResults" + Session["searchCount"].ToString(); | 
| gridResults.DataSource = dtResults; | 
| gridResults.DataBind(); | 
| pageSearch.Controls.Add(gridResults); | 
| RadTabStripSearchResults.Tabs.Add(resultTab); | 
| RadMultiPage1.PageViews.Add(pageSearch); | 
| RadTabStripSearchResults.SelectedIndex = RadMultiPage1.SelectedIndex = RadMultiPage1.PageViews.Count - 1; | 
| } | 
The search is working fine, and the AddSearchPageView() seems to be adding one tab for each set of results, and the associated pageview. The problem I am having is that only the last tab is showing the RadGrid.
1. I would like to create a new tab for each search, and then the user can select the tab to view those search results.
2. I would also like to know if there is a way to add a close 'x' to the tab that will remove the tab and associated RadPageView
Thank you
