I'm looking to create a part of a HTML page as a WebPart (not Visual WebPart) in Sharepoint 2010, and I'd like to understand the classes available within the WebPart to create HTML components.
Currently, I know of a few:
Panel
- creates a <div>
Button
- creates a <button>
Label
- creates a <label>
DropDownList
- creates a <select>
(dropdown)
ListBox
- creates a <select size='...'>
(listbox)
TextBox
- creates a <input type='text'/>
LinkButton
- creates a <a href=...>
Could you provide a full list of controls available in WebPart? (For example, how do I create a <span>
?)
Update:
This is mostly what I was looking for: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.aspx, though this list doesn't directly mention which HTML component results from adding the control to the page.