How can we identify that the Page is Post Back?
Page object has an “IsPostBack” property, which can be checked to know t the page is posted back.
What is the use of @ Register directives?
@Register directive informs the compiler of any custom server control added to the page.
What is the use of Smart Navigation property?
It’s a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back.
Can you explain “AutoPostBack”?
If we want the control to automatically post back in case of any event, we will need to check this attribute as true. For example on a Combo Box change if we need to send the event immediately to the server side then we need to mark “AutoPostBack” attribute to true.
What is impersonation in ASP.NET?
By default, ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you need to access network resources such as a file on a shared drive, which requires additional permissions. One way to overcome this restriction is to use impersonation. With impersonation, ASP.NET can execute the request using the identity of the client who is making the request, or ASP.NET can impersonate a specific account you can specify the account in web.config.
See following video on Postback, Ispostback and Autopostback: -
Click and see here for more step by step learning ASP.NET.
Enter comment 0 - View comment - View the 0 comments