Using Response.Redirect(), We can pass a value from one page to another page. But using navigateurl we can only jump to another page but we can't pass any value.
This is server control use for navigation to another page specified in the NavigateURL property. Hyperlink control doesn't expose any server side event. Response.Redirect methodThis method is used to navigate to another page from code. You can use this method to navigate from a Linkbutton or ImageButton control.
NavigateUrl is the property of Hyperlink where URL is defined and navigates to a given link.Where as response.redirect (pageurl) navigates to defined page url.
Response.Redirect methodThis method is used to navigate to another page from code. You can use this method to navigate from a Linkbutton or ImageButton control.NavigateUrl property Use the NavigateUrl property to specify the URL to navigate to when the HyperLink control is clicked.
By using Response.Redirect(), we can pass the value from one page to another page. But by navigateurl we only jump to another page
refer my article http://www.c-sharpcorner.com/UploadFile/0c1bb2/response-redirect-true-and-response-redirect-false-in-asp-ne/
Hyperlink controlThis is server control use for navigation to another page specified in the NavigateURL property. Hyperlink control doesn't expose any server side event. Response.Redirect methodThis method is used to navigate to another page from code. You can use this method to navigate from a Linkbutton or ImageButton control. For examplePrivate Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.ClickResponse.Redirect("Page2.aspx") End Sub
http://forums.asp.net/t/995478.aspx?Response+Redirect+vs+NavigateUrl
In a button click event....Response.Redirect("../default.aspx");This is on a user control inside the include folder.Works ok for any page that is also in a folder.But, go to the root, it wants to go outside the Virtual Directory into the wwwroot folder to another default page. This is on my dev pc.Now, if I upload it to the server, it works ok again.I can use a simple hyperlink and it never goes outside the virtual directory.I can use a Request.Url and do some string manipulation but that seems not good enough.I ran into this a few years ago and simply used 2 navigation user controls - one for folder pages and one for root pages. But this new site I need to use just one.