Telerik Forums
UI for WPF Forum
4 answers
184 views

Hi,

 

Is there a way that I can configure the selection for the TileList, so that, the user can select multiple tiles but only one tile per group?

Like the behavior of a RadioButton, for example?

 

Thanks in advance.

fernando.miranda.a400
Top achievements
Rank 1
 answered on 22 Nov 2018
8 answers
476 views

Hi,

I've been dealing with this problem for days without being able to find a solution. Here is the thing, if I put a Telerik control, say RadTabControl, in a UserControl ("UserControl A"), I can edit it with the VS designer without any problem. If I put UserControl A into another UserControl ("UserControl B"), I can see and edit UserControl B as long as I keep the designer window open. If I close the designer window and open it again, the designer would not load, and throws an exception complaining that it cannot create an instance of UserControl B. The exception hierarchy looks like this:

Exception: Cannot create an instance of "UserControl B"

 - TargetInvocationException: Exception has been thrown by the target of an invocation.

 -- XamlParseException: 'Provide value on 'System.Windows.StaticResourceExtension' threw an exception.' Line number '19' and line position '20'.

 --- Exception: Cannot find resource named 'Telerik.Windows.Controls.RadTabItem'. Resource names are case sensitive.

 

Please help me! Thanks in advance.

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Nov 2018
6 answers
420 views

Hello

 

how can I set custom color to the HeaderBackground property of the RadLayoutControl (LayoutControlExpanderGroup)?

I tried similar way for setting implicit styles mechanism like setting the HeaderBackground of RadLayoutControl, but this not work:

<Style TargetType="telerik:RadLayoutControl" BasedOn="{StaticResource RadLayoutControlStyle}">
    <Setter Property="HeaderBackground" Value="Yellow" />
</Style>

 

It can not be difficult, but I do not find anything in the documentation.

Thanks for any help.

Birgit

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Nov 2018
3 answers
174 views

Hi, right now I'm using the WPF GridView, and have the filter row turned on. I've turned off the filtering panel and instead selected a default filter for the user to make it simple. But my problem is that if a user has their cursor in the first filtering textbox and they hit the "tab" button, it selects the next filtering cell, rather than the next filtering textbox. They're essentially having to press tab twice to move from filter textbox to filter textbox.

 

I saw the "TabStopMode="Skip"" but that seems to only apply to the actual cells of the gridview, not the filter row. So how do I prevent having to double tab in the filter row?

Vladimir Stoyanov
Telerik team
 answered on 22 Nov 2018
5 answers
83 views

Telerik Team,

I have a customer who has assigned many items to their QuickAccessToolbar. So many so that there are more than can be displayed on the screen at one time. The remaining items get put into the overflow panel that is accessed by clicking the RadRibbonDropDownButton. This customer prefers to access these QuickAccessToolbar items with their keyboard, so they press left-alt to bring up the AccessText. I have figured out through code how to add AccessText to the drop down button, but I can't figure out how to then have the items in the overflow window display their access keys automatically when the overflow window is opened and be available for selection.

Here is how I am assigning the AccessKey to the drop down. I would prefer to do it in xaml if possible, but I couldn’t figure that out.

private void RadRibbonView_Loaded(object sender, RoutedEventArgs e)
{
  var ribbon = sender as RadRibbonView;
  var qat = ribbon.QuickAccessToolBar;
  var dropDownButton = qat.FindChildByType<RadRibbonDropDownButton>();
  if (dropDownButton != null)
  {
    KeyTipService.SetAccessText(dropDownButton, "00");
  }
}

We are using the 2015.3.930.40 (No XAML) version of your controls.

Any help would be appreciated.

Thanks,
Paul

Dilyan Traykov
Telerik team
 answered on 21 Nov 2018
1 answer
226 views

Hi,

I want to show the values and the pen names at the cursor location for all my lines on the RadCartesianChart.

I'm using this xaml to display my data as individual lines & I can hide & add/remove items from the bound data "PlotInfos" and it is reflected on the chart:

<telerik:RadCartesianChart.SeriesProvider>
    <telerik:ChartSeriesProvider Source="{Binding FilteredSeriesInfos}">
        <telerik:ChartSeriesProvider.SeriesDescriptors>
            <telerik:CategoricalSeriesDescriptor ItemsSourcePath="PlotInfos"
                                                 CategoryPath="XCat"
                                                 ValuePath="YVal">
                <telerik:CategoricalSeriesDescriptor.Style>
                    <Style TargetType="telerik:LineSeries">
                        <Setter Property="Stroke" Value="{Binding PenBrush}"/>
                    </Style>
                </telerik:CategoricalSeriesDescriptor.Style>
            </telerik:CategoricalSeriesDescriptor>
        </telerik:ChartSeriesProvider.SeriesDescriptors>
    </telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>

 

The charted data is selectable by the user. I can't find any example of TrackBall info being displayed for SeriesProvider charts using bound data. Does anyone have an example?

More xaml here : https://pastebin.com/J32Qd9gi

Thanks in advance, Steve

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Nov 2018
0 answers
121 views

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!

Brian
Top achievements
Rank 1
 asked on 20 Nov 2018
1 answer
220 views

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:x="http://schemas.microsoft.com/winfx/2006/xaml"
             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:d="http://schemas.microsoft.com/expression/blend/2008"
             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>

 

 

Tanya
Telerik team
 answered on 19 Nov 2018
6 answers
169 views

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.

Vladimir Stoyanov
Telerik team
 answered on 19 Nov 2018
9 answers
75 views

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

Petar Mladenov
Telerik team
 answered on 19 Nov 2018
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?