More in this section

Forums / Developing with Sitefinity / Download List within an Event

Download List within an Event

2 posts, 0 answered
  1. shae
    shae avatar
    30 posts
    26 Jul 2012
    29 Jan 2009
    Link to this post
    Is there any way to utilize the download list control in an event?
  2. Parvan
    Parvan avatar
    151 posts
    24 Sep 2012
    03 Feb 2009
    Link to this post
    Hi shae,

    Thank you for contacting us.

    Here is an example about how to add a DownloadList control into an EventsView control. You need to modify the template of EventsView located at
    [your site]/Sitefinity/ControlTemplates/Events/ContentViewSingleItem.ascx:

    <%@ Register Assembly="Telerik.Libraries" Namespace="Telerik.Libraries" TagPrefix="sfWeb"  %> 
      <sfWeb:DownloadList ID="downloadList" Mode="TableMode" runat="server" /> 

    The first line registers the namespace Telerik.Libraries where the DownloadList control is located. The second line adds the control and sets its properties.

    Hope this will help you.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered