Hello,
I am adding Tabs via client functions but I am not sure how to go about adding PageView to my MultiPage control so that I can also add content to the Tab. I could not find any samples, would appreciate any help and sample code.
I am adding Tabs via client functions but I am not sure how to go about adding PageView to my MultiPage control so that I can also add content to the Tab. I could not find any samples, would appreciate any help and sample code.
function addTab() |
{ |
//Adds the tab to the Tabs Collection of the selected tab |
var persistChanges = true; |
var tabStrip = $find("<%= RadTabStrip1.ClientID %>"); |
var selectedTab = tabStrip.get_selectedTab(); |
var test = arguments[0]; |
alert(test); |
if (persistChanges) |
tabStrip.trackChanges(); |
var tab = new Telerik.Web.UI.RadTab(); |
//selectedTab.get_tabs().add(tab); |
tabStrip.get_tabs().add(tab); |
//tab.set_text("Child Tab " + selectedTab.get_tabs().get_count()); |
var pageView = new Telerik.Web.UI.PageView(); // DOES NOT WORK |
var multiPage = $find("<%= RadMultiPage1.ClientID %>"); |
if (persistChanges) |
tabStrip.commitChanges(); |
return false; |
} |