Posted on: 3/17/2011 10:03:02 AM | Views : 225

Hi,
I just learned routing and basic routing works, like /topics/people but I am not having any luck implementing like topics/people/{id} or any other variable. It just won't show.
So how do I go and fill that id from a listbox? I googled and people did it without even doing any coding, or did they skip that step? Thanks for any help. By the way, my listbox is in my master page and content pages will use that listbox value in their url too. And then later on I'll add username and stuff too. so for now I just want to know how to set that variable to my listbox. Thanks
This is what I have for testing:
 
void RegisterRoutes(RouteCollection routes) { routes.MapPageRoute( "people", "topics/people/{id}", "~/people.aspx", true, new RouteValueDictionary { {"i ...

Go to the complete details ...