Edit Mode Issue

2 posts, 0 answers
  1. Afroz khan
    Afroz khan avatar
    38 posts
    Member since:
    Dec 2009

    Posted 08 Dec 2014 Link to this post

    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
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Dec 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top