radtileview scrollbar not appearing

2 posts, 0 answers
  1. Ankit
    Ankit avatar
    9 posts
    Member since:
    Jan 2011

    Posted 05 Feb 2011 Link to this post


    This is my code :-

    I have my layout root set to Scrollviewer. Still the RadTileView does not show scrollbar. Notice that i have scrollviewer in 1st item, So it shows for the RadTileView but i need scrollbar for whole page not for the container. How can i show that? I want my RadTileitem to show full grid and the scrollbar should appear normal just as you see with normal html page. I don't want scrollbar for the item itself but i need it at the page level. What changes do i need to make in the existing code :-
        d:DesignWidth="640" d:DesignHeight="480">
        <ScrollViewer x:Name="LayoutRoot" Background="White">
                <Grid Margin="0,0,-27,0" Background="Black" Height="156" VerticalAlignment="Top">
                    <TextBlock HorizontalAlignment="Center" Margin="0" TextWrapping="Wrap" Text="Some content" d:LayoutOverrides="Height" Foreground="White" VerticalAlignment="Center"/>
                <telerik:RadTileView Margin="0,156,-27,-10" MinimizedColumnWidth="100">
                    <telerik:RadTileViewItem Header="Item 1" Position="0" TileState="Maximized">
                        <Grid Background="Yellow" Height="700" Width="1500"/>
                    <telerik:RadTileViewItem Header="Item 2" TileState="Minimized"/>
                    <telerik:RadTileViewItem Header="Item 3" TileState="Minimized"/>
  2. Petar Mladenov
    Petar Mladenov avatar
    3147 posts

    Posted 09 Feb 2011 Link to this post

    Hi Ankit,

    The problem in this situation is that the RadTileView cannot set its own width or let its parent containers know the with of its Children`s content. I prepared for you a sample workaround but it is a bit hacky and could be risky. The other approach could be setting explicit width and height of the RadTiLeView bigger than its Item`s sizes. Please feel free to ask if you need further assistance. 

    All the best,
    Petar Mladenov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top