GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 155 of 164    Print  
Page Posting
How do you post a current page to different ASPx page?


  
Total Answers and Comments: 7 Last Update: December 09, 2008     Asked by: ushalakshmi 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: bb.geetha
 
ASP.NET provides the following ways for you to build redirection into your Web pages:
  • Using hyperlinks on pages.

  • Configuring cross-page posting, which enables you to specify an alternate target page when the current page is submitted.

  • Redirecting programmatically by forcing the browser to request a different page.

  • Redirecting programmatically by transferring control to a different page in the same Web application.



Above answer was rated as good by the following members:
ponvanaraja, shounakbasak, sharath R chandra, Ag2703
April 19, 2008 02:20:19   #1  
ranjaniav Member Since: April 2008   Contribution: 2    

RE: Page Posting

Cross paging enables us to post the current page to the different target page.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
June 21, 2008 20:54:27   #2  
Veerapally Member Since: June 2008   Contribution: 2    

RE: Page Posting
Another way of traversing from one page to another page is to use Server.Transfer
or Response.Redirect.

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
June 25, 2008 08:08:43   #3  
bb.geetha Member Since: May 2008   Contribution: 8    

RE: Page Posting
ASP.NET provides the following ways for you to build redirection into your Web pages:
  • Using hyperlinks on pages.

  • Configuring cross-page posting which enables you to specify an alternate target page when the current page is submitted.

  • Redirecting programmatically by forcing the browser to request a different page.

  • Redirecting programmatically by transferring control to a different page in the same Web application.


 
Is this answer useful? Yes | NoAnswer is useful 4   Answer is not useful 0Overall Rating: +4    
July 24, 2008 06:36:52   #4  
crazy541 Member Since: July 2008   Contribution: 1    

RE: Page Posting
Actually there are various methods for this1. Server.Tranfer()2.Server.Execute()3.Response.redirect()4.Through Jscripts window.open()5.Through hyperlink6.through cross links
 
Is this answer useful? Yes | NoAnswer is useful 4   Answer is not useful 0Overall Rating: +4    
August 23, 2008 08:13:54   #5  
sheonarayan Member Since: August 2008   Contribution: 1    

RE: Page Posting
Use postbackurl property of the Button.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
October 14, 2008 08:50:38   #6  
johnanvert Member Since: September 2008   Contribution: 4    

RE: Page Posting
This method to use post the value in another page
 PostBackUrl "~/TargetPage.aspx"


 
Is this answer useful? Yes | No
December 08, 2008 11:50:08   #7  
nithincninan Member Since: December 2008   Contribution: 1    

RE: Page Posting
protected void Page_Load

{
Response.Redirect("webform.aspx");
}

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape