you can custom a HTMLEditor without the Paste Button in the Header. but it can not prevent user use ctrl+V or right click to paste. one idea is to use javascript to disable paste operation in HTMLEditor designMode, you can get designMode with
AjaxControlToolkit.HTMLEditor.ActiveModeType.Design;
hope this helps, thanks.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
SureshkumaaJ
0 Points
16 Posts
Disable paste option in HtmlExtended Editor
Jan 24, 2013 10:05 PM|LINK
Is tehre is a way to disable paste option in Html editor (CNTL + V) in Design mode only. It can allow it in Html Mode.
Please advise me
chetan.sarod...
All-Star
66609 Points
11270 Posts
Re: Disable paste option in HtmlExtended Editor
Jan 25, 2013 02:38 AM|LINK
Refer this similar threads-
http://forums.asp.net/t/1499167.aspx/1
http://forums.asp.net/t/1562522.aspx/1
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
SureshkumaaJ
0 Points
16 Posts
Re: Disable paste option in HtmlExtended Editor
Jan 25, 2013 08:30 PM|LINK
Thank you.
I see this option is on the overall.
Can we disbale this only in design mode
Yanping Wang...
All-Star
15189 Points
1552 Posts
Microsoft
Re: Disable paste option in HtmlExtended Editor
Jan 29, 2013 06:46 AM|LINK
Hi SureshkumaaJ,
you can custom a HTMLEditor without the Paste Button in the Header. but it can not prevent user use ctrl+V or right click to paste. one idea is to use javascript to disable paste operation in HTMLEditor designMode, you can get designMode with AjaxControlToolkit.HTMLEditor.ActiveModeType.Design;
hope this helps, thanks.
Feedback to us
Develop and promote your apps in Windows Store