or
private void ContactsGridViewRowLoaded(object sender, RowLoadedEventArgs e) { e.Row.MouseLeftButtonUp += delegate(object sender1, MouseButtonEventArgs e1) { MessageBox.Show("click!"); }; }
Hi,
I am working on WPF.\ and we are using telerik controls in our project.
we are implementing Expand all rows functionalaity in Telerik radgridview . In our radgridview few rows has childgrid and if we are using expandallhierarchyitems() method then it is expanding all rows. My requirment is when i click on expand all button then it shoud expand only those rows which have child grid control.
<telerik:GridViewDataColumn DataMemberBinding="{Binding SourceName}" Header="{Binding SourceObjectHeader}" >
Thanks,
Jason

<telerik:RadRibbonBar> <telerik:RadRibbonTab Header="Tab 2" x:Name="Tab2"> <telerik:RadRibbonGroup Header="Select an item"> <StackPanel Orientation="Vertical" Margin="0,5,0,0"> <telerik:RadRibbonComboBox Name="myComboBox" Margin="0,5,0,0" > <telerik:RadRibbonComboBoxItem Content="New Item..." Selected="NewItem_Selected"></telerik:RadRibbonComboBoxItem> </telerik:RadRibbonComboBox> </StackPanel> </telerik:RadRibbonGroup> </telerik:RadRibbonTab></telerik:RadRibbonBar><UserControl.Resources> <DataTemplate x:Key="EmptyTemplate1"> <TextBlock FontStyle="Italic" Text="Select a value from the list" /> </DataTemplate> <DataTemplate x:Key="EmptyTemplate2"> <TextBlock FontStyle="Italic" Text="There are no selections at this time" /> </DataTemplate> <DataTemplate x:Key="EmptyTemplate3"> <TextBlock FontStyle="Italic" Text="Please complete the first tab before selecting" /> </DataTemplate></UserControl.Resources>myComboBox.EmptySelectionBoxTemplate = (DataTemplate)FindResource("EmptyTemplate1");myComboBox.InvalidateProperty(RadComboBox.EmptySelectionBoxTemplateProperty);myComboBox.InvalidateVisual();