This is a migrated thread and some comments may be shown as answers.

Edit Mode Issue

1 Answer 61 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Afroz khan
Top achievements
Rank 1
Afroz khan asked on 08 Dec 2014, 11:10 AM
Hello Team,

I am using Telerik RadEditor  and having Design and HTML as Edit Mode ,but problem is when I select HTML mode , it gets change to Design after postback event.

Could you please help, how can I keep the last selected Edit mode(Design or HTML) after postback event.

Thanks
Afroz Khan

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Dec 2014, 12:29 PM
Hi Afroz,

The RadEditor is designed to always show the Design mode when enabled. Therefore, there is no configuration option to preserve the HTML mode after a post back.

This can be implemented as a custom solution via ASP.NET techniques to preserve the current state in a e.g, hidden field and after the post back to change programmatically the current mode of the editor via JavaScript. You can use the client-side set_mode() method.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Afroz khan
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or