Rank: Member Groups: Member
Joined: 5/20/2008 Posts: 11
|
Hi Support Team,
Is there anyway to make HTML Editor 'Read only'. This is for displaying the page in view mode.
I can see Some Editor mode at the bottom. So in another way, Is there any option to disable all other modes (Design, Html) except Preview mode?
Please reply me asap,
Varun.P
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Yes. Just set DesignTabButtonText and HtmlTabButtonText to empty strings.
Thanks!
|
Rank: Member Groups: Member
Joined: 5/20/2008 Posts: 11
|
Hi Support Team,
Your suggestions didn't resolve my problem. Setting DesignTabButtonText and HtmlTabButtonText to empty strings will not make the editor readonly. Before setting the DesignTabButtonText and HtmlTabButtonText to empty strings, I want to change the mode of the editor to 'Preview Mode' Programatically. Then only it will become readonly.
So, is there any way to change the mode of the editor to 'Preview' in code behind?
please reply me ASAP
Regards,
Varun
|