Hi, I'm having a problem similar to the one described here: http://www.telerik.com/community/forums/thread/b311D-bcgkem.aspx. I'm creating a ComboBox dynamically, like below:
protected void Page_Load( object sender, EventArgs e )
{
RadComboBox cb = new RadComboBox();
cb.Items.Add( new RadComboBoxItem( "abc" ) );
cb.Items.Add( new RadComboBoxItem( "def" ) );
this.Controls.Add( cb );
}
Clicking the down arrow doesn't do anything. If I add the combobox to a Placeholder which is declaratively defined on the page, it works fine. Unfortunately, I can't have any declarative controls on the page.
I tried giving a unique ID as mentioned in that thread, but that didn't work (I've only got 1 combobox anyways). Any ideas?
Thanks.
protected void Page_Load( object sender, EventArgs e )
{
RadComboBox cb = new RadComboBox();
cb.Items.Add( new RadComboBoxItem( "abc" ) );
cb.Items.Add( new RadComboBoxItem( "def" ) );
this.Controls.Add( cb );
}
Clicking the down arrow doesn't do anything. If I add the combobox to a Placeholder which is declaratively defined on the page, it works fine. Unfortunately, I can't have any declarative controls on the page.
I tried giving a unique ID as mentioned in that thread, but that didn't work (I've only got 1 combobox anyways). Any ideas?
Thanks.