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

"MaximumNodes" doesnt work with "ListLayout-RepeatColumns"

1 Answer 34 Views
SiteMap
This is a migrated thread and some comments may be shown as answers.
Cuneyt
Top achievements
Rank 1
Cuneyt asked on 08 Apr 2014, 11:36 AM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter Filipov
Telerik team
answered on 11 Apr 2014, 12:35 PM
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.

 
Tags
SiteMap
Asked by
Cuneyt
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or