Resizing the window containing a CartesianChart with SplineSeries leads to some incorrect rendering between points:
RadTimePicker objects remain in memory because, in the DateTimePicker class, it subscribe on event Window.Current.SizeChanged but you never unsubscribe. So it generates memory leaks. The control will never be removed by the GC(garbage collector).
Source code:
/// <summary>
/// Initializes a new instance of the <see cref="DateTimePicker"/> class.
/// </summary>
protected DateTimePicker()
{
var languages = new List<string> { this.CalendarLanguage };
var calendar = new Windows.Globalization.Calendar(languages, this.CalendarIdentifier, ClockIdentifiers.TwelveHour);
this.calendarValidator = new CalendarValidator(calendar);
this.selectorUtcValue = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
this.utcValue = this.selectorUtcValue;
Window.Current.SizeChanged += this.Current_SizeChanged;
}
In the RowDetails for a grid item I have a data template column as below. If I check the checkbox on the first rowdetails item, every first rowdetails item in the entire grid has the check box checked. Even if the SentToAcctFlag value for that item is False. If I check one item in the row details I want only that one item to be checked. Even refreshing the grid data using ItemsSource does not remove the first rowdetails item checked value for each parent record.
<telerikGrid:DataGridTemplateColumn Header="To Acct" HeaderStyle="{StaticResource WorkOrderGridColHeader}" SizeMode="Fixed" Width="100"
CanUserEdit="True" CanUserSort="False" CanUserFilter="False" CanUserResize="False" >
<telerikGrid:DataGridTemplateColumn.CellContentTemplate >
<DataTemplate>
<CheckBox IsChecked="{Binding SentToAcctFlag}" Margin="12,1,0,0" IsEnabled="True" Checked="SentToAcct_Checked" Unchecked="SentToAcct_Unchecked" />
</DataTemplate>
</telerikGrid:DataGridTemplateColumn.CellContentTemplate>
</telerikGrid:DataGridTemplateColumn>
I am trying to use the chart control in multiple views: Meaning not just one window. I create several windows from the main window. It is not call "windows". It is a view.
It looks like the chart control fails:
System.Exception: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
at Windows.UI.Xaml.Media.SolidColorBrush.get_Color()
at Telerik.UI.Xaml.Controls.Chart.ContainerVisualsFactory.ChangeBrushesAccordingToAppTheme()
at Telerik.UI.Xaml.Controls.Chart.ContainerVisualsFactory.PrepareCartesianAxisLineVisual(CartesianAxis axis, ContainerVisual lineContainer, RadRect layoutSlot, AxisType axisType)
at Telerik.UI.X
Is there a way to fix it ?
to understand the concept of multiple views:
https://docs.microsoft.com/en-us/windows/uwp/design/layout/show-multiple-views
please advise me...
With the latest version of the UWP-Controls a ArgumentException occurs if I want to display a DataGrid with Items whose ItemType has public static properties.
I created a post in the forums but I don't know how much attention that particular forum gets.
I have created a simplified project on GitHub that reproduces the problem.
I'm not sure if the problem is with the control or the framework, but my example project clearly demonstrates the problem.
I suspect the problem is related to binding the Maximum property of the RadNumericBox. Items in the "Two" group have a higher maximum than items in the "One" and "Three" groups. While scrolling through the list, some items in the "Two" group get their values changed to the maximum from the other groups. It's also odd that the values that change are changed twice. The Debug Output window shows when and how each value is changed while scrolling through the list.
If any of this is not clear, I am happy to provide more detail, however, I'm sure the example project will make the problem clear.
The "Foreground" property does not apply to the RadDatePicker icon .. it only applies to the text even though I followed what this page explains: https://docs.telerik.com/windows-universal/controls/raddatepicker-and-radtimepicker/styling/raddatetimepickers-explicitstyling
My XAML code is the following:
<Custom:RadDatePicker x:Name="FromDatePicker" HorizontalAlignment="Left" ValueChanged="DatePickerValueChange">
<Custom:RadDatePicker.Resources>
<Style TargetType="Custom:RadDatePicker">
<Setter Property="Foreground" Value="Orange"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontStyle" Value="Italic"/>
<Setter Property="Background" Value="Beige"/>
<Setter Property="BorderBrush" Value="Orange"/>
</Style>
</Custom:RadDatePicker.Resources>
</Custom:RadDatePicker>
Attached image of the properties that only my RadDatePicker takes when running the application ..
As said in this thread https://github.com/telerik/UI-For-UWP/issues/332 the decimal-separator is bugged when used in windows 10 1809, at least if the decimal-separator system-setting is other then a dot, e.g. in Germany which uses comma.
The Bug seems to be solved in the referred Branch by Nasko https://github.com/telerik/UI-For-UWP/tree/Nasko/update-sdk yet it is not available in NuGet, not even as a prerelease.
Also setting the decimal-separator manually is impossible, yet in 2016 it was said this change will be implemented https://www.telerik.com/forums/problem-with-decimal-separator
However, is there a schedule, when the Bugfix will arrive in NuGet? The recent version is 1.0.1.2 from October 17th 2018 while the fixed branch is from November 2nd 2018.
I have a radgrid and when I scroll down it throws this error, but I'm not sure where the error is coming from or how I can help resolve it. This is a UWP app and I'm debugging in VS 2017 15.3 on windows 10 creators edition. System.IndexOutOfRangeException: Index was outside the bounds of the array. at Telerik.UI.Xaml.Controls.Grid.IndexStorage.ValueForIndex(Int32 index, Boolean approximate) at Telerik.Data.Core.Layouts.CompactLayout.UpdateAverageLength(Int32 startIndex, Int32 endIndex) at Telerik.UI.Xaml.Controls.Grid.NodePool`2.MeasureVertically(RadSize availableSize, Double offset, Double bufferScale) at Telerik.UI.Xaml.Controls.Grid.NodePool`2.OnMeasure(RadSize availableSize, Double offset, Int32 frozenEleme