Murray Brown
asked on
ASP.net VB.net Set width of progrematically added DropDownList to 100%
Hi. The third line in my VB.net code in ASP.net does not set the width of the DropDownList to 100%
Dim ddl As New DropDownList
ddl.ID = oControlName
ddl.Attributes.Add("width" , "100%")
Me.Panel_Controls.Controls .Add(ddl)
Dim ddl As New DropDownList
ddl.ID = oControlName
ddl.Attributes.Add("width"
Me.Panel_Controls.Controls
ASKER
Hi. Thanks. Please could you help me with the CSS code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great. Thanks very much
Open in new window