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
280
Changing ultracombo's datasource causes crash
posted

Anyone know why i get the following error when I try to programmatically (vb.net) change the datasource of my ultrawingrid.ultracombo?
Error: "Object reference not set to an instance of an object."

I'm using a custom class as my datasource and I am getting the class from another combobox's active row.  This is a strange setup, the reason behind this is that i want to change the datasource of comboB depending on what the user selects in ComboA.  It works for one change, but when I try to change it to something else I get the above error.


p.s. the object in the ComboA is set to a data type of object because since the class changes, the type will change too, is this part of the problem? is there a way to completely reset the  infragistics combobox or something?

any help will be greatly appreciated!


Infragistics V5.1.01
vb.net 2003 v 7.1.6030
.NET framework 1.1.4322 SP1

Parents Reply Children
No Data