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

ListPicker bug

1 Answer 43 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Park
Top achievements
Rank 1
Park asked on 02 Feb 2012, 03:08 PM
hi
i use image data in ListPicker.
it is Expnded, display 2 image
and Collaped, still display 2 image
this problem is CacheMode="BitmapCache" -> i solve ChacheMode delete...

example pic att

     <telerikInput:RadListPicker x:Name="radListPicker" VerticalAlignment="Stretch" ItemsSource="{Binding BusVM.BusRouteHistoryCollection}"
                                        PopupHeader="노선번호 검색기록" BorderThickness="2" ItemTemplate="{StaticResource BusRouteDataTemplate}" Style="{StaticResource RadListPickerStyle}">

 <!--서브1,노선번호,버스노선 데이터 템플릿-->
 <DataTemplate x:Key="BusRouteDataTemplate">
            <Grid x:Name="TemplateLayoutRoot" MinWidth="430">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="72"/>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
             <Border Margin="0,0,3,0" Background="{Binding RouteType, Converter={StaticResource RouteTypeToColorConverter}}" Width="72" >
              <Image Stretch="None" CacheMode="BitmapCache" Source="{Binding BusRouteNm, Converter={StaticResource StringToImageNameConverter}}" />
             </Border>
             <StackPanel Grid.Column="1">
              <TextBlock Text="{Binding BusRouteNm}" Style="{StaticResource KakiPhoneTextLargeStyle}"/>
              <Grid >
               <TextBlock Text="{Binding StartStationNm}" Style="{StaticResource KakiPhoneTextSubtleStyle}" HorizontalAlignment="Left"/>
               <TextBlock Text="{Binding EndStationNm}" Style="{StaticResource KakiPhoneTextSubtleStyle}" HorizontalAlignment="Right" />
              </Grid>
             </StackPanel>
            </Grid>
 </DataTemplate>

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 06 Feb 2012, 10:26 AM
Hello Park,

Thank you for contacting us and for reporting this issue.

This indeed is a strange behavior and we will investigate it further to see how we can fix the problem. I would like to thank you for your feedback - I have added 500 Telerik points for your time.

Do not hesitate to write us back should you have any other question/problem with our tools.

All the best,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ListPicker
Asked by
Park
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or