Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllowSelectionChange is not invoked

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
mutouaa



Joined: 07 Nov 2007
Posts: 24

PostPosted: Tue Oct 26, 2010 12:14 pm    Post subject: AllowSelectionChange is not invoked Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Oct 27, 2010 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group