Here we will discuss the Page.IsPostBack Property in Asp.Net
– Gets a value that indicates whether the page is being rendered for the first time or is being loaded in response to a postback.
– The IsPostBack property can be used to determine if the page is submitted to itself. When a form is submitted back to the same page that contains it, it’s called a post back. ASP.NET provides a property called IsPostBack that is TRUE when the page is being loaded as a result of a post back, and is FALSE otherwise.
– Below is the way to use IsPostBack property
private void Page_Load()
//You can write here the code, which you want to execute in the first time when the page is loaded.
IF Not IsPostBack THEN
‘ You can write here the code, which you want to execute in the first time when the page is loaded.
You May Also like the Following SharePoint Online Tutorials:
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.