Telerik Forums
UI for WPF Forum
4 answers
399 views

Hi,

I'm just beginning with the syntax editor, so am using a simple test project with nothing but a RadSyntaxEditor in a MainWindow.

I am using the separate NuGet packages (version 2020.1.115) with implicit styles (Fluent theme).

What I find is that even with nothing else, I get an error from my App.xaml file saying "Cannot find resource named 'DragVisualStyle'. Resource names are case sensitive." This doesn't seem to prevent the project from building and running, but still it is an error that shows in the error list and I seem to be unable to get rid of it.

After a small amount of investigation, it does seem that the resource dictionary for the SyntaxEditor (at least for the Fluent theme, but maybe others) is referencing the DragVisualStyle without defining it. Looking at some of the other controls it seems that they do each redefine that style if they need it, so the SyntaxEditor seems to differ in that respect.

I wanted to attach a simple example solution, but can't attach .zip files, so basically reproducing this amounts to creating a new WPF project, adding PackageReferences to the SyntaxEditor and Fluent theme NuGet packages, then merging the following in App.xaml:

    <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/System.Windows.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Input.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.SyntaxEditor.xaml" />

And having the following in MainWindow.xaml:

    <telerik:RadSyntaxEditor/>

Thanks

Adam
Top achievements
Rank 1
 answered on 21 Jan 2020
1 answer
174 views

I have an issue with grid selection.

If I have, for example, 10 items and i select item 7 it is correctly selected.

I then click the filter box and enter a filter which doesn't include item 7 and press enter the correctly filtered items are shown. If i click the clear filter button I would like the originally selected item 7 to be still selected (and in view) but this seems hit and miss. Sometimes it is but sometimes it could be one of the filtered items. 

Is this desired behaviour or am I missing something?

Thank you

R

Vladimir Stoyanov
Telerik team
 answered on 21 Jan 2020
3 answers
198 views

We upgraded our NOXAML libraries to the latest S3 version (october 2019), from S2.

 

Since then, all telerik controls in the project give a similar error when the visual studio XAML designer is loaded...

'Control' not found in xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

'Control' an be any telerik Control type, like radcombobox or radgridview etc.

 

This occurs, where the control is defined inside the XAML like: <telerik:RadComboBox>...</telerik:RadComboBox>

as well as when we define a style like so...

<Style targettype="telerik:RadComboBox" BasedOn={StaticResource RadComboBoxStyle>..</Style>

 

As a solution we downgraded to the S3 version again because our project would produce over 300 of these errors, making the project difficult to manage.

As a note... The application does run like normal and the error disappear whilst Debugging.

 

Dilyan Traykov
Telerik team
 answered on 21 Jan 2020
3 answers
163 views

Hello,I am using the ScheduleView control to build a program.

There is five appointments in 1.png.I want one appointment in a line alone like steps, it will be five lines

How can I achieve that?

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Jan 2020
1 answer
223 views

Hi,

There is no box plot in ChartView.

How to achieve the box plot with the same appearance shown in attached image?

 

Martin Ivanov
Telerik team
 answered on 20 Jan 2020
1 answer
179 views

How to place text in the center of doughnut series in RadChartView as shown in attached image?

 

Martin Ivanov
Telerik team
 answered on 20 Jan 2020
3 answers
4.1K+ views

Hello,

I'm using version: 2016.1.217

How can I modify background color \ foreground color of a specified row ?

Binding is not mandatory in this case. 

Thank you,

Zvika 

Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 20 Jan 2020
3 answers
425 views

I have an editable combobox, where I need the left margin increased. I found the TextBoxStyle property and tried to use it, but it does not work. To ensure that I was doing things correctly, I tried setting other properties, such as the background, which do work. So I know that my style is being applied, but your ComboBox code is overriding it somehow.

 

I've worked around the problem by finding the textbox by it's "PART_EditableTextBox" name and manually adjusting the margin, but it is not ideal on several levels. If I am doing something wrong, please let me know what I can do differently.

Vladimir Stoyanov
Telerik team
 answered on 20 Jan 2020
7 answers
376 views

I'm trying to use a RadSaveFileDialog to allow users to export files from my application, but before the export can be performed the user needs to configure a few options. I am wondering if it is possible to customize the "operations pane" area of a RadSaveFileDialog in order to add a few checkboxes/buttons/dropdowns that the user can configure before pressing the Save button?

My initial thought was to create a custom SaveFileDialogControlTemplate to add the controls in, but I'm having some trouble figuring out how to access the controls from code so I can add click handlers or modify labels at runtime. Is this kind of customization possible with RadSaveFileDialog?

Petar Mladenov
Telerik team
 answered on 20 Jan 2020
1 answer
425 views

Just by using that:

            var openFileDialog = new RadOpenFolderDialog();
            openFileDialog.ShowDialog();

 

I get all those exceptions and it break each time I run with the debugger.  It's probably related to my mapped network drives.

Exception thrown: 'System.ArgumentException' in mscorlib.dll

Exception thrown: 'System.ArgumentException' in mscorlib.dll

Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll

 

The callstack for the first exception:

>mscorlib.dll!System.IO.Path.LegacyNormalizePath(string path, bool fullCheck, int maxPathLength, bool expandShortPaths)Unknown
 mscorlib.dll!System.IO.Path.GetFullPathInternal(string path)Unknown
 mscorlib.dll!System.IO.Directory.InternalExistsHelper(string path, bool checkHost)Unknown
 Telerik.Windows.Controls.FileDialogs.dll!Telerik.Windows.Controls.FileDialogs.DirectoryBaseWrapper.RefreshCanExpand()Unknown
 Telerik.Windows.Controls.FileDialogs.dll!Telerik.Windows.Controls.FileDialogs.DirectoryBaseWrapper.CanExpand.get()Unknown

 

In RefreshCanExpand not all the exception of EnumerateDirectories seems to be catch.

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