I'm currently looking at a project using Telerik UI for WPF 45.2017.1.222.
We have a GridViewDataColumn, and need some extra filtering capabilities on it. However, we'd also like to retain the base functionality of the Telerik filtering control. Our extra filter would operate on a different value in our view model that is related, but not something we necessarily want to surface as a column itself.
Just as an example - say we had a column of names, and wanted to filter on the usual contains/is/is not/ etc., but also wanted to filter based on whether or not those names were or were not in a whitelist. We'd have the standard field filters but would need an extra custom one as well.
I could go the road of creating a completely custom control, but then I would be trying to re-create a lot of that base functionality and styling to keep it consistent with other columns using the default. Would there be away around that where I could simply extend the control?
Thanks!
Hi,
I'm using RadSpreadsheet recently to deal with Excel and CSV files. But I found my RadSpreadsheet control has no FormatProviders property and I could not register XlsxFormatProvider and CsvFormatProvider. Seems I've added all the references required and reset the Theme file. Is there anything I ignored? My Telerik Controls Version is Ver. 2017 Q1, is that low version a suspicious cause for the problems?
Here's my XAML snippet:
<UserControl x:Class="ProgLogMgnt.Views.ExcelView" xmlns:models="clr-namespace:ProgLogMgnt.Models" xmlns:controls="clr-namespace:Mango.Controls;assembly=Mango.Wpf" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:converters="clr-namespace:Mango.Converters;assembly=Mango.Wpf" xmlns:mango="clr-namespace:Mango;assembly=Mango.Wpf" xmlns:xlsx="clr-namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx;assembly=Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml" xmlns:local="clr-namespace:ProgLogMgnt.Views" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> <Grid> <telerik:RadSpreadsheet x:Name="Excelsheet"> !--No FormatProviders property intelliSensed here and could not continue--! <telerik:RadSpreadsheet.FormatProviders> </telerik:RadSpreadsheet.FormatProviders> </telerik:RadSpreadsheet> </Grid></UserControl> Here is my Theme file:
<ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Data.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Input.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.DataVisualization.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Chart.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Diagrams.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Diagrams.Extensions.xaml/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Docking.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Expressions.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.GanttView.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.GridView.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.ImageEditor.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.RibbonView.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.RichTextBoxUI.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.ScheduleView.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Spreadsheet.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Documents.xaml" /> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Documents.Proofing.xaml" /> <ResourceDictionary Source="Themes/FrameworkTheme.xaml" /></ResourceDictionary.MergedDictionaries>

I'm getting spurious exceptions when opening this dialog.
var dialog = new Telerik.Windows.Controls.RadOpenFolderDialog
{
Header = "Import Fonts",
FileName = Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
RestoreDirectory = true,
InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
Multiselect = true
};
if (dialog.ShowDialog() ?? false)
{
eventAggregator.GetEvent<ImportEvent>().Publish(dialog.FileNames);
}
2018-10-30 16:26:23,708 [1] ERROR FontAgent.App System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Windows.Controls.ItemContainerGenerator.RealizedItemBlock.ContainerAt(Int32 index)
at System.Windows.Controls.ItemContainerGenerator.ContainerFromIndex(Int32 index)
at Telerik.Windows.Controls.FileDialogs.HistoryNavigationPaneControl.UpdateSelectedHistoryDirectory(Boolean navigateToCurrentDir)
at Telerik.Windows.Controls.FileDialogs.HistoryNavigationPaneControl.FileSystemInfoWrapperFactory_ChildFileDeleted(Object sender, ChildFileDeletedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Telerik.Windows.Controls.FileDialogs.FileSystemInfoWrapperFactoryBase.OnChildFileDeleted(String filePath, DirectoryInfoWrapper parentFolderPath, Boolean isRename)
at Telerik.Windows.Controls.FileDialogs.FileSystemInfoWrapperFactory.CleanupPath(String filePath, DirectoryInfoWrapper parentWrapper, Boolean isRename)
at Telerik.Windows.Controls.FileDialogs.DirectoryInfoWrapper.<>c__DisplayClass3.<OnFileChanged>b__2()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Any idea what's going on? Thanks.

I've got a map that's initialized to a certain area by a call to SetView, and the zoom-level ends up at 4. I've also got a bunch of predefined areas to jump to, and we do this by calling SetView with a LocationRect. I've noticed that when the SetView-call ends up zooming in to level 19, 20 or 21, no map tiles are loaded and the view is empty. I have to zoom out to level 18 until they are loaded. The MiniMap looks right though. Any idea what could cause this behaviour? Once i have zoomed out to level 18 I can jump to level 19-21 with map-tiles showing.
I'm using the suggested HttpsOpenStreetProvider from this thread: https://www.telerik.com/forums/openstreetmapprovider-through-https

<t:Paragraph LeftIndent="0"> <t:Span Text="This paragraph can be indented using the tab key." /></t:Paragraph><t:Paragraph LeftIndent="0"> <t:BookmarkRangeStart AnnotationID="1" Name="MyBookmark" /> <t:BookmarkRangeEnd AnnotationID="1" /> <t:Span Text="This paragraph cannot be indented using the tab key." /></t:Paragraph><t:Paragraph> <t:Span Text="This paragraph can be indented using the tab key." /></t:Paragraph><t:Paragraph />Hello,
I.m using GanttView to display my MS Project and I wish to highlight a critical task by setting the corresponding item's background color to Yellow. I've looked up the documentation and tried the RowHighlightContainer, but that seems only changes the behavior when MouseOver and not working with the highlighted items. By the way, I've already the critical tasks to HighlightItemSource Property. Any suggestions?
Here's a snippet of my code:
<Style TargetType="telerik:RowHighlightContainer"> <Setter Property="Background" Value="Yellow" /></Style>...<telerik:RadGanttView x:Name="GanttView" TasksSource="{Binding Tasks}" BorderThickness="1" SelectedItem="{Binding SelectedTask, Mode=TwoWay}" InitialExpandBehavior="{StaticResource InitialExpandBehavior}" HighlightedItemsSource="{Binding HighlightedTasks}" MouseDown="UIElement_OnMouseDown" Margin="0 6 0 0" PixelLength="{Binding PixelLength}" VisibleRange="{Binding VisibleRange}"/>Dear Team,
I am facing issue with Chat Control. When I tried to change datasource of control, Messages in Chat UI does not reflect.
I have List of User in listbox. Each User has Observable collection of TextMessages. When User selection changed, I bind datasource to selected user messages. I assume that Chat control will update its UI by selected User messaged. But it is not working.
I tried to clear MessageListItems on selection change, and re-bind datasource to selected user's messages. In this case Chat UI does not show any messages.
For reference I have uploaded my sample project on Google drive.
@Admin: I had already shared the same issue few days ago, but i did not receive any solution.
I have a tree list view with the following child table definition:
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
</telerik:RadTreeListView.ChildTableDefinitions>
When an item that the tree list is bound to updates its child collection, the selected cells in the grid are lost. In our situation, the selected cell is on a row that is affected by the children changing.
Is there any way to prevent the selection from changing when the rows reload as a result of the structure changing? Or, failing that, any way to determine that the hierarchical structure is changing other than the row load and unload events? The grid is virtualized as well, so we can't tell how to distinguish between rows unloading because they have scrolled out of view, vs the hierarchical structure changing.
Hi,
Is it possible to edit GridViewComboBoxColumn to display 2 textblocks in each comboboxitem and bind text value for both textboxes to some properties of a class?
I have added a screenshot to help understand the issue