Is it possible to specify the Url value Programatically and then to navigate to the page accordingly?
string url = http://localhost:4039/LRVisuals/Default.aspx;
Url.AbsolutePath = url;
Is it possible to specify the Url value Programatically and then to navigate to the page accordingly?
string url = http://localhost:4039/LRVisuals/Default.aspx;
Url.AbsolutePath = url;
You can use Response.Redirect
or Server.Transfer
to navigate to a page.
Response.Redirect(url);
You'll find differences between both here. With Server.Transfer
Page.PreviousPage
is not null and you're able to access controls or ViewState of it.