We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdvAction

Thread ID:

Created:

Updated:

Platform:

Replies:

31889 Jul 18,2005 11:57 AM UTC Jul 25,2005 04:10 PM UTC WinForms 3
loading
Tags: Tools
Alex
Asked On July 18, 2005 11:57 AM UTC

Hello, i am trying to filter out events thrown from my own code from events thrown by the user. In TreeViewAdvEventArgs you can use the Action property to get information where the event comes from. if (e.Action != TreeViewAdvAction.Unknown) { .... } Unfortunately, the value is TreeViewAdvActions.ByKeyboard always independent from the real source action. Am i doing some mistake here or is this a bug possibly? Regards, Alex

Administrator [Syncfusion]
Replied On July 22, 2005 02:29 PM UTC

Hi Alex, The Action property in the EventArgs for the BeforeSelect event seems to be working fine for me. What version are you using? Also, would it be possible for you to provide me a sample that demonstrates this problem? Regards, Gregory Austin Syncfusion Inc.

Alex
Replied On July 25, 2005 05:35 AM UTC

Hi Gregory, the Syncfusion Tools version i am working with is 3.2.1.0. Actually, it is the AfterCheck event that has this problem here. About code there is not much to post here. Just put a TreeViewAdv control on a form, assign an event handler to the "AfterCheck" event and have a look on the value of e.Action in the event handler method if clicks on a tree node occur. private void _tvwOuTree_AfterCheck(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvEventArgs e) { if (e.Action != TreeViewAdvAction.Unknown) { // event handling stuff } Regards, Alex >Hi Alex, > > The Action property in the EventArgs for the BeforeSelect event seems to be working fine for me. What version are you using? Also, would it be possible for you to provide me a sample that demonstrates this problem? > >Regards, >Gregory Austin >Syncfusion Inc.

Administrator [Syncfusion]
Replied On July 25, 2005 04:10 PM UTC

Hi Alex, I''ve managed to reproduce the bug you describe in the AfterCheck event. I''ve entered it as Defect #513. Thank you for your patience as we work to fix this. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;