Application.Current.Resources.Source = ...Uri<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<telerik:RadDiagram x:Name="_diagram" Grid.Row="0">
<telerik:RadDiagramConnection x:Name="_connector"
StrokeThickness="2"
StartPoint="100,100"
EndPoint="200,200" />
</telerik:RadDiagram>
<Button x:Name="_do"
Grid.Row="1"
Content="Move" Click="_do_Click" /></Grid>
Code behind:
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void _do_Click(object sender, RoutedEventArgs e)
{
_connector.EndPoint = new Point(300, 300);
}
}
//Refreshing aggregate functions var items = MyGrid.Items; foreach (var item in items) { items.EditItem(item); items.CommitEdit(); }ObservableCollection<MapItem> _dataItems = this.GetMapData(); if (MapConfigurationProperties.IsClusteringEnabled) { this.informationLayer.DataMappings.RemoveAll(); this.informationLayer.ItemTemplate = null; this.informationLayer.ClusteredDataSource = _dataSource; }else{ this.informationLayer.ClusteredDataSource = null; this.informationLayer.ItemTemplate = this.radMap.Resources["itemTemplate"] as DataTemplate; this.informationLayer.DataMappings.Add(new DataMapping("Location", DataMember.Location)); this.informationLayer.DataMappings.Add(new DataMapping("BaseZoomLevel", DataMember.ZoomLevel)); this.informationLayer.DataMappings.Add(new DataMapping("ZoomRange", DataMember.ZoomRange)); this.informationLayer.ItemsSource = _dataItems;}The first time I click on the expander for a load on demand item, the little circle appears, but never goes away. The LoadOnDemand event doesn't appear to fire as well. When I click on a second on demand item I receive the following exception...
'LoadingVisualAngleTransform' name cannot be found in the name scope of 'System.Windows.Controls.ControlTemplate'.
Here is the xaml...
<telerik:RadTreeView x:Name="ExtendedTreeView" ItemsSource="{Binding TreeViewItems}" BorderThickness="0" IsEditable="True" IsLoadOnDemandEnabled="True" LoadOnDemand="ExtendedTreeView_LoadOnDemand" telerikAnimation:AnimationManager.IsAnimationEnabled="False" FocusVisualStyle="{x:Null}"><telerik:RadGridView Name="PreviewDataGridView" ItemsSource="{Binding ImportDataView}" EnableRowVirtualization="True" SelectionMode="Extended" SelectionUnit="Mixed" IsReadOnly="False" AutoGenerateColumns="True" ShowGroupPanel="False" ShowInsertRow="False" ReorderColumnsMode="None" CanUserInsertRows="False" CanUserDeleteRows="True" CanUserResizeRows="False" CanUserSelect="True" CanUserSortColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" IsFilteringAllowed="False" BorderBrush="Black" BorderThickness="1" Margin="4, 6, 4, 4" Grid.Row="2" Grid.Column="0"> </telerik:RadGridView>Hello,
I have a grid that displays two levels.
Applications
Client Access
Module Access
When you click the "+" to show the child rows it takes about 8-10 seconds to expand and show the two child tables. Each table does not have more that 40 records.
1) How can I set the cursor to wait while it happening?
2) How can I speed it up?
Here is the relevant section of the markup.
<telerik:RadGridView.HierarchyChildTemplate> <DataTemplate> <StackPanel> <telerik:RadGridView ItemsSource="{Binding ClientAccess}" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="" DataMemberBinding="{Binding IsSelected}"/> <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding SecurityLevel}" Header="Security Level" /> <telerik:GridViewDataColumn Header="Identity"UniqueName="Identity"/> </telerik:RadGridView.Columns> </telerik:RadGridView><telerik:RadGridView ItemsSource="{Binding ToolModuleAccess}" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="" DataMemberBinding="{Binding IsSelected}"/> <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding SecurityLevel}" Width="100" Header="Security Level" /> <telerik:GridViewDataColumn Header="Identity" UniqueName="Identity"/> </telerik:RadGridView.Columns> </telerik:RadGridView></StackPanel></DataTemplate> </telerik:RadGridView.HierarchyChildTemplate>
The viewmodel and all of it's data is set prior to the form's creation.
Any help would be greatly appreciated.
Thanks!
Reid
How Can I Put The PointMark Above AxisY,Like The Attach Image.
I Can't Find A Property To Set.
Help Me,Please.