<cb:APNSoftComboBox id="cb1" runat="server" />
<asp:PlaceHolder id=PlaceHolder1 runat="server" />
using APNSoft.WebControls; //Step #1 - Create component instance APNSoftComboBox myComboBox = new APNSoftComboBox(); //Step #2 - Set component properties myComboBox.ID = "c1"; myComboBox.StructureFileURL = "./Structure.xml"; myComboBox.TransitionEffect = APNSoftComboBox.TransitionEffectValues.Fade; myComboBox.ImagesFolderURL = "./Images/"; myComboBox.AutoPostBack = true; myComboBox.AutoScrollList = true; myComboBox.OpenListEvent = APNSoftComboBox.OpenListEventValues.OnMouseOver; //Step #3 - Add the ComboBox component to PlaceHolder PlaceHolder1.Controls.Add(myComboBox);