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
520
UltraWinGrid FieldChooser blows up with key cannot be found when switching between datasources
posted

Hi,

I am using an UltraWinGrid to display properties of SQL database tables in the switchboard screen of my app.

All of the databases involved, except 1, recieve the data in the same format. That last database has a join to a definitions table I am using. This makes their set of field names different. ... i think I just answered my own question as to how to workaround... but.

That doesn't let you guys off the hook :)

If I have opened the Field Chooser and then switch between those two databases then the whole app flushes with the dreaded key not found error.

I looked very hard but found no way to access and so catch anything to do with the FieldChooser from the model. The examples I found that gave me hope are for WPF...

I am going to force the two datasources to have the same field names and try to just adjust the visibles and 'hide from FieldChooser' settings on the fly ... that should do it...

Mind you if this blows up to when I hide the fields from the field chooser, too, I can name a certain Fortune 500 company that will be taking a closer look at certain Brand X control packages.... :)

Thanks in advance guys,

Mitch