This question is locked. New answers and comments are not allowed.
Hi.
I'm running into a bit of trouble in my scenario.
Here's the thing :
I have a RadGridView, on which I've attached a HierarchyTemplate that contains other gridviews, so far, everything is ok.
On every radgridview, I have a RowDetailsTemplate to display a form that allows the user to create and edit dataitem.
My problem is that each radgridview has the addingnewdataitem event attached to it, so that when the user enters in the component I created, a new blank item would be created for new entries, and if needed, the insert key would be available as well.
The thing is, on the hierarchy grid, I can't seem to be able to enter in the addingnewdataitem handler. Every time I use BeginInsert or insert key, the handler of the top level grid is being launched, not the one of the particular grid the event was launched from.
I think it's because the addingnewdataitem event isn't a routed event, like most of the other ones, so I can't block it at the level I want it to be used, cause usually, I would do something like e.Handled = true, or specify false in the AddHandler method. But it isnt't possible for this particular event.
Do you know a way to work around that ?
Greetings
Ludovic
I'm running into a bit of trouble in my scenario.
Here's the thing :
I have a RadGridView, on which I've attached a HierarchyTemplate that contains other gridviews, so far, everything is ok.
On every radgridview, I have a RowDetailsTemplate to display a form that allows the user to create and edit dataitem.
My problem is that each radgridview has the addingnewdataitem event attached to it, so that when the user enters in the component I created, a new blank item would be created for new entries, and if needed, the insert key would be available as well.
The thing is, on the hierarchy grid, I can't seem to be able to enter in the addingnewdataitem handler. Every time I use BeginInsert or insert key, the handler of the top level grid is being launched, not the one of the particular grid the event was launched from.
I think it's because the addingnewdataitem event isn't a routed event, like most of the other ones, so I can't block it at the level I want it to be used, cause usually, I would do something like e.Handled = true, or specify false in the AddHandler method. But it isnt't possible for this particular event.
Do you know a way to work around that ?
Greetings
Ludovic