ASP.Net Web Server Control
 
How to Add Server Control to Web Page
 
Before describing about the Html Server Control here you should know the procedure to use in a practical way. It will make easy for you to use it by reading out these steps.
 
The procedure to use any server control in Web Page is given below:
 
Step 1. Open Visual Studio 2005, click on “File? Menu and select “Web Site…? in the “New? sub items then you will get “New Web Site? dialog box.

Step 2. In “New Web Site? dialog box, select language and press “OK? then a default.aspx web page will be opened which is available in source view mode.

Step 3. Select “Designer? from View Menu (press Shift+F7) to see the default.aspx web page in design view.

Step 4. Select “Standard? item in the toolbox tab (press Cltr+Alt+X if not visible) from left hand side in Visual Studio.

Step 5. Select the control from in the toolbox (or make visible by selecting tool box item if not visible).

Step 6. Keeping mouse button pressed, dragged it to the web form.

Step 7. You can set properties of the control from the Properties Window. Alternatively, press the space key in between control’s tag and set the required attribute or property from the appeared list. Remember that you can set control’s attributes or properties using its tag, when the web page is in source mode.