drcyrus3d
asked on
How do i get the current page name/uri?
I am working on a tab menu that has 3 states, normal, hover and selected states.
Besides this for each tab i have a special tool bar. The tab menu and tool bar are build based one an xml file.
How can i get the name of the current page?
Like tab1 leads you to tab1.aspx, tab2 leads you to tab2.aspx, tab3 to tab3.aspx ...
In each and every page i have the above mentioned tab menu with the tool bar set. I want to know when to initialize witch tab menu/tool bar, based on the current page name.
Any help/opinion would be greatly appreciated.
Thank you.
Besides this for each tab i have a special tool bar. The tab menu and tool bar are build based one an xml file.
How can i get the name of the current page?
Like tab1 leads you to tab1.aspx, tab2 leads you to tab2.aspx, tab3 to tab3.aspx ...
In each and every page i have the above mentioned tab menu with the tool bar set. I want to know when to initialize witch tab menu/tool bar, based on the current page name.
Any help/opinion would be greatly appreciated.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
ASKER
I thought there is a simple way through XSLT to get the current page name, so i will try the approach you guys propose here, through asp.net.
Thanks till now.