What is a Page Directive?-ASP.Net directives are instructions or commands to specify optional settings, such as registering a custom control and page language. These settings describe how the...
1.User Control is a page file with extension .ascx which can only be used withina single application. But custom controls are assemblies(dll files) that can beused...
Calling a non-virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is...
It is a state management technique in asp.net. ASP.NET Viewstate is preserving the data between the requests or postbacks and stored in hidden fields on...
int i= 0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToString(i)); We can convert the integer i using i.ToString () or Convert.ToString The basic difference between them is “Convert” function handles NULLS while“.ToString()” does not it...
Asp.Net 2.0 fixed this with built-in features that allowed us to easily send information from one page to another.Button control has property PostBackUrl that can be set...
State management is the process by which you maintain state and page information over multiple requests for the same or different pages. There are 2...
PreInit: Check for the IsPostBack property to determine whether this is the first time the page is being processed. Create or recreate dynamic controls. Set master page...