Telerik Forums
UI for WPF Forum
0 answers
78 views
Hi

i bind DataTable to GridView.
and then i used CustomAggregateFunction(StandardDeviationFunction)...

then occur Exception : 
InvalidOperationException.
No generic method 'StdDev' on type 'RadGridViewTest.Statistics' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic.

how to do i????

thank you
Guntae Park
Top achievements
Rank 1
 asked on 19 Jan 2012
10 answers
422 views
Hi Telerik,

I have the xaml below, which gives me a control that responds beautifully to mouse-right-clicks and displays the context menu. The special key on my keyboard for context menu is ignored, however. Any clues as to what I am doing wrong?

Thanks,

Anders, Denmark

<UserControl x:Class="Rap1D.Rap1D_WPF.Controls.Navigator.NavigatorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:WorkspaceExplorer="clr-namespace:Rap1D.ViewModelLayer.Implementations.Commands.WorkspaceExplorer;assembly=Rap1D.ViewModelLayer.Implementations"
             xmlns:TreeViewItems="clr-namespace:Rap1D.ViewModelLayer.Implementations.TreeViewItems;assembly=Rap1D.ViewModelLayer.Implementations"
             xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation">
    <DockPanel>
        <TreeView ItemsSource="{Binding Path=Children, NotifyOnSourceUpdated=True}" Name="treeview">
            <TreeView.ItemContainerStyle>
                <Style TargetType="{x:Type TreeViewItem}">
                    <Setter Property="WorkspaceExplorer:MouseDoubleClickBehavior.MouseDoubleClick" Value="{Binding ActivateItemCommand}" />

                    <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
                    <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
                    <Setter Property="FontWeight" Value="Normal" />
                    <Style.Triggers>
                        <Trigger Property="IsSelected" Value="True">
                            <Setter Property="FontWeight" Value="Bold" />
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </TreeView.ItemContainerStyle>

            <TreeView.Resources>
                <HierarchicalDataTemplate x:Key="MenuItemTemplate"
                                 ItemsSource="{Binding ContextMenuItems}">
                    <TextBlock Text="{Binding Text}" />
                </HierarchicalDataTemplate>
                <HierarchicalDataTemplate DataType="{x:Type TreeViewItems:ProjectViewModel}" ItemsSource="{Binding Children}">
                    <StackPanel Orientation="Horizontal">
                        <Image Width="16" Height="16" Margin="3,0" Source="Images\Project.png" />
                        <TextBlock Text="{Binding DisplayName}" />
                    </StackPanel>
                </HierarchicalDataTemplate>

                <HierarchicalDataTemplate DataType="{x:Type TreeViewItems:ProductViewModel}" ItemsSource="{Binding Children}">
                    <StackPanel Orientation="Horizontal">
                        <Image Width="16" Height="16" Margin="3,0" Source="Images\Product.png" />
                        <TextBlock Text="{Binding DisplayName}" />
                    </StackPanel>
                </HierarchicalDataTemplate>

                <HierarchicalDataTemplate DataType="{x:Type TreeViewItems:ProductDesignViewModel}" ItemsSource="{Binding Children}">
                    <StackPanel Orientation="Horizontal">
                        <Image Width="16" Height="16" Margin="3,0" Source="Images\ProductDesign.png" />
                        <TextBlock Text="{Binding DisplayName}" />
                    </StackPanel>
                </HierarchicalDataTemplate>

                <DataTemplate DataType="{x:Type TreeViewItems:ProductComponentViewModel}">
                    <StackPanel Orientation="Horizontal">
                        <Image Width="16" Height="16" Margin="3,0" Source="Images\Component.png" />
                        <TextBlock Text="{Binding DisplayName}" />
                    </StackPanel>
                </DataTemplate>
            </TreeView.Resources>
            <Controls:RadContextMenu.ContextMenu>
                <Controls:RadContextMenu x:Name="radContextMenu"
                                         ItemTemplate="{StaticResource MenuItemTemplate}">
                    <Controls:RadMenuItem Header="C_ut"
                                          Command="{Binding CutCommand}" />
                    <Controls:RadMenuItem Header="Copy"
                                          Command="{Binding CopyCommand}" />
                    <Controls:RadMenuItem Header="Paste"
                                          Command="{Binding PasteCommand}" />
                    <Controls:RadMenuItem Header="Delete"
                                          Command="{Binding DeleteCommand}" />
                    <Controls:RadMenuItem Header="_Editor"
                                          Command="{Binding ShowEditorCommand}" />

                </Controls:RadContextMenu>
            </Controls:RadContextMenu.ContextMenu>
        </TreeView>
    </DockPanel>
</UserControl>
Hristo
Telerik team
 answered on 19 Jan 2012
3 answers
139 views
Hi,

Is there a way to reload the radcarousel in runtime?
It seems that there is no refresh() or reload() method.
Please advise.

Best Regards,
Jog
Vlad
Telerik team
 answered on 19 Jan 2012
1 answer
225 views
Hello,
I am using telerik new Radar charts. 

I am looking for a way to customise Radar Categories and Labels.
My objective is to change color and font of each label and category individually (see attached file for example)
Is this possible?

Thank you for answer. 

Aldric
Vladimir Milev
Telerik team
 answered on 18 Jan 2012
1 answer
125 views
I have a collection of resources that will vary per instance of the scheduler.  I am not seeing a way to have the collection populated with whatever is in my collection.  Any help would be greatly appreciated.
Yana
Telerik team
 answered on 18 Jan 2012
1 answer
185 views
How do you change the title of the Edit Appointment Dialog that appears on double-click of a Schedule View?
Yana
Telerik team
 answered on 18 Jan 2012
3 answers
75 views

Hi,

I am using “2011.3.1220.40” version of Telerik WPF dlls. 

Getting some weird Behavior of RadDataGrid. Below are the details.

  1. Clicking on filter is brining filter on top left corner of the screen. (Refer attached screenshot)
  2. I am not getting filter on column header all the time, sometime it appears and some time not. (Refer attached screenshot)

Mostly got problem when testing in higher resolution / multiple monitors.

This inconsistency really bother me and don't know how to fix it. Can anybody please give some clue.

Thanks in Advance.
Vlad
Telerik team
 answered on 18 Jan 2012
3 answers
241 views
When i set the RadRichTextBox's background property in layoutmode property is normal,the background is effective.
But when the LayoutMode is paged the background property is invalid,and look like something shut out.

I want to set the background property in layoutmode is paged can be effectove,please help me(⊙_⊙)?
Martin Ivanov
Telerik team
 answered on 18 Jan 2012
1 answer
108 views
Greeting.

Can you give any information about Radchart performance at huge datasets.
I want to display ScatterPlot with 150.000 point inside.
I cannot use SamplingThreshold, because i must show all points.
(if i have 500x500point area, in bad scenario i must show 500*500=250.000 points)


I try to create some tests.
With SamplingThreshold=200, when i add to datasource my dataset, it want 4 seconds or so.
And after this control painted without any pause.
With SamplingThreshold=5000 i wait  10-15second before control painted.
With SamplingThreshold=25000 i wait 100-150second before control painted.
With SamplingThreshold=100000 i wait 10 minutes... no way... application struck.
I try disable animation, disable autorange etc etc etc, nothing help.

Can Radchart potentially show 150.000 point, or it just impossible ?
If it possible, may be any example with big set available ?

Best Regards
Serg
Ves
Telerik team
 answered on 18 Jan 2012
2 answers
171 views
Hi Telerik,

I need to 'do stuff' when user switches from one radpane to another.

I've looked at RadPane.GotFocus() and RadPane.GotKeyboardFocus() but they only fire once I activate contents of the RadPane -- i.e. when I click the pane header, I do not get the desired notification.

Do you have a recommendation on what to 'watch'?

Thanks,

Anders, Denmark
Anders
Top achievements
Rank 1
 answered on 18 Jan 2012
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?