Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

Suppose i have dynamic menu . download is parent and mobile is child. i want URL routing like following :

when i click download :

www.domain.com/download.html

when i click mobile :
www.domain.com/download/mobile.html

if i have article exam "DownloadGoolge" in mobile category this url is : www.domain.com/download/mobile/DownloadGoolge.html


how can do this dynamic?!
Posted
Comments
Parwej Ahamad 12-Jul-13 14:34pm    
If you are using asp.net 4.0+ then inbuilt is having routing features.
http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
tree1371 12-Jul-13 14:42pm    
yes i use asp.net 4.0 but this solution is not dynamic because in my project i don t know how i have child's menu

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900