More in this section

Forums / General Discussions / Add User Control to List Template List?

Add User Control to List Template List?

2 posts, 0 answered
  1. NorseNerd
    NorseNerd avatar
    21 posts
    25 Apr 2011
    13 Sep 2011
    Link to this post
    I'm using the blog widget on a page and want to use a custom template.

    To make it more maintainable, I'd prefer to user a user control in my project solution rather than use the template editor in Sitefinity.

    Is there a way to add a user control the the List template list?

    Basically, I'm trying to add my user control to the list as indicated in the screen shot.  Is that possible?  I do not want to simply override the default template with something like overriding the virtual path to the widget template as I've got multiple templates I need to use.
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    03 Nov 2014
    15 Sep 2011
    Link to this post
    Hi Brett,

    Unfortunately there is no direct way. You could create a new template, register your user control on the top of the template and then insert the tags that use this control in the body of the template.

    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested 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