What is the property available to check if the page posted or not



What is the property available to check if the page posted or not..

Answer / kirti

The Page_Load event handler in the page checks for IsPostBack property value, to ascertain whether the page is posted. The Page.IsPostBack gets a value indicating whether the page is being loaded in response to the client postback, or it is for the first time. The value of Page.IsPostBack is True, if the page is being loaded in response to the client postback; while its value is False, when the page is loaded for the first time. The Page.IsPostBack property facilitates execution of certain routine in Page_Load, only once (for e.g. in Page load, we need to set default value in controls, when page is loaded for the first time. On post back, we check for true value for IsPostback value and then invoke server-side code to

update data).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What is latest version of .net framework?

0 Answers  


What does assert() method do?

1 Answers   MCN Solutions, Siebel Systems,


What are html helpers in asp.net mvc?

0 Answers  


What is basic authentication in web api?

0 Answers  


how to face first interview in .NET?

2 Answers   HCL, Xponent,






How can you return string result from Action in ASP.Net MVC?

0 Answers  


How can Bitwise OR operator reresents in .Net?? To which alias name a variable points to if it is declared as "int" variable??

1 Answers  


How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?

0 Answers  


Difference between Dispose and Finalize method

1 Answers  


What is edm (entity data model)? : Entity framework

0 Answers  


why DotNetFramework is included in building a software

0 Answers   Infosys, Symphony,


Why should we go for entity framework?

0 Answers  


Categories