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

RadLoopingList showing only 5 items on landscape oriented page

2 Answers 5 Views
LoopingList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Robert
Top achievements
Rank 1
Robert asked on 02 Feb 2015, 10:06 PM
Hello,

I have a little problem with RadLoopingList. It showing only 5 items when it is on landscape oriented page. When I switch back to portrait oriented page, all items are displayed. I'm using 2014.3.1124.3040 version of rad controls for WP 8.

Is there any walkaround how to display all of the items?

Regards
Robert

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 03 Feb 2015, 08:01 AM
Finally I have a solution. I created style for RadLoopingList which caused this problem:

<Style x:Key="RadLoopingListStyle1" TargetType="telerikPrimitives:RadLoopingList">
    <Setter Property="Background" Value="#00ffffff"/>
    <Setter Property="ItemWidth" Value="100"/>
    <Setter Property="ItemHeight" Value="100"/>
    <Setter Property="IsCentered" Value="True"/>
    <Setter Property="Margin" Value="3"/>
    <Setter Property="IsManipulationEnabled" Value="False"/>
    <Setter Property="ItemTemplate">
        <Setter.Value>
            <DataTemplate>
                <TextBlock Text="{Binding}"/>
            </DataTemplate>
        </Setter.Value>
    </Setter>
</Style>

       
When I set:
...
<Setter.Value>
    <DataTemplate>
        <TextBlock Text="{Binding Text}"/>
    </DataTemplate>
</Setter.Value>


I works perfectly



























df

0
Rosy Topchiyska
Telerik team
answered on 05 Feb 2015, 08:01 AM
Hello Robert,

Thank you for contacting us.

Glad to hear that you found a solution. Please, do not hesitate to contact us should you have any other problems.

Regards,
Rosy Topchiyska
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
LoopingList
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Rosy Topchiyska
Telerik team
Share this question
or