Hi,
I want to be able to redefine the default style of the RadDatePicker to make it look like the rest of our components.
To do so, I put a RadDatePicker in my application, I clicked on it via the 'Document Outline' and chose Edit template -> Edit a copy. I then noticed that the RadDatePicker was now experiencing an issue when I "zoom out" to the "Decade" view : If I click on the left arrow (-10 years) or the right arrow (+10 years), the header text correctly changes (2000 -> 1990 / 2000 -> 2010) but the displayed years in the "calendar" section of the date picker aren't affected by the change. I get the same problems if you zoom out to the "hundred years" view.
Here is the simplest project I could put together to show the issue : https://drive.google.com/open?id=1d_GcDKeUfdmifYbo6KedukOIKtyHSiVo
Here are some screenshots of the problem : https://drive.google.com/open?id=182PK161CCZc_1k4m9rogxl_lSXIF8Lc1
Here are the repro steps :
1. Create a new project
2. Add 2 RadDatePicker
3. Select one of the two RadDatePicker, Edit template -> Edit a copy
4. Notice described issue
I hope this is enough for you to help me with this issue, I guess it must be something missing in the copied style that breaks this mecanism.
Thank you for your time :)
Louis
Hi,
I'm trying to to accomplish the following: whenever a user right clicks whatever data grid, the same context menu should appear. One of the options in the context menu is the export to Excel. I'm trying to achieve this by creating a style for the RadGridView. Here's my xaml:
<Style x:Key="TelerikGridViewContextMenuStyle" TargetType="{x:Type telerik:RadGridView}"> <Setter Property="ContextMenu"> <Setter.Value> <ContextMenu> <MenuItem Header="{bx:LocalizeBinding ExportToExcel, Global=True}" Command="{Binding ExportToExcelCmd}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"> <MenuItem.Icon> <Image Source="/Resources/Icons/Excel.png" /> </MenuItem.Icon> </MenuItem> </ContextMenu> </Setter.Value> </Setter></Style>As you can see, I'm trying to pass the RadGridView as a parameter to the command. However, in my code, this parameter is always null. How come ?
I am trying to use Crosshair behavior on inverse axis on the right (see attached png), horizontal axis is on top.
But the result is that both crosshair labels is not rendered properly.
is there any trick on this?
It is good when i use axis at default locations

By the document, we can bind the pager as below.
<Grid x:Name="LayoutRoot" Background="White"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <telerik:RadGridView x:Name="radGridView" ItemsSource="{Binding Employees}" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName}" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding Title}" /> </telerik:RadGridView.Columns> </telerik:RadGridView> <telerik:RadDataPager x:Name="radDataPager" Source="{Binding Items, ElementName=radGridView}" PageSize="5" />The question is that I can't assign the element name of the RadGridView. So how to bind the element?
Thanks.
I'm trying to create a custom AggregateFunction that applies different calculations based on the Field that represents the leaf level in the Pivot Grid. It is for a pivot grid that displays revenue for books sold in a library that includes the sum of sold books - a commision difference (the scenario is made up).
View 1:
Selected fields: Library, Categoy, Book
Should display
Day 1
Library 1050
Fantasy 240 (600-10%)
Book A 100
Book B 200
Book C 300
Drama 810 (900-10%)
Book D 400
Book E 500
View 2:
Selected fields: Library, Categoy
Should display
Day 1
Library 1050
Fantasy 240 (600-10%)
Drama 810 (900-10%)
In the scenarios above, the -10% needs to be aggregated only on Category level and above, not on Book level. I created a custom aggregate function but wasn't able to find a solution of checking the field that the row to which the aggregate applies belongs to, whether it is Book or Category.
Does anybody know how to do this?
Thanks!
Hi,
In my code I have an defined at the Window level which then floats a pane, now I want to make the floated pane to be docked again using a shortcut key while the focus is on the floating RadPane.
I added this
<telerik:RadDocking.InputBindings>
<KeyBinding Gesture="Ctrl+D"
Command="{Binding FloatPanesCommand}" />
</telerik:RadDocking.InputBindings>
But this does not work and the command is never triggered. Could someone please help.
Hi, I have not been able to find documentation yet on how to handle events generated by the RadBreadcrumb control, can you point me at the docs? I would really like to bind inidividual 'crumbs' to an ICommand using MVVM. (the same way I would bind a button's Command property to an ICommand) If that's not possible, is there anything else I can do to bind to this control, or do I have to use the events?
Hi,
I installed the WPF controls (trial version, NoXaml) and setup my application according to the docs.
Unfortunately the controls do neither appear in the designer nor in the application after starting it.
You find attached a screenshot from the references. I used the references from C:\Program Files (x86)\Progress\Telerik UI for WPF R1 2018\Binaries.NoXaml\WPF45
Here is the App.xml content:
<Application.Resources>
<ResourceDictionary x:Key="Default">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Am I missing something? Any help would be appreciated...
Regards,
Abid

Hello,
I want to know if it's possible to wrap LayoutControl (inside a LayoutControlExpanderGroupin my example).
I'm not able to achieve this.
Here is a sample of my code :
<telerik:LayoutControlExpanderGroup Margin="0,10,0,0" IsExpandable="True" IsExpanded="true" Header="Paramètrage" Orientation="Horizontal" VerticalAlignment="Top"> <WrapPanel Orientation="Horizontal"> <telerik:LayoutControlGroup HorizontalAlignment="left" Orientation="Vertical" VerticalAlignment="top" Width="auto"> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Gestion multi-poste" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="Mono-poste" HorizontalAlignment="left" Width="350" HorizontalContentAlignment="left" /> </DockPanel> </telerik:LayoutControlGroup> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Catégories masters" HorizontalAlignment="left" VerticalAlignment="Center" Width="auto" /> <telerik:RadDropDownButton Content="VE" HorizontalAlignment="left" Width="350" HorizontalContentAlignment="left" /> </DockPanel> </telerik:LayoutControlGroup> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Affichage des records sur feuilles terrain" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Dossards" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> </telerik:LayoutControlGroup> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Utilisation des clubs Maitres (impression)" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Epreuves officielles uniquement" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> </telerik:LayoutControlGroup> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Compétition en live" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Affichage sur tableau externe" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> </telerik:LayoutControlGroup> <telerik:LayoutControlGroup VerticalAlignment="Top" > <DockPanel > <TextBlock Text="Controle du type de licences autorisées" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="top" Width="200" /> <CheckBox x:Name="chkTypeLicence" VerticalAlignment="Top" HorizontalAlignment="left"/> <telerik:RadListBox Visibility="{Binding IsChecked,ElementName=chkTypeLicence,Converter={StaticResource BoolToVisConverter }}" > <telerik:RadListBoxItem > <TextBlock Text="Type licence 1" Height="auto"/> </telerik:RadListBoxItem> <telerik:RadListBoxItem > <TextBlock Text="Type licence 2" Height="auto"/> </telerik:RadListBoxItem> <telerik:RadListBoxItem > <TextBlock Text="Type licence 3" Height="auto"/> </telerik:RadListBoxItem> </telerik:RadListBox> </DockPanel> </telerik:LayoutControlGroup> </telerik:LayoutControlGroup> <telerik:LayoutControlTabGroup Grid.Column="1" VerticalAlignment="top" > <telerik:LayoutControlTabGroupItem Header="Stade" > <telerik:LayoutControlGroup Orientation="Vertical" > <DockPanel > <TextBlock Text="Utilisation des montées de barres" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Utilisation des performances d'engagement" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <DockPanel > <TextBlock Text="Table de points" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="Hongroise" HorizontalAlignment="left" Width="350" HorizontalContentAlignment="left" /> </DockPanel> <DockPanel > <TextBlock Text="Type de chronomètrie" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="E" HorizontalAlignment="left" Width="80" HorizontalContentAlignment="left" /> </DockPanel> <DockPanel> <TextBlock Text="Société de chronomètrie" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="Société 1" HorizontalAlignment="left" Width="350" HorizontalContentAlignment="left" /> </DockPanel> <DockPanel > <TextBlock Text="Exporter le triathlon calculé" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <DockPanel > <TextBlock Text="Critériums" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="top" Width="200" /> <CheckBox x:Name="chkCriterium" HorizontalAlignment="left" VerticalAlignment="top"/> <telerik:RadListBox Visibility="{Binding IsChecked,ElementName=chkCriterium,Converter={StaticResource BoolToVisConverter }}" > <telerik:RadListBoxItem > <TextBlock Text="Critérium 1" Height="auto"/> </telerik:RadListBoxItem> <telerik:RadListBoxItem > <TextBlock Text="Critérium 2" Height="auto"/> </telerik:RadListBoxItem> <telerik:RadListBoxItem > <TextBlock Text="Critérium 3" Height="auto"/> </telerik:RadListBoxItem> </telerik:RadListBox> </DockPanel> </telerik:LayoutControlGroup> </telerik:LayoutControlTabGroupItem> <telerik:LayoutControlTabGroupItem Header="Ekiden"> <telerik:LayoutControlGroup Orientation="Vertical"> <DockPanel > <TextBlock Text="Unicité des dossards sur la compétition" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <DockPanel > <TextBlock Text="Saisie des temps au parcours" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> </telerik:LayoutControlGroup> </telerik:LayoutControlTabGroupItem> <telerik:LayoutControlTabGroupItem Header="Hors Stade" > <telerik:LayoutControlGroup Orientation="Vertical"> <DockPanel > <TextBlock Text="Incrémentation automatique des n° de dossards" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Unicité des dossards sur la compétition" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <DockPanel > <TextBlock Text="Unité allure" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="Km/h" HorizontalAlignment="left" Width="120" HorizontalContentAlignment="left" /> </DockPanel> <DockPanel > <TextBlock Text="Utiliser la table des prénoms féminins" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Bloquer l'affectation automatique des dossards sur la compétition" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <!--<DockPanel > <TextBlock Text="Bloquer l'affectation automatique des dossards sur la compétition" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel>--> <DockPanel > <TextBlock Text="Calcul des catégories en priorité sur les ages des catégories non officielles" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <DockPanel > <TextBlock Text="Utiliser le code E/I dans les résultats par équipe" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> <TextBlock Margin="75,0,0,0" Text="Composer automatiquement les équipes 1, 2, 3 si elles existent" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel> <!--<DockPanel > <TextBlock Text="Composer automatiquement les équipes 1, 2, 3 si elles existent" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <CheckBox HorizontalAlignment="left"/> </DockPanel>--> <DockPanel > <TextBlock Text="Méthode de composition pour les classements par équipe" TextWrapping="wrap" HorizontalAlignment="left" VerticalAlignment="Center" Width="200" /> <telerik:RadDropDownButton Content="Ligue" HorizontalAlignment="left" Width="120" HorizontalContentAlignment="left" /> </DockPanel> </telerik:LayoutControlGroup> </telerik:LayoutControlTabGroupItem> </telerik:LayoutControlTabGroup> </WrapPanel></telerik:LayoutControlExpanderGroup>
When i reduce my window with, i want that LayoutControlTabGroupgo under my LayoutControlGroup.
Thanks in advance.
Regards.