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

Forums / Developing with Sitefinity / GridView Control in a DownloadList

GridView Control in a DownloadList

2 posts, 0 answered
  1. Erik
    Erik avatar
    34 posts
    Registered:
    06 Dec 2007
    22 May 2008
    Link to this post
    Since I'm trying to bend the Download List control to being more like a full-featured document management control, where you can sort on columns, etc. I realized that in the admin portion of Sitefinity looking at a Document Library, you are able to sort on those columns.  I also realized that the reason you can is through the use of the GridView control.

    Now my question is: why not use the GridView control to generate the output of the DownloadList control?  Why reinvent the wheel by creating the table columns manually with the template file and then using a repeater to loop through the records.

    I would love the ability to sort on columns because there are times where you may want to sort it alphabetically, and other times where you want to see the most recently published documents.  Using the GridView would be a quick way to accomplish this since it has that functionality built in.  If someone could explain this in some more detail, the reason for doing it this way.

    Thanks,
    Erik
  2. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    23 May 2008
    Link to this post
    Hi Erik,

    Thank you for your feedback, you are absolutely right in your observations.
    We decided on the current implementation with a repeater just to give the user the option to choose whether to render tables or not.
    However, we already have plans to use the GridView to generate the output of Download List in one of the upcoming releases but we cannot commit to a stricter timeframe yet.

    Regards,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered