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

SlideView swiping and fullscreen ad with WebBrowser

1 Answer 61 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.
Mirko
Top achievements
Rank 1
Mirko asked on 18 Jul 2013, 02:08 PM
Hi,
I've got a question, do you have any recommendation or trick, how to use the SlideView for browsing list of 'articles' in fullscreen mode where some items in the list are in fact fullscreen ads created using the WebBrowser component? The problem is WebBrowser is capturing all touch events and it's not propagating them to logical tree and to the parent SlideView. The result is once I swipe to this page with fullscreen Ad/WebBrowser, I cannot leave this page, the swiping gesture is not propagated to SlideView.

Thanks for any response.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 19 Jul 2013, 02:05 PM
Hi Mirko,

Thank you for writing.

The WebBrowser control doesn't seem to provide a way to be used as you would like. One possible workaround is to add buttons that will perform the navigation in RadSlideView by using its MoveToNextItem and MoveToPreviousItem methods. Another option is to display the browser with fixed height so that it doesn't take the whole screen by using an ItemTemplate similar to this one:
<DataTemplate>
    <Grid Background="LightBlue">
        <phone:WebBrowser Height="500" Source="{Binding}" />
    </Grid>
</DataTemplate>

This way there will be some visible area above and under the browser that will allow you to slide to the other items.

I hope this information helps.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
SlideView
Asked by
Mirko
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or