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.
Unfortunately, activation email could not send to your email. Please try again.

Ctrl + Shift behavior in MultiColumnTreeView

Thread ID:

Created:

Updated:

Platform:

Replies:

95682 Jul 23,2010 02:47 PM Jul 26,2010 09:59 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
tyacko
Asked On July 23, 2010 02:47 PM

I'm seeing an odd behavior that I'd like to try to suppress. When pressing the ctrl and the Shift at the same time on a MultiColumnTreeView (8.2.0.18), it selects some node in the treeview even though I have pressed any other keys or clicked with the mouse.

Is there anyway to intercept this "ctrl and shift" key press and tell the treeview to ignore it?

Please note that I still need the Ctrl to behave as it does and the Shift to behave as it does, just not the two pressed at the same time.

Thanks in advance,
Tom

Lokanath E [Syncfusion]
Replied On July 26, 2010 09:59 AM

Hi Tom,

Thanks for using Syncfusion products.

We are unable to reproduce the behavior with the MultiColumnTreeView, We have attached a sample at the following link that we used to test the behavior. However you can suppress the keystrokes in Keydown event as shown in the following code.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=MultiColumnTreeView697913602.zip


private void multiColumnTreeView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.Shift)
{
e.SuppressKeyPress = true;
}
}


Could you please reproduce the issue in the sample and send it back to us.So that we can provide a better solution.

Regards,
Lokanath.E

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.

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.

;