How to set the images of tree (nodelines) to right,and indention for child items

8 posts, 0 answers
  1. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 10 Feb 2014 Link to this post

    Hello i am using radsitemap in right to left forms ,i want to set set it righ to left when i set direction to rtl it does not work.

    please view the attached image.

    and also how can i set the indention for child item in site map to show the depth.

    Best regards
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 12 Feb 2014 Link to this post

    Hi Neda,

    Please refer to out on-line demo here to get a better understanding how you can use RTL for the RadSiteMap control. Regarding the indention you can use the following css class selector to indent the nodes on the first level with 25px :
    div.RadSiteMap .rsmTwoLevels .rsmLevel1 .rsmItem {
           margin-right: 25px;
    }

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 15 Feb 2014 in reply to Kate Link to this post

    Hello
    Thanks fro reply but i have set the direction but i as i have shown in the picture the images don't come to right just the texts come right.
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Feb 2014 in reply to Neda Link to this post

    Hi Neda,

    Please try the following CSS which works fine at my end.

    CSS:
    <style type="text/css">
        .RadSiteMap .rsmList .rsmNodeLines
        {
            padding-left: 350px !important;
        }
        </style>

    Thanks,
    Shinu.
  6. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 19 Feb 2014 Link to this post

    Hello everyone thanks for the replies but the problem still exists, as i shown in pictures attached above ,the node lines are left to right i don't mean the text of the links ,i can set them right but the pictures don't turn right to left.
    please let me know if it is possible to solve it or no????

    Best regards
  7. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 20 Feb 2014 Link to this post

    Hello Neda,

    I tested the RadSiteMap control with the Default skin in RTL mode but I could not get the issue that you describe (you can check the image file that demonstrates the look that I get from my side). Please try using the code from the attached page and let me know how it goes from your side. 

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  8. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 09 Mar 2014 in reply to Kate Link to this post

    Hello Kate thanks for the reply,I had tested your solution before , i show you what exactly i mean in my sitemap in attached file. 
     <telerik:RadSiteMap ID="TRSiteMap" runat="server" dir="rtl" DataFieldID="ID" DataFieldParentID="ParentID"
                                    DataTextField="MenuTitle" DataValueField="ID" ShowNodeLines="True" MaxDataBindDepth="5"
                                    Skin="Default">
                                </telerik:RadSiteMap>

    Any new solution???????!!!please let me know


    Best Regards
  9. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 10 Mar 2014 Link to this post

    Hello Neda,

    Can you please clarify the exact version of the Telerik control so I can test it and try to replicate the issue from my side? Thus I could inspect it thoroughly and be able to assist you in the most efficient way.

    Regards,
    Kate
    Telerik

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017