Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PostbackUrl vs NavigateUrl

Can someone tell me the different between LinkButton.PostBackUrl and HyperLink.NavigateUrl? I've got a asp.net 2.0 application that uses both methods throughout the application and everything works fine. However if I connect to the application over the company vpn all of the links that use LinkButton.PostBackUrl give me a (54) Connection reset by peer error and the HyperLink.NavigateUrl work just fine. I want to know the underlying difference between the commands so I can try to figure out what the vpn software is blocking that is causing the Connection reset by peer error.

like image 641
Jeremy Coenen Avatar asked Oct 31 '08 19:10

Jeremy Coenen


1 Answers

NavigateURL: Submits a 'Get' request to the URL (just like if you had typed it in your browser)

PostBackURL: Submits a 'Post' request containing the information from the form to the specified URL; I don't believe this is commonly used

like image 56
John Avatar answered Oct 07 '22 16:10

John