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.
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
PostBackUrl first posts or sends the current web form to server and then redirects you to the specified url,while NavigateUrl directly takes you to the url specified without submitting the current page to the server
The PostBackURL for the linkbutton tells you which form the button is posting data to. (more details)
The NavigateURL for the Hyperlink tells you which control, the link is getting from the server.
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