Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
UltraCombo text is getting set to nothing
posted

Hello,

I am seeing some weired behaviour here. I have a ultracombo box. Here is what I am trying to do:-

1. Ultracombo box is loaded with a list of objects.

2. User selects the object.

3. The selected object is passed to function which is doing some required tasks.

So this works very well when drop down style is 'Drop down'.

Now I do not want user to edit contents of drop down box. So I set the style to 'Dropdown List'. And here problem starts. Now steps 1 and 2 work. But when user selects the object, the text of the drop down gets set to nothing.

Here is code :-

If UltraCombo_RevisionsLeft.SelectedRow IsNot Nothing AndAlso TypeOf UltraCombo_RevisionsLeft.SelectedRow.ListObject Is PIFInstance Then

Dim pi1 As PIFInstance = pm.GetInstance(UltraCombo_RevisionsLeft.SelectedRow.ListObject, ReadType.Full)

end if

Any help will be apprecited.

Thank you very much.