This is a migrated thread and some comments may be shown as answers.

External content on a sliding pane

5 Answers 129 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
jorge
Top achievements
Rank 1
jorge asked on 18 Mar 2008, 10:50 PM
Is there something equivalent to ContentUrl for the RadSlidingPane?

Jorge

5 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 19 Mar 2008, 11:22 AM
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
0
Jonathan
Top achievements
Rank 1
answered on 25 Jul 2008, 07:24 AM
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,
0
Svetlina Anati
Telerik team
answered on 28 Jul 2008, 03:34 PM
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.
0
Ron
Top achievements
Rank 1
answered on 18 Dec 2008, 03:44 PM
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.
0
Svetlina Anati
Telerik team
answered on 22 Dec 2008, 10:31 AM
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.
Tags
Splitter
Asked by
jorge
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Jonathan
Top achievements
Rank 1
Ron
Top achievements
Rank 1
Share this question
or