I want to dynamically add RadPages and Radtab on the clientside. I dont know if this is possible because there isn't much documentation on this subject.
This is what i got so far:
var
multipage = $find(
'multipage'
);
var
page =
new
Telerik.Web.UI.RadPageView();
var
tab =
new
Telerik.Web.UI.RadTab();
tab.set_text(
"New Tab"
);
multipage.get_pageViews().add(page);
$find(
'tabstrip'
).get_tabs().add(tab);
I got a new tab on my tabstrip and in the html i see a empty div element for my multipage.
When i click the tab, it doesn't open the page. Am i missing something here?