How to find the current page and query string parameters
HI,
I have a SF Widget developed as a User Control. And I want to find out the page name containing the widget and querystring parameters. What code I have to write to find the information I need?
My URL would be...
http://SERVER_NAME/PageGroup1/PageGroup2/Page/1234/Test
The actual page is /Page and the rest coming after the page name are the query string parameters. This page resides within two page groups in sitefinity.
Thanks,
Duneel
Hello Duneel,
You need to loop through website pages and get the PageData object which has a property Controls that returns IList of PageControl - all controls on a page.
Greetings,
Ivan Dimitrov
the Telerik team