RadFormDecorator and RadMultiPage

2 posts, 0 answers
  1. Orlando
    Orlando avatar
    5 posts
    Member since:
    Jun 2011

    Posted 03 Jul 2012 Link to this post

    Hello, i need to know if is possible that FormDecorator change the style of the pages of the multipage. i have a tabstrip with multipage and a radpageview. The tabs has contenturl that is loaded dynamically  when clicks the tab. How can i put a formdecorator in this case?

    here some code 

    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" Height="75px" Width="75px">
    <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" CssClass="tabStrip" runat="server"
        MultiPageID="RadMultiPage1" Skin="Default" AutoPostBack="true" ShowBaseLine="True"
        ClickSelectedTab="True" OnTabClick="RadTabStrip1_TabClick">
    <telerik:RadAjaxManager runat="server" ID="RadAjaxManagerProxy1">
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
            <telerik:AjaxSetting AjaxControlID="RadMultiPage1">
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="radMultiPage"
        BorderColor="Azure" BorderWidth="1" Height="99%" Width="100%">
        <telerik:RadPageView ID="RadPageView1" runat="server" Height="100%" Width="100%">
    <telerik:RadScriptBlock ID="radscriptBlock" runat="server">
        <script type="text/javascript">
            setTimeout("setPanelHeight()", 0);
            function setPanelHeight() {
                var heightTab = 0;
                heightTab = $("#ctl00_cphWorkWindow_tabStrip_ctl00_cphWorkWindow_tabStrip_RadTabStrip1Panel").outerHeight();
                var height = $(window).height();
                $("#ctl00_cphWorkWindow_tabStrip_ctl00_cphWorkWindow_tabStrip_RadMultiPage1Panel").height(height - heightTab - 80);


  2. Rumen
    Rumen avatar
    14144 posts

    Posted 06 Jul 2012 Link to this post


    The requested feature is not supported by RadFormDecorator because the ContentUrl property loads another page in the RadPageView's iframe container. Since the page is loaded from another location/site, it is not allowed by the browser itself to modify via CSS or JavaScript the stylesheet of the other site.

    Best regards,
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Back to Top