I think that I am missing something. I need to be able to specify a relative URL for the NavigateURL property in the WebDateMenu. Could someone point out how to do that? The designer is not fond of this:
<ig:WebDataMenu ID="WebDataMenu1" runat="server" StyleSetName="WestonBlue"> <GroupSettings Orientation="Horizontal" /> <Items> <ig:DataMenuItem Text="Administration"> <Items> <ig:DataMenuItem Text="Expense Guidelines" NavigateUrl="~/Processing/TDD_Processing.aspx"> </ig:DataMenuItem> </Items> </ig:DataMenuItem>
</Items> </ig:WebDataMenu>
Thanks Maya,
Yes, I have discovered also that the menu is content with using "~/" during run time, but not design time. I can sort of understand it as the designer might not be able to figure out that value, but in reality, does it really need to? You would think that the designer could just display the path in text and we would know that it is fine.
Hello Alan,
Thank you for posting in our forum.
You can use syntax like this:
NavigateUrl="Processing/Default2.aspx"
Which would search in the current directory.
You can also use NavigateUrl="/Processing/Default2.aspx" which would search for the Processing folder in the server root.
Generally “~” is also supported and works as expected. For some reason however the designer can’t resolve the url.
I’ll log this as a development issue and will provide you the development issue number so that you may follow up on its progress.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support