change RadListView to GridView output for new module

Posted by Community Admin on 03-Aug-2018 08:58

change RadListView to GridView output for new module

All Replies

Posted by Community Admin on 17-Dec-2014 00:00

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

Posted by Community Admin on 23-Dec-2014 00:00

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
 

This thread is closed