ASP.NET 2.0 menu question



Hi there,

I use a menu control that is bound to a sitemap to display menu items,
no problems there.

I now have one menu item that needs to open an url in a new window,
and I have to dynamically add some querystring value to that URL. So I
need the menu item to do something like

window.open("http://newurl/page.aspx?value=5";);

and the value of the querystring depends on the user so I have to be
able to set this value dynamically when the page is loaded...

I assume that I can't use the sitemap to specify such menu item? Is
there another solution?

Thanks!

.



Relevant Pages

  • Re: question about menu and display levels
    ... Below is a sitemap, how do I configure a menu control so that it doesn't ... display the first element. ... I want the menu to not display the ...
    (microsoft.public.dotnet.framework.aspnet)
  • question about menu and display levels
    ... Below is a sitemap, how do I configure a menu control so that it doesn't ... display the first element. ... I want the menu to not display the test1.aspx... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET 2.0 menu question
    ... I use a menu control that is bound to a sitemap to display menu items, ... and I have to dynamically add some querystring value to that URL. ... I assume that I can't use the sitemap to specify such menu item? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Getting a control linked to a database record - beginners question
    ... Perhaps if I could make each control id unique throughout the entire site, ... I have a control that I need to display text from an sql database. ... I would normally do this sort of thing via a querystring, ... which database record it needs without using querystrings? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Getting a control linked to a database record - beginners question
    ... I guess the url combined with the control id would be a unique value. ... I have a control that I need to display text from an sql database. ... I would normally do this sort of thing via a querystring, ... which database record it needs without using querystrings? ...
    (microsoft.public.dotnet.framework.aspnet)