problem with scrollbar Horizontal

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

    Posted 24 Mar 2011 Link to this post

    i have a radwindow with this options

    <telerik:RadWindow x:Name="windowDetalhesPrevisao"
                               Header="Detalhes do Lançamento da Previsão"
                               Grid.Row="3">
    
    a simple grid with this options
    
                 <telerik:RadWindow.Content>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35" />
                            <RowDefinition Height="25" />
                            <RowDefinition Height="25" />
                            <RowDefinition />
                        </Grid.RowDefinitions>

    and other things ... stackpanel...

    finally, a radgridview

    <telerik:RadGridView x:Name="GridDadosPrevisao"
                                             Grid.Row="3"
                                             HorizontalAlignment="Left"
                                             AutoGenerateColumns="True"
                                             IsReadOnly="True"
                                             FrozenColumnCount="2"
                                             ShowGroupPanel="False"
                                             CanUserReorderColumns="False"
                                             CanUserResizeColumns="False"
                                             CanUserSortColumns="False"                                                
                                             IsFilteringAllowed="False"
                                             Margin="5">
                        </telerik:RadGridView>

    my problem is, this radgrid view dont create the scrollbar Horizontal first time,
    but, when i close the window and open again, this radgridview create!

    2 links with screenshot

    first
    http://img840.imageshack.us/i/24050593.jpg/

    second
    http://img850.imageshack.us/i/25696953.jpg/

    see?
    when i open the window, scrollbar dont be there and
    the radgridview stay "CUT", incomplete.

    when i close and open again, scrollbar be there, complete!

    why?
    what happens?

    sorry for english
    i am starter with english
    i am from brazil!

    thx guys!
  2. Yana
    Admin
    Yana avatar
    4560 posts

    Posted 30 Mar 2011 Link to this post

    Hi neto,

    I tried to reproduce this issue using the provided code but to no avail. I've attached my test project, could you please download it and give it a try?

    Note that it's not a good practice to declare RadWindow as visual element in XAML, more information about this can be found here.

    Regards,
    Yana
    the Telerik team
Back to Top