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

problem with scrollbar Horizontal

1 Answer 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
neto
Top achievements
Rank 1
neto asked on 24 Mar 2011, 04:54 PM
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!

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 30 Mar 2011, 09:14 AM
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
Tags
Window
Asked by
neto
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or