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

How to prevent EventRouting from grid to grid?

3 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oliver Abraham
Top achievements
Rank 2
Oliver Abraham asked on 29 Aug 2011, 04:44 PM
Hi Folks,
I've got a RadGridView with a details view that itself contains three RadGridViews.
The problem is, events from the inner Grid e.g. SelectionChanged or MouseDoubleClick  are transported somehow to the outer Grid.
This leads to serious problems, for example the outer grid collapses the details when the user double clicks in the inner gridview..
How can I prevent the outer grid accepting events from controls of the details page ? 
(Is this a common event routing issue ?)

Best regards
Oliver

(P.S. or, vica versa, how to prevent the "inner" controls sending events to the outside? There's this structure: The outer grid contains a RadTabControl, some tabs, each tab contains a Grid which contains three RadGridViews and some buttons)

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 01 Sep 2011, 04:00 PM
Hi Oliver Abraham,

In short - this is not a known issue.  I will be glad to investigate it . For this- the telerik dlls version you are using and some description( e.g. XAML, code , steps to reproduce) would be extremely helpful.

Regards,
Pavel Pavlov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Oliver Abraham
Top achievements
Rank 2
answered on 06 Dec 2011, 01:47 PM
Hi Pavel,

Sorry for the late reaction, it wasn't possible earlier. I built a demo app to demonstrate the problem. I tested it with Q3 release ans it's still present.

In short: Messages are routed to parent controls, so for example if you press a key in GridView, the key pressure is routered to a parent grid view control. Or, a mouse double click in a details view of a grid is routed to its parent. See the screenshot attached. If you press a key in the cell marked green, the message is routed to the outer grid. That's not what you would expect and what you want.

Please tell me how I can send you the demo app. I can't attach a rar or zip file to this post.

Best regards
Oliver Abraham
0
Vlad
Telerik team
answered on 08 Dec 2011, 01:57 PM
Hi Oliver,

You can open support ticket. 

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Oliver Abraham
Top achievements
Rank 2
Answers by
Pavel Pavlov
Telerik team
Oliver Abraham
Top achievements
Rank 2
Vlad
Telerik team
Share this question
or