How can i add collection of values in my combobox ultragrid.
And is it possible to add a radio button in my ultragrid?
Please help. Thanks.
Hi Prasaanth ,
If you don't want the columns and the header to show, the easiest thing to do is to use a ValueList. The ValueList does not need to be data bound, either, so you can populate the list manually.
Using DropDownList style is just a matter of setting the Style property on the grid column to DropDownList. You can do that with UltraDropDown or a ValueList and it will work with either one. I posted sample code this earlier in this thread.
Hi Mike ,
I am currently using UltraDropDown . But it is such that I am forced to add a datatable to it . And hence it keeps whoing the title of the column of the table when I click the drop down.
Another thing is , the option selected in the Dropdown should be displayed , but it should not be editable . something like WindowsComboBox.DropDownStyle =DropDownList (which ensures that the options selected are displayed but user cannot type in an option of his own .
If you could point out some solution to these two things using UltraDropDown , that would be very helpful sir,
Regards,
Prasaanth
Hi Prasaanth,
You might be able to do this using the UltraControlContainerEditor, but that's a pretty complicated solution. Why can't you use a ValueList, UltraDropDown, or UltraComboEditor?
Hi , i would like to add a windows combobox to ultragrid cell instead of ultradropdown? any ideas on this ?
This worked. Thank you.