Add User Control to List Template List?

Posted by Community Admin on 03-Aug-2018 22:08

Add User Control to List Template List?

All Replies

Posted by Community Admin on 13-Sep-2011 00:00

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.

Posted by Community Admin on 15-Sep-2011 00:00

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.

Regards,
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

This thread is closed