Home
ASP.Net
Interview FAQs

The ExecutionTimeout property indicates the maximum number of seconds a request is allowed to execute before being automatically shut down by ASP.Net. The default is 90 seconds.
Themes are a collection of CSS files, .skin files, and images applied to webcontrols on website. Themes do not replace the style sheets. It gives the common looks and feel to all webcontols in a simple way. Its allows to abstract the styles so that it can be reused.

In ASP.Net 2.0, a special folder named App_Themes in the root of your application is used to store themes. Each theme needed for your application is placed in a separate folder within the App_Themes folder.

Themes can be used by a variety of methods. The following examples show you how you can define a theme named "SmokeAndGlass" in your application by different methods:

1. Page level
<%@ Page Theme="SmokeAndGlass" Language="C#"%>
2. Application level
<configuration> <system.web> <pages theme=“SmokeAndGlass” /> </system.web> </configuration>

Generally, Themes contain skins. A skin file contains style definitions for the individual server controls. You can define skin settings for a control using similar markup which we use to add server controls to web page. Only difference you may find between skinned versions of control is that skinned version do not include ID attribute for control. You should retain properties for which you want to configure through Themes. We create .skin files in Theme folder. We can also mix all server controls style definition in a single skin file. Make sure all style definition files like CSS, skin files, Image files and other resources are included in Themes folder in your application directory.

There are two types of control skins based on their scope. They are:
1. Default Skins
2. Named Skins

Performs the same function as "Label" control, but has no styling properties, just a Text one because it derives from Control class, not from WebControl class.
Displays several images in succession, with different on displayed after each server round trip. Use the AdvertisementFile property to specify the XML file describing the iamges and the AdCreated event to perform processing before each image is sent back. You can also use target property to name a window to open when the image is clicked.
An advanced control used to simplify the common task of getting several pages of user input in one go. You can add multiple steps to a wizard which can be presented to a use sequentialy or non-sequentialy, and rely on this control to maintain state and so on.
A control that contains one or more View controls, where only one View is rendered at a time. The currently displayed view is specified using ActiveViewIndex, and you can detect if the view changes.
A container control, much like PlaceHolder, But designed for use as a child of MultiView. YOu can tell if given View is being displayed using Visible, or use the Activate and Deactivate events to detect changes in activation state.
PreviousDisplaying 8 of 46Next
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*