Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
UltraTextEditor event when SelectedText changes
posted

Hello,

I would like to enable/disable clipboard buttons (cut, copy)s in a toolbar based on whether the user has selected text in a ultraTextEditor. Is there an event fired when the user changes the selected text. I actually only need an event to indicate whether there is selectedText or not.

Thanks

Wendy

Parents
No Data
Reply
  • 48586
    Verified Answer
    posted

    Hello,

     

    No there is no event which will occur only when selected text is changed. If your cut, copy operation are in a popup menu of your toolbar, you could handle event like ToolClick or BeforeToolDropdow (if you are using UltratoolbarsManager) in order to check if editor has selected text and to disable/enable needed commands.

     

    Please let me know if you have any further questions.

Children