This is a migrated thread and some comments may be shown as answers.

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

7 Answers 48 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
Neda
Top achievements
Rank 1
Neda asked on 10 Feb 2014, 10:00 AM
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

7 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 12 Feb 2014, 03:41 PM
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.
0
Neda
Top achievements
Rank 1
answered on 15 Feb 2014, 07:44 AM
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.
0
Shinu
Top achievements
Rank 2
answered on 18 Feb 2014, 11:58 AM
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.
0
Neda
Top achievements
Rank 1
answered on 19 Feb 2014, 07:26 AM
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
0
Kate
Telerik team
answered on 20 Feb 2014, 03:11 PM
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.
0
Neda
Top achievements
Rank 1
answered on 09 Mar 2014, 06:01 AM
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
0
Kate
Telerik team
answered on 10 Mar 2014, 11:30 AM
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.

Tags
SiteMap
Asked by
Neda
Top achievements
Rank 1
Answers by
Kate
Telerik team
Neda
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or