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

Forums / General Discussions / New Widget Template for download list

New Widget Template for download list

4 posts, 1 answered
  1. Pat
    Pat avatar
    20 posts
    Registered:
    18 Feb 2003
    09 Dec 2010
    Link to this post
    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
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    10 Dec 2010
    Link to this post
    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
  3. Pat
    Pat avatar
    20 posts
    Registered:
    18 Feb 2003
    10 Dec 2010
    Link to this post
    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
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    11 Dec 2010
    Link to this post
    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
    Answered
4 posts, 1 answered