What is the difference between HTML Container Control and HTML Generic Control in asp.net? How can their properties be changed?
Please go through this msdn link , you get the idea
Serves as the abstract base class for HTML server controls that map to HTML elements that are required to have an opening and a closing tag.
The most common controls with a closing tag are the <form>
, <table>
, <tr>
, <td>
, <a>
, and <span>
elements.
The InnerText
and InnerHtml
properties allow you to manipulate the content between the opening and closing tags of HtmlContainerControl-derived controls.
Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class.
Use this class to represent an HTML server control element not directly represented by a .NET Framework class, such as <span>
, <div>
, <body>
, or <font>
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.