Postbackurl and Navigateurl

What is difference between "Session" and "Session" Objects? What is the use of "postbackurl" and "navigateurl" and the differences between those two things?

Questions by swarajreddyt

Showing Answers 1 - 15 of 15 Answers

Navigateurl is a property of ImageButton and Postbackurl is a property of Button, LinkButton and both will allow user to navigate to desired aspx page.

  Was this answer useful?  Yes

albu77

  • Jun 1st, 2009
 

PostBackUrl is a property of the control which are in the "Button Family" and NavigateUrl is property of the control in the "Link Family".

  Was this answer useful?  Yes

csharpkate

  • Mar 9th, 2010
 

The PostBackUrl property allows you to perform a cross-page post using the button control. Postbackurl can be set so that the values like those on a form, can be passed onto another page. For example it would take  info from a text box and then triggered by a button click event  take the text box information onto the page that you have indicated as the 'postbackurl' This way information from a form can be passed onto another page. 

NavigateUrl is used to get to another page without sending on information from the current page. It is similar to the <a href=""></a> in HTML.   Use the NavigateUrl property to specify the URL to navigate to when the Hyperlink control is clicked.

azita2005

  • Apr 6th, 2010
 

With PostbackUrl you can perform the cross page posting and you can get information from the source page. It is working with Http Post command which sends the value of the source page to the target page.

NavigateUrl is used to set the URL of HyperLinksper link control.  It performs new request in the target page. With Session and query string you can share information between pages.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions