Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
"server"
MultiPageID
"RadMultiPage1"
>
Tabs
telerik:RadTab
Text
"Root Tab 1"
PageViewID
"PageView1"
/>
"Root Tab 2"
"PageView2"
"Root Tab 3"
"PageView3"
</
telerik:RadMultiPage
telerik:RadPageView
>PageView 1</
>PageView 2</
>PageView 3</
"PageView4"
>PageView 4</
input
type
"button"
onclick
"AddSampleTab()"
value
"Add New Tab"
<script type=
"text/javascript"
function
AddSampleTab() {
var
tabstrip = $find(
'<%=RadTabStrip1.ClientID%>'
);
tab =
new
Telerik.Web.UI.RadTab();
tab.set_text(
"Root Tab 4"
tabstrip.trackChanges();
tabstrip.get_tabs().add(tab);
tabstrip.commitChanges();
multiPage = $find(
'<%=RadMultiPage1.ClientID%>'
fourthPageView = multiPage.get_pageViews().getPageView(3)
tab.PageViewId =
;
tab.PageViewClientID = fourthPageView.ClientID;
tabstrip.set_selectedIndex(3);
}
</script>