Navigate URL path is changed during render

2 posts, 0 answers
  1. Eugene Goldfarb
    Eugene Goldfarb avatar
    2 posts
    Member since:
    Oct 2009

    Posted 03 Nov 2009 Link to this post

    I am using a Rad Menu inside of a user control.  When I set the NavigateURL property on the RadMenuITeam to "../../Desktop/ClaimHistory/CHSearch.aspx" the control will change the path to "../../Common/Desktop/ClaimHistory/CHSearch.aspx" during render.  I am setting the  menu's items on the server.

    The user control that the Menu sits in is Common folder but all of the target pages on all of the menu items are not.  What can do to prevent the Menu from inserting the common folder into the Navigate URL?
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 04 Nov 2009 Link to this post

    Hello Eugene Goldfarb,

    RadMenu is using the ResolveClientUrl method before rendering the NavigateUrl. This is normal behavior of controls which output URL values. I recommend you use application relative url so it is correctly generated e.g.

    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