Restrict copy and paste in radtextbox

3 posts, 1 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 28 Aug 2013 Link to this post

    Hi,
    I want to restrict the copy and paste option in radtext box from mouse event and key press event.





    Thanks
  2. Answer
    A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 28 Aug 2013 Link to this post

    Hi,
    Please try with the below code
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Skin="Hay" Width="300" AutoPostBack="false"
                Font-Names="Verdana" oncopy="return false" onpaste="return false" oncut="return false">
            </telerik:RadTextBox>
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 29 Aug 2013 Link to this post

    Hi A2H,
    Thanks, It worked fine.
Back to Top