I have seen this on some survey websites. What is the C# code they use on the client side to keep the URL same, but when clicking the “Next” button, the same aspx page is maintained
- without having any query string;
- without any change even a character in the url; and
- the grid, the data , the content, the questions keep changing?
Can anyone give a code-wise example how to achieve this?
My main query is how is this done in code-behind to change data of page and maintain same url.
“change data of page and maintain same url.” Answer is Server.Transfer.
This method will preserve url.