You can change the presentation layout of the categories list by modifying the template used by the control (i.e. CategoriesList.ascx
) or by creating a copy of the original template and modifying it to exclude the unnecessary elements (Note that the existence of some elements in the template is mandatory, therefore you could just add Visible="false" to hide those elements from showing
If you choose to create a custom template, you can point the CategoryList to use it by filling the CategoriesList > Properties > Appearance > TemplateUrl
with the relative path to your template (for example, "~/[PathToYourTemplate]/[YourTemplateName].ascx").
By using custom template you can fully control the look and fill of the elements, including applying custom styling in order to achieve the horizontal positioning of the elements.
As for displaying News by Category, make sure that you're using the correct CategoryKey as querystring parameter.
By default CategoriesList uses CntCatID
to pass the CategoryID by querystring, so you have to either to modify the NewsView control (Edit > Advanced > QueryString Keys > Category Key
) to expect such parameter or change the key name of the CategoriesList (Edit > Properties > Behavior > CategoryKey
) control to be what NewsView is expecting to receive.
Let us know if this helped you solve your case.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.