C1TreeView node editing beep

Posted by: ronny on 30 November 2021, 6:04 am EST

    • Post Options:
    • Link

    Posted 30 November 2021, 6:04 am EST

    Hello!

    When finished editing a node and pressing ENTER, there is a anoying beep sound.

    I can disable this in text fields with e.handled = true in the keypress events.

    But how can I do this for the treeview editor?

    Regards

    Ronny

  • Posted 1 December 2021, 4:41 am EST

    Hi Ronny,

    You can create a TextBox and assign it to the Editor property of the C1TreeColumn class using the C1TreeView.Columns property. You can handle the KeyDown event of this TextBox and suppress the keypress when the ENTER key is pressed.

    Kindly refer to the attached sample showing the same.

    Please let us know if you need any other information.

    Regards,

    Avnish

    BeepDemo_C1TreeView.zip

  • Posted 6 December 2021, 7:14 am EST

    Thank you, this works

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels