how to use postback url in .net2005
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
hi help me and tell me how to use postback url in .net2005?plz give an example
-
hi help me and tell me how to use postback url in .net2005?plz give an example
First I must ask do you really want to Post your page to a different page. There are good reason to do this, but in most cases it probably makes more sense to just have the button postback to your code behind for the page you are on. If you do have a good reason to post to a different page, all you have to do is set the postbackurl on the control that you are using. In the page load of the other page you can check for PreviousPage. If that is not Null (Nothing in VB) then you have postbackurl from one page to a different page. Hope that helps. Ben