"MaximumNodes" doesnt work with "ListLayout-RepeatColumns"

2 posts, 1 answers
  1. Cuneyt
    Cuneyt avatar
    36 posts
    Member since:
    Dec 2011

    Posted 08 Apr 2014 Link to this post

    i have sitemap like below:

    <telerik:RadSiteMap ID="smKat" runat="server"
        DataFieldID="Id"
        DataFieldParentID="Parentid"
        DataSourceID="sqlKat"
        DataTextField="katText"
        DataValueField="Id"
        MaxDataBindDepth="2" >
        <DefaultLevelSettings   ListLayout-AlignRows="true" 
            ListLayout-RepeatDirection="Vertical" MaximumNodes="6" >
     
        </DefaultLevelSettings>
         
        <LevelSettings>
            <telerik:SiteMapLevelSetting MaximumNodes="6" Level="0">
                <ListLayout
                    RepeatColumns="3"
                    AlignRows="true"
                    RepeatDirection="Vertical" ></ListLayout>
            </telerik:SiteMapLevelSetting>
            <telerik:SiteMapLevelSetting Level="1" MaximumNodes="6"   >
                <ListLayout
                    RepeatColumns="2"
                    AlignRows="true"
                    RepeatDirection="Vertical" ></ListLayout>
            </telerik:SiteMapLevelSetting>
        </LevelSettings>
    </telerik:RadSiteMap>

    but MaximumNodes doenst work with ListLayout-RepeatColumns. it shows all data if added listlayout options.

    Could you refer any approach to get MaximumNodes with  ListLayout-RepeatColumns .
    Thank you.
  2. Answer
    Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 11 Apr 2014 Link to this post

    Hi Cuneyt,

    It seems it is a bug in the SiteMap control. When Layout is preset the settings section it behaves differently. Please remove the following setting from the SiteMapLevelSetting:
    AlignRows="true"
    In a way of gratitude I have updated your Telerik points.

    Regards,
    Peter Filipov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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