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 bundle.config in mvc4?
If you change something in web.config file.Do u need to compile again?
5 Answers Broadridge, SMNetserv,
What is difference between constants, readonly and, static
What was the problem in traditional component why side by side execution is supported in .net ?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
What is the mvc pattern (model view controller pattern)?
How to use Jquery Plugins in ASP.Net MVC validation?
What's different about namespace declaration when comparing that to package declaration in Java ?
What is entity framework firstordefault?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
How you deploy .NET assemblies
Is the following route definition a valid route definition? {controller}{action}/{id}