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

Navigate URL path is changed during render

1 Answer 71 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Eugene Goldfarb
Top achievements
Rank 1
Eugene Goldfarb asked on 03 Nov 2009, 07:49 PM
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?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 04 Nov 2009, 11:33 AM
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.
"~/Common/Desktop/ClaimHistory/CHSearch.aspx".

Regards,
Albert,
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
Menu
Asked by
Eugene Goldfarb
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or