How do i get the current page name/uri?
Posted on 2008-06-26
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.