More in this section
Forums / General Discussions / change RadListView to GridView output for new module

change RadListView to GridView output for new module

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Tom
    Tom avatar
    19 posts
    Registered:
    28 Nov 2014
    17 Dec 2014
    Link to this post

    Hi, is there an easy way to change the RadListView in the widget that is created by default for a new SiteFinity module to be in GridView format? I also need to set the column titles in it.

    Thanks,

    Tom

  2. Seth Cleaver
    Seth Cleaver avatar
    24 posts
    Registered:
    02 Aug 2016
    23 Dec 2014
    Link to this post
    Hi,

    To do this you would need to create your own detail view that uses a Gridview as the output as there is no easy way to change from a RadListView.

    To create your own detail view you could use a WebUserControl and get the url params like so to fetch the item:

    RouteHelper.SetUrlParametersResolved(true);
                string urlParams = this.GetUrlParameterString(true);
                if (!String.IsNullOrEmpty(urlParams))
                {
                    lblURL.Text = urlParams;
                }
                else
                    lblURL.Text = "No Params";

    I hope this helps.


    Regards,
    Seth Cleaver
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered