We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

ArrayList datasource to GenericDropDown

I'm adding a dropdown into a styled GridGroupingControl and need the control to fit into the same syle as the grid (If i use asp:DropDownList  it looks out of place).

I just need to populate the dropdown with the following but can't find a simple solution:

dd.DataSource = arraylist;
dd.DataValueField = "Val"
dd.DataTextField = "Text";
dd.DataBind();
dd.SelectedValue = "0"

Any pointers will be appreciated
N4Y4Jjzx

2 Replies

PS Peter Schonefeld June 4, 2012 05:13 AM UTC

My Bad ... New to these tools and missed MultiColumnDropDownCombo which works a treat.


RR Ranjithkumar R G Syncfusion Team June 4, 2012 08:31 AM UTC

Hi Peter,

 

Thanks for your update.

 

We are glad to hear that your issue has been resolved. Please let us know if you have any other concern.

 

Regards,

Ranjithkumar.


Loader.
Live Chat Icon For mobile
Up arrow icon