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

[Solved] RadSplitter in MasterPage

3 Answers 155 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
AFS-Software
Top achievements
Rank 1
AFS-Software asked on 20 Nov 2009, 11:27 AM
Hi,
I put a RadSplitter onto a MasterPage. On the left side there is a navigation menu. If you click on an item of the menu, it will open the content on the right side next to the navigation menu. Now I want to open a link not next to the menu, but I want to redirect to a complete new website.

How can I fix it?

For example:
Login at http://www.afs-software.com/webcrm with user "Peter" and password "Peter". Now you click on "Abmelden" in the navigation-menu. The content is shown in the content area but I want to redirect to http://www.afs-software.com/webcrm/Default.aspx.


Greets Marco

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 24 Nov 2009, 01:34 PM
Hello Arno,

I examined the provided url and its source code and I noticed that you actually programmatically load the page in the pane using the following script:

<script type="text/javascript">
       function OnClientItemClickedHandler(sender, args) {
           var item = args.get_item();
           var value = item.get_value();
           var splitter = $find("ctl00_RadSplitter2");
           var pane = $find("ctl00_paneContent");
           pane.set_contentUrl(value);  
       }  
   </script> 

This script is executed when an item is clicked and it sets the url to be loaded in the pane. If you do not want to do so, you should not execute this for certain items, e.g check the item and if you do not want to put the content page in the pane simply call return.


Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marco
Top achievements
Rank 1
answered on 14 Dec 2009, 02:55 PM
Thank you, Svetlina. :-)
0
Svetlina Anati
Telerik team
answered on 14 Dec 2009, 03:02 PM
Hello Arno,

I am glad I could help! In case you experience any further problems or you have additional questions, do not hesitate to contact us again!

Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Splitter
Asked by
AFS-Software
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Marco
Top achievements
Rank 1
Share this question
or