Creatng Div tags from server side

  • Thread starter Thread starter harrynyus
  • Start date Start date
H

harrynyus

Hi all

I am trying to create a control that will allow me to create a DIV
block element when called. I looked at System.Web.UI.WebControls and
System.Web.UI.HtmlControls but could not find how I would create a DIV
element.

Any help would be appreciated.

thanks
HF
 
How about just using asp:panel? When rendered, that is a DIV, much in the
way that an asp:label renders as a SPAN tag, or an asp:textbox is <input
type="text"> or an asp:dropdownlist is <select>, etc., etc.

Ray at work
 
Back
Top