Try Now
More in this section

Forums / Sitefinity SDK / Control templates

Control templates

2 posts, 0 answered
  1. Euan
    Euan avatar
    18 posts
    14 Oct 2010
    11 Feb 2011
    Link to this post
    I'm trying to inherit from the ContentBlock and use a custom layout template, but I can't find any documentation on what controls need to be on my custom layout template.

    I've found some default control templates in the resources folder, but none for widgets.

    Does any documentation or sample template files exist ?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    11 Feb 2011
    Link to this post
    Hello Euan,

    One of the option is maping the template for CotentBlock control which contains the declaration of HtmlField control that wraps RadEditor control. Note that HtmlField is required control and you cannot remove it.
    If you want get the template only from the forum post and implement it in your custom control.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered