this doesnt work.
comboBoxTool.ValueList.ValueListItems.Add("All Documents")
renjitk said: this doesnt work. Dim comboBoxTool As New Infragistics.Win.UltraWinToolbars.ComboBoxTool("ComboBoxTool1") comboBoxTool.ValueList.ValueListItems.Add("All Documents")
comboBoxTool.ValueList.ValueListItems.Add(
What does not work with the code? If it does not compile or it throws a run-time exception, it is a bug and I would recommend submitting it to the support group: http://ko.infragistics.com/gethelp. If you mean it does not work because you can't see the tool on your form at run-time, this is because you must add the newly created tool to the Tools collection of your toolbars manager to add the root tool to the manager. Then you need to add an instance tool by calling AddTool on the Tools collection of a toolbar or menu and passing in "ComboBoxTool1".