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

RadSiteMap in right to left

5 Answers 39 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
reza
Top achievements
Rank 1
reza asked on 26 Aug 2012, 12:45 PM
Hi
I add a RadSiteMap to page and set it's 'dir' attribute to 'rtl'. it cause 'RadSiteMap_rtl' class gets added to the rendered html.
But it seem that 'Telerik.Web.UI.WebResource.axd?...' do not return any _rtl css classes for RadSiteMap and
.RadSiteMap .rsmColumn {
    floatleft;
} affect all 'ul' tags to float left.It can get fixed by a simple css class ,But I just want you to know and if I'm right make your wonderful package better. Thank you

5 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 27 Aug 2012, 11:56 AM
Hi, Reza.

Indeed the sitemap does not have any styles about the RTL mode. I've logged this in our PITS and we'll consider it for implementation.

Greetings,
Ivan Zhekov
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ahmed
Top achievements
Rank 1
answered on 18 Dec 2012, 10:37 PM
hi Rad team,

in Mega Drop-Down which is in this link
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx

if i need to reorder the columns under product tab to be right to left
in mega example i saw
<LevelSettings>
    <telerik:SiteMapLevelSetting Level="0">
        <ListLayout RepeatColumns="3" RepeatDirection="Vertical" />
    </telerik:SiteMapLevelSetting>
</LevelSettings>
and i read in help:

If this property is set to RepeatDirection.Vertical, the nodes in the level are displayed in columns loaded from top to bottom, then left to right, until all nodes are rendered.

If this property is set to RepeatDirection.Horizontal, the nodes in the level are displayed in rows loaded from left to right, then top to bottom, until all nodes are rendered.

what actually i need is
columns loaded from top to bottom, then right to left, until all nodes are rendered
if that possible ?

Thanks

 
0
Ivan Zhekov
Telerik team
answered on 24 Dec 2012, 08:34 AM
Hi, Ahmed.

Did you try setting the dir property to RTL as shown in this example http://demos.telerik.com/aspnet-ajax/sitemap/examples/rtl/defaultcs.aspx e.g.:

<telerik:RadSiteMap ID="RadSiteMap1" runat="server" dir="rtl">

That reverses the order from LTR to RTL.

Regards,
Ivan Zhekov
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ahmed
Top achievements
Rank 1
answered on 25 Dec 2012, 09:34 AM
Hi, Ivan

i already did, i already set dir to RTL in RadSiteMap but actually it aligned the text inside each column to
 right but still the first column in left. i.e. start ordering columns from left to right
0
Ivan Zhekov
Telerik team
answered on 28 Dec 2012, 08:28 AM
Hi,

The sitemap uses inline-block styles to form the columns. As such, columns behave like text in terms of alignment, hence are susceptible to both align and dir.

I checked with the latest version and all columns are aligned. All it takes is the dir property and nothing more.

If you take a look at the screenshot attached, you will see what I mean. Note that I am using the latest internal build and there might be some differences in regards to your version. But once that internal goes as a SP you will be able to obtain it.

Regards,
Ivan Zhekov
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
SiteMap
Asked by
reza
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Ahmed
Top achievements
Rank 1
Share this question
or