Hi,
Information: I am currently using version 2014.2.729.45 of the Telerik WPF Controls suite. I am wondering if the following is possible:
Problem: Within two groups (date and venue) am I able to filter only venues within each date block that have appointments on them?
Details:
I have currently using two groupings for my Day and Week view definitions, they are as follows:
<telerik:RadScheduleView.GroupDescriptionsSource> <telerik:GroupDescriptionCollection> <telerik:DateGroupDescription /> <telerik:ResourceGroupDescription ResourceType="Venue" ShowNullGroup="False" /> </telerik:GroupDescriptionCollection></telerik:RadScheduleView.GroupDescriptionsSource>This could look like:
Monday
Venue 1
Venue 2
Venue 3
Tuesday
Venue 1
Venue 2
Venue 3
Wednesday
Venue 1
Venue 2
Venue 3
I have tried using the Group Filter property against the view definitions to achieve the required result I am after. However, it appears that it takes all three days, works out which venues have appointments in them, and then shows them all days, irrespective of whether or not a particular day does in fact have something in that venue.
The result I would like to see is:
Monday
Venue 3
Tuesday
Venue 1
Wednesday
Venue 1
Venue 3
The reason for this, is because the particular venues in questions, only have appointments on those days. and Venue 1 and 2 on Monday are empty the entire day and so I do not want to display them. Is there a setting I am missing for hide empty resources?
Is this possible?
Kind Regards,
Shaun
Hello,
I have a problem with a telerik radtabcontrol which doesn't occur with the standard wpf tabcontrol.
My code is structured as follows :-
<telerik:RadTabControl> <telerik:RadTabItem Header="Locations" IsSelected="True"> // irrelevant stuff here </telerik:RadTabItem> <telerik:RadTabItem Header="Sources"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> </Grid.RowDefinitions> <telerik:RadTabControl ItemsSource="{Binding MyViewModel.Sources}" SelectedItem="{Binding MyViewModel.SelectedSource}"> <telerik:RadTabControl.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Style="{StaticResource SubTabTitle}" Text="{Binding DisplayName}"/> <Button Command="{Binding Path=DataContext.MyViewModel.RemoveSourceCommand,ElementName=LayoutRoot}" CommandParameter="{Binding}" ToolTip="Remove Source" Style="{StaticResource RemoveButton}" /> </StackPanel> </DataTemplate> </telerik:RadTabControl.ItemTemplate> <telerik:RadTabControl.ContentTemplate> <DataTemplate> <ScrollViewer> <StackPanel> <view:EditExcelSourceControl ViewModel="{Binding Path=DataContext.MyViewModel, ElementName=LayoutRoot}" Workbook="{Binding Path=DataContext.MyViewModel.SelectedExcelWorkbook,ElementName=LayoutRoot}" Visibility="{Binding Path=DataContext.MyViewModel.HasSelectedExcelWorkbook,ElementName=LayoutRoot,Converter={c:BooleanToVisibilityConverter}}"/> <view:EditTextSourceControl ViewModel="{Binding Path=DataContext.MyViewModel, ElementName=LayoutRoot}" File="{Binding Path=DataContext.MyViewModel.SelectedTextFile,ElementName=LayoutRoot}" Visibility="{Binding Path=DataContext.MyViewModel.HasSelectedTextFile,ElementName=LayoutRoot,Converter={c:BooleanToVisibilityConverter}}"/> </StackPanel> </ScrollViewer> </DataTemplate> </telerik:RadTabControl.ContentTemplate> </telerik:RadTabControl> </Grid> </telerik:RadTabItem></telerik:RadTabControl>Setting SelectedSource causes OnPropertyChange notifications for SelectedSource, and updates SelectedTextFile, SelectedExcelWorkbook, HasSelectedTextFile, HasSelectedExcelWorkbook as appropriate.
The user control has code as follows
<telerik:RadComboBox ItemsSource="{Binding DataContext.ViewModel.Points, ElementName=LayoutRoot}" SelectedValue="{Binding CurrentPoint}" Width="150"> <telerik:RadComboBox.ItemTemplate> <ItemContainerTemplate> <TextBlock Text="{Binding Name}" Margin="0" Padding="0" /> </ItemContainerTemplate> </telerik:RadComboBox.ItemTemplate></telerik:RadComboBox>
My problem is that if I switch between the toplevel tabcontrol items (from 'locations' tab to 'sources' tab), the object that the selectedsource is bound to on the nested tabcontrol will have it's currentpoint set to null.
If I modify the nested tabcontrol to be a simple WPF tabcontrol instead of a telerik:radtabcontrol, I do not have this problem where currentpoint is set to null.
Any help would be appreciated, thank you.
Problem Background:
In my WPF application, in one of the window/page contains 3 List Boxes and 1 ComboBox. These 3 ListBoxes are binded with XML dataprovider and there is no issues. I mean when 1st listbox selection changes automatically updates listbox2. In the same way, listbox3 updates as listbox2 changes. These are all worked out in XAMl file alone and there is code-behind except InitializeComponent() and few lines of code for loading this XAML file dynamically using XAMLReader(this is my requirement)
Problem facing Requirement:OnSelection change event of any of the ListBox, need to populate ComboBox data dynamically( it will fire webservices which is based on above mentioned 3 LisBox selection). For this purpose, in SelectionChange I am trying to get
ListBoxObj.SelectedItem - Always contains XML tree.(i.e) of type XMLElement
I have tried all possiblities, everywhere I am getting only XML tree.
Anyone have any idea, how to extract ListBox selected Item Text from XMLElement?
Thanks
Hi,
When you open a recurrence appointment the dialog who ask for open event or serie is not well translated in French.
The RadioButton are :
Ouvrir cetévénement
Ouvrir lasérie
Missing a space between last word, must be :
Ouvrir cet événement
Ouvrir la série
For information the resourcekey are provided here :
<RadioButton AutomationProperties.AutomationId="OpenOccurrenceRB" Margin="3" telerik:LocalizationManager.ResourceKey="OpenOccurrence" GroupName="RecurrenceModeChoice" IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"/><RadioButton AutomationProperties.AutomationId="OpenSeriesRB" Margin="3" telerik:LocalizationManager.ResourceKey="OpenSeries" GroupName="RecurrenceModeChoice" IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"/>
Regards
Luc
Hello. I tried to apply tree layout on 50 generated nodes (by first tab).
This is result:
http://joxi.ru/L21RM8Quq4zWAX
But, while IgnoreContainers=true, result is:
http://joxi.ru/Vm6dpMLSqZvyAZ
Why layouting don't work in this case? I don't want to involve containers in layouting algotithm.
The screenshots are from your demo projects (xaml-sdk-master).
Hi, I encounter a problem about calling the event handler of the scrollviewer inside radgridview template in a style .xaml file.
I have a radgridview which refer to a basic style in another style xaml file. And the its content is several column build up a table
========== page1.xaml ============
<telerik:RadGridView x:Name = "rgv1" Style="{StaticResource BasicRGVStyle}">
<telerik:RadGridViewColmns>
< ... few columns ...>
</telerik:RadGridViewColumns>
</telerik:RadGridView>
and this styling has its template as scrollviewer (when the row or column exceed the viewport, scroll bar appear)
========== BasicStyle.xaml ==========
<Style x:Key="BasicRGVStyle" TargetType="telerik:RadGridView">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type telerik:RadGridView}">
...
<telerik:GridViewScrollViewer x:Name="PART_ItemScrollViewer" Grid.Row="1" ScrollChanged="PART_ItemsScrollViewerChanged">
</telerik:GridViewScrollViewer>
<Border x:Name="Border1" Grid.Row="2" ...>
...
</Border>
</Style>
Can I call PART_ItemsScrollViewerChanged event handler in my page1.xaml.cs and i want to control the border inside this event handler. I recall that it prompt some error some sort like no such event handler found and object reference error.
Tell me if you can't understand my question. Thanks