+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / EnableHtmlIndentation

EnableHtmlIndentation

6 posts, 1 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    22 Feb 2011
    Link to this post
    How do I toggle EnableHtmlIndentation for an external view of the sf:HtmlField editor?

    http://www.telerik.com/help/aspnet/editor/radeditor-telerik.webcontrols.radeditor-enablehtmlindentation.html
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 Feb 2011
    Link to this post
    Hello Steve,


    You should map the template for CotentBlock control which contains the declaration of HtmlField control that wraps RadEditor control. Then add a C# script with Page_Load method. In the page load method you should set the value to HtmlField.Editor.EnableHtmlIndentation.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
    Answered
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    24 Feb 2011
    Link to this post
    Why isn't that enabled by default?

    I can't see a case in which anyone in their right mind would want to look at a blob of html text?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    30 Sep 2016
    25 Feb 2011
    Link to this post
    Hi Steve,

    The default value of EnableHtmlIndentation is true and it is initially set by the RadEditor control. The HtmlField does not set ( change ) the default setting.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    25 Feb 2011
    Link to this post
    Hey Ivan...in all of my installs, t don't have any htmlindenting in any radgrid
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    04 Mar 2011
    Link to this post
    Hello Steve,

    We are planning to provide editor configurations screen in settings which will let you apply all sorts of configurations.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
6 posts, 1 answered