<local:MyGridRowStyleSelector x:Key="RowStyleSelector"> <local:MyGridRowStyleSelector.MoreResultsRowStyle> <Style TargetType="telerik:TreeListViewRow" x:Name="MoreResults"> <Setter Property="telerik:TreeListViewRow.Template" Value="{StaticResource MoreDataCustomRowTemplate}" /> </Style> </local:MyGridRowStyleSelector.MoreResultsRowStyle> <local:MyGridRowStyleSelector.NormalRowStyle> <Style TargetType="telerik:TreeListViewRow" x:Name="NormalResults"> </Style> </local:MyGridRowStyleSelector.NormalRowStyle></local:MyGridRowStyleSelector><ItemsControl x:Name="PART_DataCellsPresenter" Grid.ColumnSpan="2" Grid.Column="1" ItemsSource="{Binding Path=Functions}"> <ItemsControl.ItemTemplate> <DataTemplate> <Grid> <Button Content="{Binding}" /> </Grid> </DataTemplate> </ItemsControl.ItemTemplate></ItemsControl><telerik:GridViewDataColumn ColumnGroupName="ColumnsTrans" DataMemberBinding="{Binding Value1}" DataFormatString="{}{0:f2}" IsFilterable="False" IsReadOnly="True" Width="70" FooterTextAlignment="Right" > <telerik:GridViewDataColumn.Header> <TextBlock TextWrapping="Wrap" TextAlignment="Center"> <TextBlock.Text> <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type Window}}" Path="DataContext.Label1" /> </TextBlock.Text> </TextBlock> </telerik:GridViewDataColumn.Header> <telerik:GridViewDataColumn.AggregateFunctions> <telerik:SumFunction Caption="" ResultFormatString="{}{0:N2}" ></telerik:SumFunction> </telerik:GridViewDataColumn.AggregateFunctions> </telerik:GridViewDataColumn>((IObjectContextAdapter) GearboxEntities).ObjectContext;
Hi,
i am using the namespace - Telerik.Windows.Controls(2009.3.1208.35)
How to add button column to telerik radgridview for WPF programatically
and how to fire the event.
Thank you,
Shashi
Hello,
I am using Pivot Grid which has its DataProvider’s ItemSource as DataTable with large number of rows (around 500000).
Pivot grid takes some time to display this data and shows wait window which says “Loading…”.
Kindly let me know if I can achieve this somehow.
Thanks,
Shiv Ram
What I tried so far:
None of the above works. The only way is having the .dll files right next to the .exe in the same directory which I do not want.
Thanks,
Hello, I downloaded 2013_2_0729 hotfix and RadRibbionView doesn't work as before.
I'm using the below code (called from the OnContentRendered event of RadRibbonWindow).
_mainRibbon is a RadRibbonView instance and each tab in _mainRibbon is dynamically created.
This code worked fine in former versions, but after applying 2013_2_0729 hotfix, NullExceptionError occurrs in _mainRibbon.Visibility = Visibility.Visible;. Can this be fixed?
private void createFeatures()
{
List<IPluginFactory> featureFactories = PluginManager.Instance.GetFactories(typeof(IFeatureFactory));
foreach (IPluginFactory factory in featureFactories)
{
// Providing callback (delegate) to create any number of FeatureWindows from the feature
IFeature feature = (factory as IFeatureFactory).Create(_mainRibbon, createFeatureWindow, create3DWindow);
}
_mainRibbon.SelectedIndex = 0;
_mainRibbon.Visibility = Visibility.Visible;
}