This is a migrated thread and some comments may be shown as answers.

OnChildGridLoaded

2 Answers 16 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 08 Sep 2009, 07:27 AM
In my OnChildGridLoaded
I need to do two things
1. filter the data of the child grid
2. filter the items in the ComboBoxColumn

right now I try to do only the second thing
the following happens:
I fill the ComboBoxColumn
((GridViewComboBoxColumn)((RadGridView)sender).Columns["ActivityTypeID"]).ItemsSource = ComboBoxValues.GetComboValues(dtActivityType.Select("ID < 2000"));  
 
the comboBox is filled with the correct values
but when I select value in the comboBox
I fly
the error is 
Unable to cast object of type 'System.Data.DataRow' to type 'System.Data.DataRowView

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Sep 2009, 07:51 AM
Hi Orit,

Can you post the exception stack trace?

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Orit
Top achievements
Rank 1
answered on 08 Sep 2009, 08:40 AM
I found my mistake
it was in the  CellEditEnded
but now I have anoter problem
after I select value I still dont see the selected value in the combo

 

Tags
GridView
Asked by
Orit
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Orit
Top achievements
Rank 1
Share this question
or