User (Old forums)MemberMay 5, 2008 at 5:25 pmPost count: 23064
I have a datagrid of elements that when i double click on one of the items i need to open a new window for that item. I was using the method described at the bottom of this post using a style setter and that was working great, however today I upgraded to the most recent DataGrid update (2.0.8211.13450) and now the behavior has changed…the event is still triggered correctly and the window pops up, however immediately after the window opens, control is restored to the parent window, thus hiding the pop up. Is this a bug? Can anyone suggest a way around this? Thanks.
Imported from legacy forums. Posted by John (had 873 views)Xceed SupportMemberMay 5, 2008 at 5:32 pmPost count: 5658
I am not aware of any changes that have been made that could cause the behavior you are reporting. Are you certain that this is related to the grid? If so, would it be possible for you to send a repro application to my attention to email@example.com?
Imported from legacy forums. Posted by Jenny [Xceed] (had 433 views)User (Old forums)MemberMay 5, 2008 at 5:42 pmPost count: 23064
I’ve done some fairly thorough testing to isolate the issue the my grid update…i’m going to do a bit more testing and will whip up a small sample app and send it over.
Imported from legacy forums. Posted by John (had 490 views)Xceed SupportMemberMay 6, 2008 at 12:00 pmPost count: 5658
I received your repro and was able to reproduce the behvior you are reporting with it. I will check to see what may have changed that could have caused the new behavior.
Imported from legacy forums. Posted by Jenny [Xceed] (had 406 views)Xceed SupportMemberMay 6, 2008 at 12:30 pmPost count: 5658
What I think used to happen was that e.Handled was set to true in the grid’s MouseDoubleClick event, which is not the desired behavior and (I assume) was removed. The 2.0.8211.13450 now reacts the same way as a Button or Textbox handling the MouseDoubleClick event.
That said, you have 2 options:
1- Set e.Handler to true
2- Call ShowDialog rather than Show top show your second window.
Imported from legacy forums. Posted by Jenny [Xceed] (had 521 views)User (Old forums)MemberMay 8, 2008 at 3:22 pmPost count: 23064
Sorry for the delay, I was pulled off of this for a couple of days. Thanks for the response. You’re right, the ‘e.Handled=True’ fixed the issue, thanks for helping me get this sorted out!:)
Imported from legacy forums. Posted by John (had 1397 views)
- You must be logged in to reply to this topic.