PostbackUrl vs NavigateUrl

廉价感情. 提交于 2019-11-29 14:41:09

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

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!