Hello, I am new with Telerik controls, but it's making my applications looks much better.
But I have a problem, My application has a RadTabControl with 4 RadTabItem, and the RadTabItems contains a grid with a RadGridView with an ItemsSource, this is the one that is wrong:
I have ser my RadGridView "gridStatus" Height, Width and ColumnWidth to Auto, but in runtime I get an extra column and the content does not fit the width of the RadGridView ( I attach a screen print)
I have tried to set Height and Width in Page1.xaml.cs but I can´t set it to Auto, because the value has to be a double.
But the weirdest thing is that I have another RadGridView that works fine, I copied the code from this to the other, and removed a column that I didn't need, and it was the same, the properties are set to Auto, but I have an "extra column".
Hope you can help me because I have no idea of what to to.
Thanks!
But I have a problem, My application has a RadTabControl with 4 RadTabItem, and the RadTabItems contains a grid with a RadGridView with an ItemsSource, this is the one that is wrong:
<telerik:RadTabItem Name="StatusTab" Header="Status Summary" IsSelected="True" MouseUp="StatusTab_MouseUp"> <Grid> <telerik:RadGridView Margin="47.773,61.105,0,0" Name="gridStatus" AutoGenerateColumns="False" ColumnWidth="Auto" telerik:StyleManager.Theme="Vista" CanUserDeleteRows="False" CanUserInsertRows="False" ActionOnLostFocus="None" Height="Auto" VerticalAlignment="Top" Width="Auto" HorizontalAlignment="Left"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Key}" Width="auto"/> <telerik:GridViewDataColumn Header="Description" DataMemberBinding="{Binding Value.Description}" Width="auto" /> <telerik:GridViewDataColumn Header="State" DataMemberBinding="{Binding Value.State}" Width="auto"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid> </telerik:RadTabItem>I have ser my RadGridView "gridStatus" Height, Width and ColumnWidth to Auto, but in runtime I get an extra column and the content does not fit the width of the RadGridView ( I attach a screen print)
I have tried to set Height and Width in Page1.xaml.cs but I can´t set it to Auto, because the value has to be a double.
But the weirdest thing is that I have another RadGridView that works fine, I copied the code from this to the other, and removed a column that I didn't need, and it was the same, the properties are set to Auto, but I have an "extra column".
Hope you can help me because I have no idea of what to to.
Thanks!