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

radmenu inside Radsplitter and content to appear in the right pane

2 Answers 57 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
xius
Top achievements
Rank 1
xius asked on 06 Jan 2009, 09:22 PM
I want to implement following.

Dynamically create the menu. The menu will be generated from the external data base.

My idea is to use the RadSplitter for my website and there should be two Panels inside splitter appearing horizontally.
On the left pane there will be radmenu which will be created once... and then depending upon the use selection of menu the corresponding url should appear in the right pane ...  That URL can be of internal /relative page or external link such as (http://www.xyz.com).

Is there any example that desribe a similar design ???

I have tried to implent the above and started with radmenu in left pane which is populated at design time statically. The problem is when I click the menu in left pane it opens the URL in a new window. How can I direct that it should open up in the right pane of the RadSplitter ??


thanks



2 Answers, 1 is accepted

Sort by
0
xius
Top achievements
Rank 1
answered on 07 Jan 2009, 03:55 PM
Anyone listening here ?????????
0
Svetlina Anati
Telerik team
answered on 09 Jan 2009, 01:31 PM

Hello Xius,

I suggest to examine the following online demo  which shows a similar scenario:

http://demos.telerik.com/aspnet-ajax/Splitter/Examples/ExternalContentLoading/DefaultCS.aspx

When you set the RadPane's ContentUrl property you actually create an IFRAME element in it and the pane behaves exactly as an IFRAME. This IFRAME is needed to be targeted by the hyperlink. In your case, the initial IFRAME is not created and therefore the needed url cannot be loaded.

This being said in order to use this approach, you should initially set some ContentUrl to the target RadPane (e.g about:blank or a custom start page) in order to force it to create an IFRAME element.


Best wishes,

Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
xius
Top achievements
Rank 1
Answers by
xius
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or