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

Forums / Developing with Sitefinity / Generic Content Control in Template not working

Generic Content Control in Template not working

4 posts, 0 answered
  1. Tech
    Tech avatar
    26 posts
    Registered:
    13 Sep 2010
    29 Dec 2010
    Link to this post
    Greetings,

    I've created a standard .NET master page, and added into my Sitefinity site as a template.  I've then dropped several controls into the template content placeholders (including a generic content control), however when I create a page from that template there is no editable area to add content to the page using that control. I would think that it would function exactly as if I had created page from that template, and dropped the generic content control directly into that page, instead of the template. I don't have to add a generic content control to EVERY page I create from a template do I? Or am I missing something really obvious here?

    Thanks!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    29 Dec 2010
    Link to this post
    Hello Phillip,

    If the control is dropped on a template you cannot edit it form a page. You can edit these controls only from the template instance.

    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
  3. Tech
    Tech avatar
    26 posts
    Registered:
    13 Sep 2010
    29 Dec 2010
    Link to this post
    Ok...so how do I go about creating a template for my site that I can easily use to create new pages, without having to add a content control to each one?  It seems sort of counter-intuitive to have to create a page from a template, then drop controls onto it, and then edit the content within that control for every page (especially in a large site) when I should be able to just create a page, and start editing content right away.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    29 Dec 2010
    Link to this post
    Hi Phillip,

    The master page should contain the main skeleton and data that you do not change on a daily basis. The same is valid for a standard ASP.NET website - you have a master page that is used by multiple asp.net pages where you do not change the template content rather than adding controls to a page. 

    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
Register for webinar
4 posts, 0 answered