HTML tags for ASP. NET Server controls

Source: Internet
Author: User

radiobutton------<input type= "Radio"/>

RadioButtonList----<table id= "RadioButtonList1" border= "0" > <tr> <td><input id= " RADIOBUTTONLIST1_0 "type=" Radio "name=" RadioButtonList1 "value=" 1 "/><label for=" Radiobuttonlist1_0 ">1< /label></td> </tr><tr> <td><input id= "Radiobuttonlist1_1" type= "Radio" name= " RadioButtonList1 "value=" 2 "/><label for=" radiobuttonlist1_1 ">2</label></td> </tr> </ Table>

Image----------- imagemap--------<map/></img>

Table-----------<table/>

BulletedList-----<ul id= "BulletedList1" > <li>1</li><li>2</li> </ul>

HiddenField----<input type= "hidden"/> Literal--------render only a section of plain text to the client

Calendar----<table><tr><td><a href= "javascript:"/></td><tr></table>

AdRotator----<a id= "AdRotator1" ></a>

FileUpload-----<input type= "file"/>

Wizard---------<table/>

MultiView (view)----render to the client only part of each view, and the two server controls themselves do not render as any label

Substitution------Render only a section of plain text to the client

Localize----------render only a section of plain text to the client

Gridview,datalist,dataview,formview----------<div><table/></div>

Listview,repeater-------It itself renders only a div to the client, the content of the div depends entirely on the template settings of the ListView

DataPager--------<span><a/>...</span>

Verifies that the-----rendering of a series control is <span/>, and that the validation information is displayed as text within span

Menu,treeview----The outermost is a <div> each menu item is rendered as a table, and when the submenu expands, the picture is <a></a>

SiteMapPath------<span><a></a></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.