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

Forums / Developing with Sitefinity / Skin Generic Content Control?

Skin Generic Content Control?

2 posts, 0 answered
  1. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    Registered:
    07 Jan 2010
    27 Apr 2010
    Link to this post
    I thought I would design a control and put an asp contentplaceholder in it so I could edit the control in Sitefinity, but Sitefinity did not like what I did.  It said I can only put a contentplaceholder in a master page. :(

    My goal is to create my own controls and skin them and have them editable in Sitefinity.  Is this possible? 


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    27 Apr 2010
    Link to this post
    Hi Troy Lawrence,

    You could create a class that inherits from SimpleControl. You could override LayoutTemplatePath to set your custom template. You could expose public properties that will be used for setting some css classes over div elements.

    Sincerely yours,
    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.
2 posts, 0 answered