Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3521
WebDataMenu with a relative URL
posted

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>

Parents
  • 29417
    Offline posted

    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

     

Reply Children
No Data