Forum Discussion

dvox's avatar
dvox
Occasional Contributor
14 years ago

how to get the current url?

I am trying to automate a process in our website. I have an icon which on clicking will navigate me to a page. This page is specific to that icon and created dynamically. say for example, i have the icon called IKON. on clicking this icon, it navigates me to "myproblem.com/aspx/250/ikon". now i delete the icon and create a new one and click on it. Now I am navigated to "myproblem.com/aspx/251/ikon". The index is changing for every new operation.



My problem is, there are some objects which I would like to click on in the final page. Since the page changes dynamically, how can I get the current URL. Once i get this, i can use ToUrl directly and proceed further. 



Thanks

Kanth


11 Replies