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

Explain how you can send the result back in JSON format in MVC?

1 Answers  


What are the contents of assembly?

2 Answers  


Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

1 Answers  


What is Value type and reference type in .Net

1 Answers  


I am going for H1B visa interview, I am not having bank statement ,is it neccesary for stamping process? how to handle the,consulate people without that statement ?

2 Answers  


Can Static Constructor be Overloaded?Justify it?

11 Answers   Infosys,


what is scalar property?

1 Answers   Microsoft,


what is entity sql?

1 Answers   Microsoft,


how do you query in entity model when the result has a join from from different database other than the entity model?

1 Answers   Microsoft,


Is .net core replacing .net framework?

1 Answers  


Give an example for authorization filters in an asp.net mvc application?

1 Answers  


Will there be a .net compact framework 3.0 release with release of .net framework 3.0?

1 Answers  


Categories