You can try one of the below approaches:
- Declare to separate RadListView controls and display one of them depending of the data source records count
- Define the RadListView entirely in code-behind, on Page_Init
. For that purpose, you should define separate classed for the LayoutTemplates and ItemTemplates. And on Page_Init decide which templates shuld the RadListView use.
All the best,
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>