or
row.Visibility =
Visibility.Collapsed;
then blank spaces appears accross the row in my TreeListView. I do nt want to show the row based on my condition. How i will be able to accomplish that. Please help me.
if
(objBind.Level == 3 && objBind.Items.Count == 0)
{
row.Visibility =
Visibility.Collapsed;
row.Height = 0.0;
}


<telerik:GridViewComboBoxColumn Width="auto" Header="{localization:Translate Key=Ressource_libelleRess, Default='Libellé Ressource'}" DataMemberBinding="{Binding RessourceMoyensID, Mode=TwoWay}" ItemsSource="{Binding ListRessourceMoyens}" DisplayMemberPath="Value.LibelleRessource" SelectedValueMemberPath="Value.RessourceMoyensID" IsComboBoxEditable="True"> <telerik:GridViewComboBoxColumn.EditorStyle> <Style TargetType="telerik:RadComboBox"> <Setter Property="IsFilteringEnabled" Value="True"/> <Setter Property="TextSearchMode" Value="Contains"/> <Setter Property="IsReadOnly" Value="True"/> <Setter Property="StaysOpenOnEdit" Value="True"/> <Setter Property="OpenDropDownOnFocus" Value="True"/> </Style> </telerik:GridViewComboBoxColumn.EditorStyle></telerik:GridViewComboBoxColumn>
<
telerik:RadOutlookBar x:Name="RadOutlookBar1"
MaxWidth="760" ItemsSource="{Binding}"
ItemTemplate="{StaticResource BarTemplate}"
ContentTemplate="{StaticResource redefineoutlook}"
TitleTemplate="{StaticResource BarTemplate}"
Margin="0,0,330,0" ItemDropDownContentTemplate="{StaticResource BarTemplate}">
<DataTemplate x:Key="BarTemplate" >
<TextBlock Text="{Binding Path=A}" FontWeight="Bold" />
</DataTemplate>

private void GridView_CellValidating(object sender, Telerik.Windows.Controls.GridViewCellValidatingEventArgs e) { if (e.OldValue != e.NewValue) { ((System.Windows.Controls.TextBox)(e.EditingElement)).Text = e.NewValue.ToString().ToLower(System.Globalization.CultureInfo.InvariantCulture); IsEdited = true; } }<local:EquipmentsGridView x:Name="uxStowList" ListType="StowList" Deleting="OnDelete" SelectionMode="Extended" CanUserInsertRows="True" ShowInsertRow="True" ShowGroupPanel="True" telerik:StyleManager.Theme = "Office_Blue" IsFilteringAllowed="True" AutoExpandGroups="False" EditTriggers="CellClick" RowLoaded="ListRowLoaded" RowEditEnded="Gridview_RowEditEnded" ColumnWidthChanged="uxStowList_ColumnWidthChanged" DataLoaded="uxStowList_DataLoaded" HorizontalAlignment="Left" VerticalAlignment="Top"> <telerik:RadGridView.Columns> <custom:GridRowNumber Header="#" Width="50" /> <telerik:GridViewColumn> <telerik:GridViewColumn.CellTemplate> <DataTemplate> <telerik:RadRibbonButton SmallImage="Resources\CrossIcon.png" Command="telerikGrid:RadGridViewCommands.Delete" CommandParameter="{Binding}" Name="btnDeleteStowList" Click="btnDeleteStowList_Click" /> </DataTemplate> </telerik:GridViewColumn.CellTemplate> </telerik:GridViewColumn> <telerikGrid:GridViewSelectColumn></telerikGrid:GridViewSelectColumn> </telerik:RadGridView.Columns> </local:EquipmentsGridView>I am binding programatically to a GridViewComboBoxColumn (see C# below) and I am using the CellTemplate to display a RadComboBox instead of text. The problem is that I do not know how to set the ItemSource for the RadComboBox in order to make it work. Thanks in advance for any help!
((GridViewComboBoxColumn)this.RadGridView_TrusteeLedgers.Columns[1]).ItemsSource = trustees;<telerik:GridViewComboBoxColumn Header="Trustee" DataMemberBinding="{Binding TrusteeID}" SelectedValueMemberPath="TrusteeID" DisplayMemberPath="TrusteeCode" Width="60" Name="Trustee"> <telerik:GridViewComboBoxColumn.CellTemplate> <DataTemplate> <telerik:RadComboBox ItemsSource="???" SelectedValuePath="TrusteeID" telerikControls:Theming.Theme="Office_Blue" SelectedValue="{Binding TrusteeID, Mode=TwoWay}" DisplayMemberPath="TrusteeCode" /> </DataTemplate> </telerik:GridViewComboBoxColumn.CellTemplate>