Return to Snippet

Revision: 13474
at April 24, 2009 21:21 by hobeau


Initial Code
HtmlGenericControl p = new HtmlGenericControl("p");
div.Controls.Add(p);


/****************************
<html>
<head>
</head>
<body>
<div id="elem" runat="server">

</div>
</body>
</html>
****************************/

Initial URL
http://www.devcurry.com/2009/01/dynamically-create-tag-using-server.html

Initial Description
Append html to a div tag (using System.Web.UI.HtmlControls)

Initial Title
Append HTML to a div

Initial Tags
DOM

Initial Language
C#