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
4695
Disable the paste in win textbox
posted

Dear all,

How to disable the action of paste in the textbox??

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello,

    Could you please try the following code sample and see if it helps:

            private void ultraTextEditor1_ControlAdded(object sender, ControlEventArgs e)
            {
                EmbeddableTextBoxWithUIPermissions textbox = (EmbeddableTextBoxWithUIPermissions)e.Control;
                textbox.ShortcutsEnabled = false;
            }
    

     

     Please let me know if the above is good enough for you.

Children