RadSplitter in MasterPage

4 posts, 0 answers
  1. AFS-Software
    AFS-Software avatar
    1 posts
    Member since:
    Oct 2007

    Posted 20 Nov 2009 Link to this post

    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
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 24 Nov 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marco
    Marco avatar
    3 posts
    Member since:
    Jan 2008

    Posted 14 Dec 2009 Link to this post

    Thank you, Svetlina. :-)
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 14 Dec 2009 Link to this post

    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.
Back to Top