[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Dynamic URL in sitemap for Menu Control

Posted on 2007-11-16
2
Medium Priority
?
223 Views
Last Modified: 2008-02-01
I want to create a menu control that uses a sitemap.

However, certain  menu items will have a query string with a value dependent upon the logged in user's preferences in order to go to a specific page.

How do I dynamically include the value in the query string, either within the site map, or in a control that uses a site map? or how?

thanks!
0
Comment
Question by:Starr Duskk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
DarkoLord earned 2000 total points
ID: 20304028
Hi,

you can modify the item's URL (and other values) in the Menu_ItemDataBound event, which occurs right after the values of the item have been set to the ones from the datasource (in your case, the SitemapDataSource).

Regards,
Darko
0
 
LVL 22

Expert Comment

by:DarkoLord
ID: 20304129
Sorry, the actual event is MenuItemDataBound
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question