External content on a sliding pane

6 posts, 0 answers
  1. jorge
    jorge avatar
    23 posts
    Member since:
    Apr 2007

    Posted 18 Mar 2008 Link to this post

    Is there something equivalent to ContentUrl for the RadSlidingPane?

    Jorge
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 19 Mar 2008 Link to this post

    Hello jorge,

    There is no such property for the RadSlidingPane control. What I can suggest is to use an IFRAME element and place it inside the sliding pane. Then set the url of the page you need to the src attribute for the IFRAME.
    I hope that this will be helpful.

    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jonathan
    Jonathan avatar
    92 posts
    Member since:
    Feb 2007

    Posted 25 Jul 2008 Link to this post

    Hi,

    I have implemented this, but whatever I do, I cannot get the iframe within the SlidingPane to scroll when the content exceeds the height of the iframe.

    Can you suggest any reason why?

    <telerik:RadPane ID="BottomPane" runat="server" Height="22" Scrolling="Both">  
        <telerik:RadSlidingZone ID="SlidingPane" runat="server" Height="22"  SlideDirection="Top" ClickToOpen="true" DockedPaneId="Pane1">  
        <telerik:RadSlidingPane ID="Pane1" runat="server" Height="250" Title="Notes View" Scrolling="Both">  
            <iframe id="InnerPane1" src="Blahblah.aspx" width="100%" height="100%" frameborder="0" scrolling="yes"></iframe> 
        </telerik:RadSlidingPane> 
        <telerik:RadSlidingPane ID="Pane2" runat="server" Height="150"></telerik:RadSlidingPane> 
        <telerik:RadSlidingPane ID="Pane3" runat="server" Height="150">  
            <iframe id="InnerPane3" width="100%" height="100%" frameborder="0"></iframe> 
        </telerik:RadSlidingPane> 
    </telerik:RadSlidingZone> 
    </telerik:RadPane> 
     


    Thanks,
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 28 Jul 2008 Link to this post

    Hi Jonathan,

    I tried to reproduce the described problem by preparing a test project, based on your code, but unfortunately to no avail. I tested the project both under IE and FF but the scrollbar was generated and the content could be scrolled.

    Would you please examine my test project which is attached and modify it in order to replicate the described problem? Once you succeed in this, please open a new support ticket and send it back to me along with some screenshots. When I receive it, I will do my best to modify it for you in order to meet your requirements.


    All the best,
    Svetlina
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Ron
    Ron avatar
    2 posts
    Member since:
    Mar 2008

    Posted 18 Dec 2008 Link to this post

    Using your recommendation of an iframe within a RadSlidingPane works well.  However, I need the aspx source of the iframe to have a RadAjaxManager so I can use it's OnAjaxRequest to call a server side method.  When I include the RadAjaxManager I get "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." I believe this is due to the way the RadSlidingPane loads. 

    How do you recommend to handle this?  Thanks.
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 22 Dec 2008 Link to this post

    Hello Ron,

    I suggest to wrap the javascript code in a RadCodeBlock control - this should fix the problem.

    Sincerely yours,
    Svetlina
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017