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
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.