RadSiteMap in right to left

6 posts, 0 answers
  1. reza
    reza avatar
    45 posts
    Member since:
    Apr 2011

    Posted 26 Aug 2012 Link to this post

    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
  2. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 27 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ahmed
    Ahmed avatar
    3 posts
    Member since:
    Dec 2012

    Posted 18 Dec 2012 Link to this post

    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

     
  5. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 24 Dec 2012 Link to this post

    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.
  6. Ahmed
    Ahmed avatar
    3 posts
    Member since:
    Dec 2012

    Posted 25 Dec 2012 Link to this post

    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
  7. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 28 Dec 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017