I have the results of a WCF class feeding as the data binding source into my RadListView Details type list.
[code]
List<WcfService.MyClass> _MyClassList = _WcfClient.MyResults_List(ID);
rlstResults.DataSource = _RandomPrizeRecipientList;
rlstResults.ValueMember = "ResultID";
rlstResults.DisplayMember = "FirstName";
[/code]
My fields are in a specific order in the class, but it appears to take them all and alphabetize them in the list.
The ROWS are sorting by the specified ValueMember, but the COLUMNS shift into alphabetical order.
Instead of:
ResultID > FirstName > LastName > Address > Contact
They show up in the list as:
Address > Contact > FirstName > LastName > ResultID
How can I make the data view keep the columns in the original order, or alternatively set them manually according to the column names from the class?
[code]
List<WcfService.MyClass> _MyClassList = _WcfClient.MyResults_List(ID);
rlstResults.DataSource = _RandomPrizeRecipientList;
rlstResults.ValueMember = "ResultID";
rlstResults.DisplayMember = "FirstName";
[/code]
My fields are in a specific order in the class, but it appears to take them all and alphabetize them in the list.
The ROWS are sorting by the specified ValueMember, but the COLUMNS shift into alphabetical order.
Instead of:
ResultID > FirstName > LastName > Address > Contact
They show up in the list as:
Address > Contact > FirstName > LastName > ResultID
How can I make the data view keep the columns in the original order, or alternatively set them manually according to the column names from the class?