New Widget Template for download list

Posted by Community Admin on 03-Aug-2018 18:05

New Widget Template for download list

All Replies

Posted by Community Admin on 09-Dec-2010 00:00

Hi there,
I am trying to create a new widget template for a download list. I copied the content from existing widget and created a new one. Now, how can I assign this new template to the download list control on my page?
Also, I realized a changing in names for widget template Field "Area". Formerly "Documents", now "Documents & Files". Is this correct and, if yes, has this any influence on the expected behaviour?

Thanks for helping.

Patrick

Posted by Community Admin on 10-Dec-2010 00:00

Hello Patrick,

You can change the template from LayoutTemplate property from the configuration or using the control designer of the template where you will find LayoutTemplatePath property.

The label has been changed, because you can upload other files than documents - say zip archive.

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

Posted by Community Admin on 10-Dec-2010 00:00

Hello Ivan,
yes I know how to change appearence in control designer, but I need two or more different layouts for the download list. E.g. for news I am able to make a new design template and asign it to the news control. As many as I want. How can I achieve this for a download list without my own ascx controls as LayoutTemplate?

Regards,

Patrick

Posted by Community Admin on 11-Dec-2010 00:00

Hi Pat,

The designer of DowloadList control allows you to manage only the built-in template. To use a custom template per control instance you have to set  LayoutTemplatePath of the control in its Advanced section. We have not exposed an option in DownloadListDesigner that lists custom templates you have created.

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

This thread is closed