I just downloaded the Telerik controls 2010.1.422.1030 and noticed that the Release Notes stated "The enumerator of RadGridView.Items now enumerates data items only (use
RadGridView.Items.Groups to retrieve group items)." Since I had just used the previous way of getting the groups "grid.Items.Cast<IGroup>()", I decided to change that piece of code to the new syntax. Unfortunately I was not able to use it because it keeps returning null.
For comparison I wrote the following code to test out if the previous way still worked (it did).
The variable groups would come up null, while the int variable would contain the correct number of groups.
The function that houses my code is being called from a "grid.Dispatcher.BeginInvoke" so it definitely has access to the grid.
Please let me know if you are having the same issues or if I should attempt to create a stripped solution.
Thanks,
Francisco
For comparison I wrote the following code to test out if the previous way still worked (it did).
ReadOnlyObservableCollection<object> groups = grid.Items.Groups; |
int test = grid.Items.Cast<IGroup>().Count(); |
The function that houses my code is being called from a "grid.Dispatcher.BeginInvoke" so it definitely has access to the grid.
Please let me know if you are having the same issues or if I should attempt to create a stripped solution.
Thanks,
Francisco