Padding not working

2 posts, 1 answers
  1. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 09 Aug 2016 Link to this post


    i have this xml code for the panelbar and the padding left seems not working. How should i get it working? Thanks a lot.


    <?xml version="1.0" encoding="utf-8" ?>

    <Item Text="Course" Font-Size="1.1em"  ForeColor="#00a7dd">
          <Item Text="Lists" Font-Size="0.9em" style="padding-left:20px" ForeColor="#00a7dd" />   
          <Item Text="Categories" Font-Size="0.9em" style="padding-left:20px" ForeColor="#00a7dd"/>



  2. Answer
    Veselin Tsvetanov
    Veselin Tsvetanov avatar
    878 posts

    Posted 11 Aug 2016 Link to this post


    When using an XML to bind and load content in RadPanelBar, the style property cannot be mapped. You will have to apply custom CSS rules to the Items instead:
    .RadPanelBar .rpItem .rpGroup .rpItem:first-child .rpLink {
    .RadPanelBar .rpItem .rpGroup .rpItem:nth-child(2) .rpLink {

    Veselin Tsvetanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top