We have a RadTabStrip + RadMultiPage on our main page. The menu system is loaded once and the menu items create the tabs + corresponding pageview in javascript (i.e. completely client-side). The pages being loaded are full .aspx pages, i.e. the multipage is being used as a tabbed MDI.
However we're having major issues with the client-side pageview function set_contentUrl.
It does not appear to function well at all. No content is displayed in the pageview at all. However I do believe it is trying to load the page. If I change the url to a secure website with an invalid certificate I can the security warning in IE that the content is being blocked.
If I ignore the set_contentUrl and build the iframe myself (as below), it works perfectly.
Is there something I'm missing in the first example, or can't I do that at client-side with the pageview.
However we're having major issues with the client-side pageview function set_contentUrl.
// add the tabvar tab = new Telerik.Web.UI.RadTab();tab.set_text(name);mainTabStrip.trackChanges();mainTabStrip.get_tabs().add(tab);mainTabStrip.commitChanges();// add the multiview var pageView = new Telerik.Web.UI.RadPageView();pageView.set_contentUrl(url);mainMultiPage.trackChanges();mainMultiPage.get_pageViews().add(pageView);pageView.get_element().id = ("PageView_" + pvCnt);pvCnt += 1mainMultiPage.commitChanges();It does not appear to function well at all. No content is displayed in the pageview at all. However I do believe it is trying to load the page. If I change the url to a secure website with an invalid certificate I can the security warning in IE that the content is being blocked.
If I ignore the set_contentUrl and build the iframe myself (as below), it works perfectly.
var tab = new Telerik.Web.UI.RadTab();tab.set_text(name);mainTabStrip.trackChanges();mainTabStrip.get_tabs().add(tab);mainTabStrip.commitChanges();// add the multiview var pageView = new Telerik.Web.UI.RadPageView();mainMultiPage.trackChanges();mainMultiPage.get_pageViews().add(pageView);pageView.get_element().id = ("PageView_" + pvCnt);pvCnt += 1pageView.get_element().innerHTML = "<iframe src=\""+ url + "\" frameBorder=\"0\" style=\"width: 100%; height: 100%;\"></iframe>";mainMultiPage.commitChanges();Is there something I'm missing in the first example, or can't I do that at client-side with the pageview.