Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a condition based upon which I require that the AJAX HTML Editor gets disable.

This code is not working:
C#
edNote.Enabled=false; //edNote is AJAX editor.

Please suggest any other means to do this.
Posted
Updated 25-May-12 1:02am
v2
Comments
ujju.1 25-May-12 7:08am    
at which control event you want to disable this?
Member 8491154 25-May-12 7:11am    
A condition on button click is to be checked. According to the condition, the HTML editor should get enabled or disabled.

make sure that autopostback is true for that control event
 
Share this answer
 
Comments
Member 8491154 25-May-12 7:19am    
AutoPostBack is true. Can you suggest any other way?
Please follow the advice given in the post by bduffin on Feb 15, 2010 06:39 PM here: http://forums.asp.net/t/1472729.aspx/1[^].

Regards,

Manfred
 
Share this answer
 
Comments
Member 8491154 26-May-12 0:26am    
Is it possible to disable editing in the editor in preview mode?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900