RadTileView and WebBrowser

2 posts, 0 answers
  1. Dan
    Dan  avatar
    2 posts
    Member since:
    Oct 2010

    Posted 12 Oct 2010 Link to this post

    RadTileView freezes and stops drawing when running in an out of browser app when it has two tile views with WebBrowser controls in it.  I am binding to a list of objects that have a Title and Content (FrameworkElement) objects

     

     

     

    <telerikNavigation:RadTileView x:Name="tileView" Margin="0 0 7 0" MaximizeMode="One" ItemsSource="{Binding Applications}"

     

     

     

    TileStateChangeTrigger="SingleClick" MinimizedColumnWidth="180" IsTextSearchEnabled="False" FlowDirection="RightToLeft">

     

     

     

     

    <telerikNavigation:RadTileView.ItemContainerStyle>

     

     

     

     

    <Style TargetType="telerikNavigation:RadTileViewItem">

     

     

     

     

    <Setter Property="MinimizedHeight" Value="155" />

     

     

     

     

    </Style>

     

     

     

     

    </telerikNavigation:RadTileView.ItemContainerStyle>

     

     

     

     

    <telerikNavigation:RadTileView.ItemTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <TextBlock Text="{Binding Title}" />

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerikNavigation:RadTileView.ItemTemplate>

     

     

     

     

    <telerikNavigation:RadTileView.ContentTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <telerikNavigation:RadFluidContentControl

     

     

     

    SmallToNormalThreshold="291, 130"

     

     

     

    NormalToSmallThreshold="291, 130"

     

     

     

    NormalToLargeThreshold="730, 350"

     

     

     

    LargeToNormalThreshold="730, 350">

     

     

     

     

     

    <telerikNavigation:RadFluidContentControl.SmallContent>

     

     

     

     

    <Border Width="193" Height="30">

     

     

     

     

    <TextBlock Text="Small Content" />

     

     

     

     

    </Border>

     

     

     

     

    </telerikNavigation:RadFluidContentControl.SmallContent>

     

     

     

     

    <telerikNavigation:RadFluidContentControl.Content>

     

     

     

     

    <ContentPresenter

     

     

     

    Content="{Binding Content}"

     

     

     

    HorizontalAlignment="Stretch"

     

     

     

    VerticalAlignment="Stretch"/>

     

     

     

     

    </telerikNavigation:RadFluidContentControl.Content>

     

     

     

     

    <!--<telerikNavigation:RadFluidContentControl.LargeContent>

     

    <ContentPresenter

    Content="{Binding Content}"

    HorizontalAlignment="Stretch"

    VerticalAlignment="Stretch"/>

    </telerikNavigation:RadFluidContentControl.LargeContent>-->

     

     

     

    </telerikNavigation:RadFluidContentControl>

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerikNavigation:RadTileView.ContentTemplate>

     

     

     

     

    </telerikNavigation:RadTileView>

     

  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 18 Oct 2010 Link to this post

    Hi Dan ,

    There is a bug in the WebBrowser control - if one browser overlaps another everything goes white and freezes. One way to go around this issue is to turn off the IsItemsAnimationEnabled property of the TileView, so that the tiles(browsers) don't overlap.
    I've attached two projects - one with example of the WebBrowser bug and one with a sample solution. If you have any further questions feel free to ask.

    Greetings,
    Zarko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top