Telerik Forums
UI for WPF Forum
0 answers
386 views

Symptoms:

Most controls from the UI for WPF are affected after you install January 9, 2018, .NET Security and Quality Rollup (KB4055002). Applications that request a fallback font or a character that is not included in the currently selected font return the following error messages:
System.TypeInitializationException
“FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Win7SP1”.
Inner exception originates from: CompositeFontParser




Solution 1:


Microsoft has released an update which fixes the issue. More information about it you can find here: Description of the Security and Quality Rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Server 2008 R2 SP1 (KB 4074880).

Solution 2:

To keep .NET 4.7.1 installed and maintain protection against vulnerabilities that are addressed by the January security updates, uninstall the January .NET Framework Security and Quality Rollup (KB 4055002), and then install the January .NET Framework Security-Only Update (KB 4054183). To do this, follow these steps:

  1. In Control Panel, open the Windows Update item, and then select View update history.
  2. In the Review your update history list, locate and select Security Update for Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (KB4055002). Then, select Uninstall.
  3. When you are prompted for confirmation to uninstall, select Yes.
  4. Restart your computer if you are prompted to do this.
  5. Download and install the Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and .NET Framework 4.6 for Windows Server 2008 SP2 (KB 4054183) for your operating system configuration from the following links:
    Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 for x86 systems (KB4054183)
    Security Only update for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 on Windows 7 SP1 and Windows Server 2008 R2 SP1 for x64 systems (KB4055269)
  6. Follow the installation prompts, and then restart your computer if you are prompted to do this.

Solution 3:

Roll back to the previous version of .NET Framework. To do this, follow these steps:

  1. In Control Panel, open the Programs and Features item.
  2. In the Uninstall or change a program list, locate and then select Microsoft .NET Framework 4.7.1, and then select Uninstall/Change.
  3. Select Remove .NET Framework 4.7.1 from this computer, and then select Next. 
  4. Select Continue to confirm the uninstallation.
  5. Select Finish after the uninstallation is finished. 
  6. Restart your computer if you are prompted to do this.
Martin Ivanov
Top achievements
Rank 1
 asked on 15 Jan 2018
1 answer
304 views

Hi,

I have a requirement for which I need a button(radbutton) control with a label and a small circle. The circle should show a different color based on some other result returned from other data source. As per the documentation I understood like a button either can have a text label or an image on it, but not both. Can someone get me a sample project on how to achieve that. Please find the attached sample.

Sia
Telerik team
 answered on 15 Jan 2018
1 answer
409 views

I have a RelayCommand in my ViewModel that I would like to bind to a left mouse click on any part of the ENTIRE chart area.  

I have tried using an interaction and an EventToCommandBehavior, but I can't get any of them to fire.

The chart renders fine but the command (which is used in another ViewModel and works there) never fires (I set a breakpoint in the command body)

Here is the code for the chart and the relevant code of the ViewModel...Any help is appreciated.

protected DataPointMeasurementsViewModel()
{
    GoToDetailsCommand = new RelayCommand(() => GoToDetails());
}
 
public RelayCommand GoToDetailsCommand { get; set; }
 
private void GoToDetails()
{
    var viewModel = new DataPointDetailsChartPageViewModel(DataPointID);
    IoC.Application.GoToPage(ApplicationPage.DataPointDetailsChartPage, viewModel);
}
<telerik:RadCartesianChart x:Name="radChart" Margin="0,0,0,0" Height="340">
                <telerik:RadCartesianChart x:Name="radChart" Margin="0,0,0,0" Height="340">
    <telerik:EventToCommandBehavior.EventBindings>
        <telerik:EventBinding Command="{Binding GoToDetailsCommand}"
                 EventName="MouseLeftButtonDown" RaiseOnHandledEvents="True"  />
    </telerik:EventToCommandBehavior.EventBindings>
    <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:DateTimeContinuousAxis
            LabelInterval="{Binding ChartSettingsViewModel.LabelInterval}"
            LabelFormat="{Binding ChartSettingsViewModel.LabelFormat}"
                                    PlotMode="OnTicksPadded" >
        </telerik:DateTimeContinuousAxis>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis Title="{Binding SeriesTitle}">
        </telerik:LinearAxis>
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Grid>
        <telerik:CartesianChartGrid MajorLinesVisibility="Y" MajorYLineDashArray="3,4" />
    </telerik:RadCartesianChart.Grid>
    <telerik:RadCartesianChart.Series>
        <chartView:LineSeries ItemsSource="{Binding Measurements}" Stroke="{Binding LineColor}">
            <chartView:LineSeries.ValueBinding>
                <telerik:PropertyNameDataPointBinding PropertyName="Value"/>
            </chartView:LineSeries.ValueBinding>
            <chartView:LineSeries.CategoryBinding>
                <telerik:PropertyNameDataPointBinding PropertyName="LocalDateTime"/>
            </chartView:LineSeries.CategoryBinding>
        </chartView:LineSeries>
    </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>

 

 

Dilyan Traykov
Telerik team
 answered on 15 Jan 2018
1 answer
167 views

Hi -

My goal is to use two raddatetimepickers in a WPF application to get a start date/time and an end date/time user input. I haven't found a way to get two of these components on the same page - do I need to modify the culture or create them dynamically? I've looked into using other identifiers. 

 

Any guidance would be appreciated

 

Thanks

Dilyan Traykov
Telerik team
 answered on 15 Jan 2018
3 answers
184 views

Dear Telerik,

I have problem to change Radar chart properties to display like pentagonal, hexagonal or octagonal not circle (wpf default).

I attached the picture for detail explanation.

May be telerik can give me example of code.

 

Thanks,

 

Dinko | Tech Support Engineer
Telerik team
 answered on 15 Jan 2018
1 answer
317 views

Please have a look at picture。

How to change the width of the OKCancel buttons by the code in  a RadWindow.Confirm() box?

Dinko | Tech Support Engineer
Telerik team
 answered on 15 Jan 2018
1 answer
138 views

Ok, so I posted this a few minutes ago, but it disappeared. I'll try again.

I am trying to get a richtextbox editor set up in my app.

I created a blank application. I followed the doc and added all the references first.

I then dragged a RadRichTextBox onto the MainWIndow designer and watched the wizard pop up. I went through the wizard and  made one modification. I changed the first dialog to say I wanted a word processor. Other than that I left all at their defaults. I got to the end of the wizard and hit finish. BANG!

ArgumentException: Property 'System.Object DropDownContent' is not defined for type 'Telerik.Windows.Controls.RadRibbonSplitButton

 

Not deterred, I hit save and closed and reopened the MainWindow and the error seemed to go away.

I compiled just fine. I ran it and all I got was a blank page and I could not enter or edit, nor did I see any of the toolbars/ribbons/ruler etc. I have made no changes to anything other than the wizard change described above.

Please advise on how to fix this.

While we're at it bonus points will be given if you can tell me how to get whatever the user puts in the richtextbox onto a telerik report!

Thanks ... Ed

 

 

 

 

Tanya
Telerik team
 answered on 15 Jan 2018
1 answer
181 views

Hey guys,

I have the following problem, I have i graph where i can select multiple dataseries but some dataseries have different units like millisecond, volt etc. So I want to define for each unit one y-axis on the right side and check which y-axis I need when I select different dataseries. How can I reach this behavior? I know how many different units I have so I would like to create the y-axes statically. Only the visibility should be set after the check.

 

Thanks in advance for your help

Max

Martin Ivanov
Telerik team
 answered on 15 Jan 2018
1 answer
307 views

Hello,

we've bound commands to the tiles in the radtilelist control. 
Now both left and right mouse clicks execute the commands.
But we only want that the commands will only be executed by clikcing the left button.
It would be perfect if we can put a context menu on the right button.

Is that possible?

Thx.

Markus

Vladimir Stoyanov
Telerik team
 answered on 15 Jan 2018
1 answer
81 views

I have TreeListView with some of the "TreeListViewRow" have row detailers. 

I implemented Drag and Drop functionality using "DragDropManager". 

I want to prevent drag initialization when we start dragging from Row detailer. 

But "DragInitializeEventArgs" args giving "OriginalSource" value always the parent row even in case of drag starting from Row detailer.

Any help in this regard is highly appreciated. 

 

Thank you.

 

Martin Ivanov
Telerik team
 answered on 15 Jan 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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?