GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 86 of 161    Print  
What is IPostBack? How to use it?
System.Web.UI.Ipostback event handler interface to raise event responses on the server to postback calls from the client. This can be a bit tricky, and I would recommend thoroughly examining what you might gain from it that you could not achieve otherwise. For further documentation, look at the "Capturing Postback Events" entry of the .NET Framework Developers Guide.


  
Total Answers and Comments: 5 Last Update: June 19, 2007     Asked by: fire horse 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: anishcp
 

IPostBack is an interface which defines the methods ASP.NET server controls must implement to handle post back events.

To create a server control that captures the form submission information from the browser, you must implement this interface.



Above answer was rated as good by the following members:
reach_yousuf
October 24, 2005 07:09:20   #1  
Rohit        

RE: What is IPostBack? How to use it?
Ispostback event is generated by the web controls to alert the server to take respected action of the event generated. When the button is clicked then click event is generated which further cause ispostback event & it alerts the server to take respected action during postback event.
 
Is this answer useful? Yes | No
November 08, 2005 11:46:54   #2  
Ranjit Member Since: October 2005   Contribution: 18    

RE: What is IPostBack? How to use it?

Gets a value indicating whether the page is being loaded in response to a client postback or if it is being loaded and accessed for the first time.

Property Value

true if the page is being loaded in response to a client postback; otherwise false.

void Page_Load() {
if (!IsPostBack) {
// Validate initially to force asterisks
// to appear before the first roundtrip.
Validate();
}
}


 
Is this answer useful? Yes | No
September 17, 2006 02:15:50   #3  
anishcp Member Since: August 2006   Contribution: 6    

RE: What is IPostBack? How to use it?

IPostBack is an interface which defines the methods ASP.NET server controls must implement to handle post back events.

To create a server control that captures the form submission information from the browser you must implement this interface.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 26, 2006 04:43:32   #4  
rameshch Member Since: September 2006   Contribution: 2    

RE: What is IPostBack? How to use it?
ispostback is used to direct the server to perform perticular event
 
Is this answer useful? Yes | No
June 19, 2007 02:50:55   #5  
nousername Member Since: June 2007   Contribution: 1    

RE: What is IPostBack? How to use it?
Only Anishcp is correct. Before answering any question please do read the question carefully as the question is about "IPostback" not "IsPostback". Find more at System.Web.UI.Ipostback event handler interface.
 
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