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

SelectionChanged - how to detect change by user

2 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
John M
Top achievements
Rank 1
John M asked on 06 May 2010, 01:03 AM
I'm upgrading to 2010 Q1 SP1 from 2009 Q3 SP1 and I've run into a behavior change that I don't know how to deal with with respect to how SelectionChanged event is fired.

I have a grid that uses RowDetailsTemplate to implement a child grid when the parent's row is selected. With 1010 Q1 SP1, when the parent row is selected, the child grid's SelectionChanged event also fires. This did not occur in the prior version.  Whith this new behavior I can't distinguish between a user selecting a row in the child grid and the selection occurring because the user selected the parent row.

Thanks for your help.



2 Answers, 1 is accepted

Sort by
0
Accepted
Milan
Telerik team
answered on 06 May 2010, 07:34 AM
Hello John M,

Setting IsSynchronizedWithCurrentItem of the child grid to false should resolve the problem.


Regards,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John M
Top achievements
Rank 1
answered on 06 May 2010, 05:53 PM
That did it - thanks!.
Tags
GridView
Asked by
John M
Top achievements
Rank 1
Answers by
Milan
Telerik team
John M
Top achievements
Rank 1
Share this question
or