the SlideView swipe make a flash

9 posts, 2 answers
  1. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 20 Feb 2014 Link to this post

     when i swipe to next item in slide view it make a flash for the whole page How can i remove it?
  2. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 25 Feb 2014 Link to this post

    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.
  3. DevCraft banner
  4. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 03 Mar 2014 in reply to Todor Link to this post

    Thanks Todor . I've another question ,How to change the default  value when the slide view item source is empty "No Data is display "
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 06 Mar 2014 Link to this post

    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!

  6. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 07 Mar 2014 in reply to Todor Link to this post

    the slideview has this value by default when it's item source is empty or null i want to not to display it 
  7. Todor
    Admin
    Todor avatar
    778 posts

    Posted 10 Mar 2014 Link to this post

    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.

  8. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 10 Mar 2014 in reply to Todor Link to this post

    I add RadPaginationControl  and link it with RadSlideView Is RadPaginationControl   which  display  " display No data to display" ?
  9. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 10 Mar 2014 Link to this post

    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.

  10. Eng
    Eng avatar
    21 posts
    Member since:
    Jun 2013

    Posted 11 Mar 2014 in reply to Todor Link to this post

    Thanks Todor  .Yes it solve my problem :)
Back to Top
DevCraft banner