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

How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?

1 Answers  


What are the benefits of .net framework?

0 Answers  


What are scaffold templates in mvc?

0 Answers  


How do you enforce garbage collection in .NET

1 Answers   Wipro,


What is GUID , why we use it and where

1 Answers  






What is the full form of sp?

0 Answers  


Which version of .net framework is installed?

0 Answers  


Describe the .net framework architecture.

0 Answers  


What are bundling & minification features in asp.net mvc 4?

0 Answers  


What are the contents of assembly?

2 Answers  


Explain the methods used to render the views in ASP.Net MVC?

0 Answers  


what is the use of final method

3 Answers   TCS,


Categories