GeekPoint Forum Subscribe to Forum RSS WhoIsHostingThis.com
Please register or login on GeekPoint Forum.
It takes only a minute to register, & moreover,
majority of the ads shown will be removed!
Login OR Register
Register a Free Account
Reply
 
LinkBack Thread Tools
Old 12-12-2009   #1
realistic realistic is offline
Regular Geek
Join Date: Oct 2008 Posts: 268
Question Need a help about aspx pages??

How we can send Current page to different aspx page.
I have lost of confusion about how can I post current page to different Aspx page??
Need suggestion or help about it.
  Reply With Quote
Old 01-01-2010   #2
aleserlee aleserlee is offline
Newbie
Join Date: Jan 2010 Posts: 30
Default Re: Need a help about aspx pages??

Remember one thing here unlike html aspx is not client side processing page. Html purely works in browser and there is no roundtrip to server whereas aspx page is fully loaded server side page. For each action it requires postback and server side processing. I mean roundtrip.Understand roundtrip. A request is send from browser-client to server and server sends response back with data to browser. Hence there is a tradeoff.

you can post page to navigate to another page
1)Response.Redirect("Page2.aspx",false);
2)Server.Transfer("Page2.aspx");
3)Server.Execute("Page2.aspx");
  Reply With Quote
Old 4 Days Ago   #3
employwise employwise is offline
Newbie
employwise's Avatar
Join Date: Jul 2010 Posts: 3
Default Re: Need a help about aspx pages??

To redirect a page to different aspx page we can use following methods.

Response.Redirect("page.aspx");
Server.Transfer("page.aspx");
  Reply With Quote
Old 4 Days Ago   #4
fack fack is offline
Junior Geek
fack's Avatar
Join Date: May 2010 Posts: 99
Default Re: Need a help about aspx pages??

Good idea
  Reply With Quote
Old 4 Days Ago   #5
localinternettraffic localinternettraffic is offline
Newbie
Join Date: Jul 2010 Posts: 2
Default Re: Need a help about aspx pages??

Originally Posted by employwise View Post
To redirect a page to different aspx page we can use following methods.

Response.Redirect("page.aspx");
Server.Transfer("page.aspx");
Server.transfer transfer the page processing from one page to another page without making a round trip back to the client where as response.redirect redirect to another URL and it make a round trip back to the client.

Response.Redirct() can be use for transferring both .html and .aspx page .
but server.Transfer() can be use with only .aspx page.
  Reply With Quote
Old 2 Days Ago   #6
iamscottj iamscottj is offline
Newbie
Join Date: Jul 2010 Posts: 8
Default Re: Need a help about aspx pages??

You might be creating a multi-page form that collects different information on each page. In that case, you can configure certain controls (those that implement the IButtonControl interface, such as the Button control) on the page to post to a different target page. This is referred to as cross-page posting. Cross-page posting provides some advantages over using the Transfer method to redirect to another page. By default, buttons and other controls that cause a postback on an ASP.NET Web page submit the page back to itself. This is part of the round-trip cycle that ASP.NET Web pages go through as part of their normal processing.
  Reply With Quote
Reply
Tags
aspx help

Thread Tools