walkinsindia.com
 
 
 
 
 
No Registration! No Resume Posting!!
 
Receive FREE Email Alerts on Current Walk-in Interviews in India, and Apply Directly to The Employer of Your Choice! - Enter your Email ID and Subscribe Right Now!

                  

 
     
 
DotNet ASP.Net
What is the sequence in which ASP.NET events are processed?
Following is the sequence in which the events occur :

Page_Init.

Page_Load.

Control events.

Page_Unload event.

Page_init event only occurs when first time the page is started, but Page_Load occurs in subsequent request of the page.
In which event are the controls fully loaded?
Page_load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that viewstate is not fully loaded during this event.
How can we identify that the Page is PostBack?
Page object has a "IsPostBack" property which can be checked to know that is the page posted back.
What is event bubbling?
Server controls like Datagrid,DataList,Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent(which can be a datagrid, datalist, repeater), which passed to the page as "ItemCommand" event. As the child control send there events to parent this is termed as event bubbling.
How do we assign page specific attributes?
Page attributes are specified using @Page directive.
if we want to make sure that no one has tampered with viewstate, how do we ensure it?
Using the @Page directive EnableViewStateMac to True.
What is the use of @Register directives?
@Register dirctive informs the compiler of any custom server control added to the page.
What is the use of SmartNavigation property?
It is a feature provided by ASP.NET to prevent flickering and redrawing when the page is post back.
What is AppSetting Section in "Web.Config" file?
Web.Config file defines configuration for a webproject. Using "AppSetting" section we can define user defined values. Example below defined is "ConnectionString" section which will be used through out the project for database connection.

<configuration>
<appSettings>
<add key="ConnectionString" value="server=xyz;pwd=www;databse=testing" />
</appSettings>
Where is ViewState information stored?
In HTML Hidden Fields.
Next



Post Interview Questions


 
     
     
 
Home  |  About Us  |  Post Walk-in for FREE  |  Policies  |  Contact Us  |  Advertise
 
 
Copyright © 2013 WalkinsIndia.com.   All Rights Reserved.