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

Inserting RadToolbar inside Rad Tab

1 Answer 38 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Abid
Top achievements
Rank 1
Abid asked on 02 Aug 2011, 11:49 AM
I have my Tabstrip which code is : 

<telerik:RadTabStrip ID="RadTabStrip2" runat="server" Orientation="VerticalLeft"
                                SelectedIndex="1" MultiPageID="RadMultiPage2" Width="10%">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="Batch" PageViewID="RadPageView2" CssClass="border">
                                    </telerik:RadTab>
                                    <telerik:RadTab runat="server" Text="Address" OuterCssClass="new" CssClass="border"
                                        Selected="True">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTabStrip>


My Question is that i want to insert a RadToolbar and a RadGrid on click of Batch which is inside RadTabStrip.. how can i do this?

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 05 Aug 2011, 11:20 AM
Hi Abid,

The best approach that I would recommend is to place the RadToolBar and the RadGrid control in a RadMultiPage with the respective RadPageView. Thus, they will load with the RadPageView that is assigned to the RadTab. However, if you explicitly need to insert them on clicking of the tab you could use the TabClick server-side event or the OnClientTabSelecting client-side event depending on your requirements.

Best wishes,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TabStrip
Asked by
Abid
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or