<telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition Title="{res:Res Static=loc:ResourceIntervention.DayPlanning, Default='Jour!'}"/>
<telerik:WeekViewDefinition Title="{res:Res Static=loc:ResourceIntervention.WeekPlanning, Default='Semaine!'}"/>
<telerik:MonthViewDefinition Title="{res:Res Static=loc:ResourceIntervention.MonthPlanning, Default='Mois!'}"/>
</telerik:RadScheduleView.ViewDefinitions>
<telerik:RadScheduleView.GroupDescriptionsSource><telerik:GroupDescriptionCollection>
<telerik:DateGroupDescription />
<telerik:ResourceGroupDescription ResourceType="Technicians" />
</telerik:GroupDescriptionCollection>
</telerik:RadScheduleView.GroupDescriptionsSource>
I would like to group data by "date" and"Technicians" only in the day view definition.
In the week view definition, I would like to group by "Date" only.
Is it possible?
Kind regards,
Sebastien
I have a ResourceDictionary xaml file that I use for centralized styling. In it I'm trying to use the style below but am getting an error:
Error 1 The type 'telerik:ThemeResourceKey' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\Development\BestpassEM\WPFInfrastructure\Styles\ControlStyles.xaml 36 65 Miscellaneous Files
I have the namespace def at the top of my file (xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" ) what else would I need?
I did have this working but then had to switch my target framework from 4.0 Client Profile to the full verion of 4.0 (to support the telerik ReportViewer control). What could that have broken?
<Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=TextBox}}" x:Key="EditTextStyle"> <Setter Property="HorizontalAlignment" Value="Left" /> <Setter Property="Margin" Value="2" /> <Setter Property="Foreground" Value="#333333" /> <!--<Setter Property="Height" Value="22" /> <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder_Normal}" />--> <Setter Property="Validation.ErrorTemplate" Value="{StaticResource validationTemplate}"/> <Style.Triggers> <Trigger Property="Validation.HasError" Value="True"> <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors).CurrentItem.ErrorContent}"/> </Trigger> </Style.Triggers> </Style> <telerik:RadMaskedNumericInput HorizontalAlignment="Stretch" Grid.Row="3" Grid.Column="1" Value="{Binding Port}" IsClearButtonVisible="False" IsEnabled="{Binding IsReady}" Margin="0,5,0,0" Mask="d5" AutoFillNumberGroupSeparators="False" AllowSkipPlaceholders="False" HorizontalContentAlignment="Left" SelectionOnFocus="CaretToBeginning" Placeholder=" " AutoFillZeros="False" TextMode="PlainText" InputBehavior="Insert"/>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;}