Author: zerberos | Posted on: 10/9/2009 2:57:46 AM | Views : 324

 Hallo,
I have a asp:PlaceHolder. I add a dropdownlists to the PlaceHolder. Now I want to add a DIV arround the dropdownlist.
So I want to add the following:
<div id=.... style=....>
<asp:DropDownList ID="ddl1" runat="server"></asp:DropDownList>
</div>
The DropDownList I add with the following Code:
Dim cbo As New DropDownList cbo.ID = strName cbo.AutoPostBack = True cbo.Width = strlaenge cbo.Items.Add("") PlaceHolder1.Controls.Add(cbo)
But how I add the div?
...

Go to the complete details ...