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 |
Explain tempdata in asp.net mvc?
What is different between User Control and Web Control and Custom Control?
Do you know about the new features in ASP.Net MVC 4 ?
What are the Main Features of .NET platform
How route table has been created in ASP.NET ASP.Net MVC?
What are the 3 main components of an asp.net mvc application?
what is deferred loading(lazy loading)?
What is the necessity for singning an assembly with a strong name?
What is the difference between viewbag and viewdata in mvc?
What is Reference type and value type
What is the use of trace utility ?
What is Layout in ASP.Net MVC?