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

Forums / Developing with Sitefinity / RadEditor default content

RadEditor default content

4 posts, 0 answered
  1. Chris
    Chris avatar
    87 posts
    Registered:
    11 May 2010
    15 Jul 2010
    Link to this post
    I have overridden the generic content new and edit view templates to change some properties on the RadEditor. I have set up some templates and set the paths in the TemplateManager but can I set a default template, to replace the "Type your content here..." message, in the new content view somehow?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Jul 2010
    Link to this post
    Hello Chris,

    Override OnPreRender event inside the template and there set the Content of RadEditor to empty String.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Chris
    Chris avatar
    87 posts
    Registered:
    11 May 2010
    16 Jul 2010
    Link to this post
    Hi Ivan,

    How would I go about doing the same thing for the generic content designer control in the page designer without rewriting the control? Is it possible?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Jul 2010
    Link to this post
    Hello Chris,

    Map GenericContentDesigner external template from where you can access RadEditor control and its properties.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered