?
Solved

Dynamic URL in sitemap for Menu Control

Posted on 2007-11-16
2
Medium Priority
?
222 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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