
Signature
Tim Wilson
.Net Compact Framework MVP
> I have form with one of tabpages having 2 listboxes and 2 combo boxes.
> I load them using DataSource property in initializer - by default. I just
[quoted text clipped - 22 lines]
>
> Just a Q
Thanks
Sort of explains.
But exceptions are thrown in listboxes, not in combos. Sorted combos are
eating DataViews ok. Sorted listboxes choke.
How's that in Net 2.0?
> When using data binding you should perform your sorting through the
> DataView. An indication of this is given in the description of the
> "ArgumentException" exception of the ComboBox Sorted property.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformscomboboxclasssortedtopic.asp
> > I have form with one of tabpages having 2 listboxes and 2 combo boxes.
> > I load them using DataSource property in initializer - by default. I just
[quoted text clipped - 27 lines]
> >
> > Just a Q
Tim Wilson - 11 Jul 2005 02:45 GMT
I've run into this issue before with the ComboBox control in version 1.1 of
the framework. I would assume that the safest thing to do would be to
explicitly handle sorting in the DataView and leave the Sorted property set
to false.

Signature
Tim Wilson
.Net Compact Framework MVP
> Thanks
>
[quoted text clipped - 8 lines]
> > DataView. An indication of this is given in the description of the
> > "ArgumentException" exception of the ComboBox Sorted property.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformscomboboxclasssortedtopic.asp
> > > I have form with one of tabpages having 2 listboxes and 2 combo boxes.
> > > I load them using DataSource property in initializer - by default. I
[quoted text clipped - 31 lines]
> > >
> > > Just a Q