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

the SlideView swipe make a flash

8 Answers 62 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Eng
Top achievements
Rank 1
Eng asked on 20 Feb 2014, 03:26 PM
 when i swipe to next item in slide view it make a flash for the whole page How can i remove it?

8 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 25 Feb 2014, 08:02 AM
Hi,

Thank you for your question.

You need to set RadSlideView's CacheMode property to BitmapCache in order to avoid this flash effect:

<telerikPrimitives:RadSlideView CacheMode="BitmapCache" />


Regards,
Todor
Telerik
If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
0
Eng
Top achievements
Rank 1
answered on 03 Mar 2014, 06:44 AM
Thanks Todor . I've another question ,How to change the default  value when the slide view item source is empty "No Data is display "
0
Todor
Telerik team
answered on 06 Mar 2014, 08:10 AM
Hello,

RadSlideView doesn't have a default empty content, so need to do this manually. For example, you can add a TextBlock and display it on top of RadSlideView in cases when there are no items: 
if (slideView.ItemsSource == null || slideView.ItemsSource.Count() == 0)
{
    emptyContentTextBlock.Visibility = Visibility.Visible;
    emptyContentTextBlock.Text = "No Data to display";
}

I hope this information helps.

Regards,
Todor
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
Eng
Top achievements
Rank 1
answered on 07 Mar 2014, 06:48 PM
the slideview has this value by default when it's item source is empty or null i want to not to display it 
0
Todor
Telerik team
answered on 10 Mar 2014, 08:19 AM
Hello,

There shouldn't be any empty content message in RadSlideView. RadDataBoundListBox has an empty content message "No data to display". If this is the control you are using, you can change/remove the message through the control's EmptyContent property. If you really have empty content in RadSlideView, please give us exact steps to reproduce it, so that we can assist you further.

Regards,
Todor
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
Eng
Top achievements
Rank 1
answered on 10 Mar 2014, 03:08 PM
I add RadPaginationControl  and link it with RadSlideView Is RadPaginationControl   which  display  " display No data to display" ?
0
Accepted
Todor
Telerik team
answered on 10 Mar 2014, 03:44 PM
Hello,

Yes, the text comes from RadPaginationControl and more precisely from the thumbnail list that it contains. Here's the solution:

<telerikPrimitives:RadPaginationControl>
    <telerikPrimitives:RadPaginationControl.ThumbnailListStyle>
        <Style TargetType="telerikPrimitives:RadDataBoundListBox">
            <Setter Property="EmptyContent" Value="" />
        </Style>
    </telerikPrimitives:RadPaginationControl.ThumbnailListStyle>
</telerikPrimitives:RadPaginationControl>

I hope this information helps.

Regards,
Todor
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
Eng
Top achievements
Rank 1
answered on 11 Mar 2014, 07:13 AM
Thanks Todor  .Yes it solve my problem :)
Tags
SlideView
Asked by
Eng
Top achievements
Rank 1
Answers by
Todor
Telerik team
Eng
Top achievements
Rank 1
Share this question
or