View previous topic :: View next topic |
Author |
Message |
mutouaa
Joined: 07 Nov 2007 Posts: 24
|
Posted: Tue Oct 26, 2010 12:14 pm Post subject: AllowSelectionChange is not invoked |
|
|
Hi Infralution Team,
here I met a problem with tree selection changed.
I override two methods AllowSelectionChange and OnSelectionChanged. in the tree control I have a checkbox always shown editor in a tree column.
first I select a row in the tree, then click on the checkbox in another row directly, AllowSelectionChange is not invoked and OnSelectionChanged is invoked.
could you please help? thank you in advance!
note: I already set SelectBeforeEdit to true. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Oct 27, 2010 2:49 am Post subject: |
|
|
The AllowSelectionChange event allows you to block a user selection occurring. However when you have an DisplayMode.Always editor and the user sets focus to an editor then the row containing the editor is always selected. If we allowed this to be blocked you could end up with an anomaly where the row containing active edit control was not selected. _________________ Infralution Support |
|
Back to top |
|
|
|