Welcome Guest Search | Active Topics | Sign In | Register

To Make Html Editor readonly Options
Varun Paval
Posted: Sunday, October 12, 2008 9:40:30 PM
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


eo_support
Posted: Monday, October 13, 2008 4:56:04 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Yes. Just set DesignTabButtonText and HtmlTabButtonText to empty strings.

Thanks!
Varun Paval
Posted: Monday, October 13, 2008 9:56:22 PM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.