This question is locked. New answers and comments are not allowed.
I'm trying to programatically set a grouping:
private void btnCategorized_Click(object sender, RoutedEventArgs e)
{
var gd = new GroupDescriptor();
gd.Member="Category";
gd.SortDirection=ListSortDirection.Ascending;
grdProperties.GroupDescriptors.Add(gd);
}
This all steps through fine, but when I leave the message it immediately brings up the debugger which claims it can't attach to a crashing process.
If I bypass the Debugger the code goes to the Application Unhandled Event and states: Invalid Cast Exception.
I'm using VS2010 beta 2, in a SL 4 project using RadControls_for_Silverlight_2009_3_1208_TRIAL
Any suggestions?
private void btnCategorized_Click(object sender, RoutedEventArgs e)
{
var gd = new GroupDescriptor();
gd.Member="Category";
gd.SortDirection=ListSortDirection.Ascending;
grdProperties.GroupDescriptors.Add(gd);
}
This all steps through fine, but when I leave the message it immediately brings up the debugger which claims it can't attach to a crashing process.
If I bypass the Debugger the code goes to the Application Unhandled Event and states: Invalid Cast Exception.
I'm using VS2010 beta 2, in a SL 4 project using RadControls_for_Silverlight_2009_3_1208_TRIAL
Any suggestions?
