Telerik Forums
UI for WPF Forum
1 answer
145 views

Hey!

In my RadCartesianChart  I have three types of series:

1. ScatterAreaSeries

2. Multiple SactterLineSeries (using SeriesProvider) - the amount of this series is dynamic.

3. Other SactterLineSeries / SactterPointSeries with some data.

I know that zindex is automatically determined by the order in which the series is created.

I need to set the zindex in a way that ScatterAreaSeries will be the background of the data from SeriesProvider and the other series will be on top the data from SeriesProvider.

What is the best practice to handle it?

 

Thanks

Michal

Dilyan Traykov
Telerik team
 answered on 21 Jan 2022
1 answer
173 views

Hey guys,

I want to use a Indicator in a Chartview.
This works without problems. But is it possible to show a entry in the RadLegend for this Indicator?
Some people wonder what the line is and if I could add a legend-entry it would be clear.

                    <telerik:MovingAverageIndicator 
                        Period="3"                                                   
                        CategoryBinding="LabelZeitebene"                                              
                        ValueBinding="Belastung" 
                        ItemsSource="{Binding DatenAnzeige}"
                        Stroke="{telerik:MaterialResource ResourceKey=MarkerBrush}"
                        />

 

Greetings Benedikt

Stenly
Telerik team
 answered on 21 Jan 2022
1 answer
85 views

I have a data set that I use to create series and for each item from this set I've got 2 series: points plotted with ScatterPointSeries and line plotted with ScatterLineSeries. But both belongs to one item and I would like to highlight both of them when I hover over either first series or second one.

Is it possible to join two series? Or change hovering behavior?

Stenly
Telerik team
 answered on 20 Jan 2022
0 answers
137 views

Hi

I have a window with a docking panel. I save the layout when I close the window. It works well, but if I undock a panel then loadlayout raise the following exception (I attached the xml layout file too)

System.ComponentModel.Win32Exception
  HResult=0x80004005
  Message=Operazione completata.
  Source=WindowsBase
  StackTrace:
   at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
   at System.Windows.Window.EnsureHiddenWindow()
   at System.Windows.Window.SetTaskbarStatus()
   at System.Windows.Window.CreateAllStyle()
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.CreateSourceWindowDuringShow()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at Telerik.Windows.Controls.InternalWindow.WindowWithNoChromeWindowHost.Open(Boolean isModal)
   at Telerik.Windows.Controls.WindowBase.ShowWindow(Boolean isModal)
   at Telerik.Windows.Controls.Docking.ToolWindow.Open()
   at Telerik.Windows.Controls.RadDocking.ShowWindow(ToolWindow window, Boolean shouldReallyOpen)
   at Telerik.Windows.Controls.RadDocking.OpenInToolWindow(RadSplitContainer container, Boolean openImmediately)
   at Telerik.Windows.Controls.RadDocking.AddSplitContainer(RadSplitContainer radSplitContainer)
   at Telerik.Windows.Controls.Docking.DefaultDockingLayoutFactory.LoadDocking(LoadingParentElementArgs args)
   at Telerik.Windows.Controls.Docking.DefaultDockingLayoutFactory.LoadLayout(XmlReader reader)
   at Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source, Boolean raiseEventsIfNoSerializationTag)
   at Telerik.Windows.Controls.RadDocking.LoadLayout(Stream source)
   at DeltaOhm.NsModules.View.MainPlotControl.LoadLayout() in D:\Progetti\NoiseStudioEx\NsModules\NsModules\View\ScottPlott\MainPlotControl.xaml.cs:line 446
   at DeltaOhm.NsModules.View.MainPlotControl.SpectralTimeHistoryControl_Loaded(Object sender, RoutedEventArgs e) in D:\Progetti\NoiseStudioEx\NsModules\NsModules\View\ScottPlott\MainPlotControl.xaml.cs:line 764
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  This exception was originally thrown at this call stack:
    [External Code]
    DeltaOhm.NsModules.View.MainPlotControl.LoadLayout() in MainPlotControl.xaml.cs
    DeltaOhm.NsModules.View.MainPlotControl.SpectralTimeHistoryControl_Loaded(object, System.Windows.RoutedEventArgs) in MainPlotControl.xaml.cs
    [External Code]

Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 20 Jan 2022
1 answer
530 views

Hello Team Telerik,

I am using .net framework 4.8 and WPF Telerik controls(2021.1.118.40) in my applications and when am clicking on some combo boxes it gives the following exception:

[UnhandledExceptionHandler]:[HandleException]:-System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
   at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
   at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
   at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
   at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
   at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
   at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
   at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)
   at System.Windows.Automation.Peers.AutomationPeer.AutomationPeerFromInputElement(IInputElement focusedElement)
   at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
   at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
   at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
   at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
   at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
   at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr hwnd)
   at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)

 

What can be the issue?Is it something related to Telerik controls?


Thanks & Regards

Susmitha

Susmitha
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Jan 2022
1 answer
219 views

I am pasting text which contains invalid characters (example utf8 hex FFFE). Html binding is not workin in this case. I reproduced binding issue in Telerik wpf demo. Where xaml binding is working fine, while html binding is empty.

For reference I am pasting following text into Richtext box editor. which is bound to HTML binder.

registration received from the office of Sub￾Registrar/ Joint Sub-Registrar and online
I have attached Rich text box behavior and also specific character details.  
Tanya
Telerik team
 answered on 19 Jan 2022
1 answer
77 views

Hi,

I am currently working on a RadGridView component where I want the Frozen Columns Splitter to also cover the row for adding new rows to the grid, see picture:

I want the grid splitter to also cover the red part.

Could you advice me on how to accomplish that?

Thanks!

Stenly
Telerik team
 answered on 19 Jan 2022
1 answer
130 views

Hi,

We using the Telerik Map component for a production use. The used provider is OpenStreetMap.
A customer contacted us with an issue. He was using Sophos proxy/OpenVPN at his company but he is the only one in the company to have the problem.
No explicit rules are set on the Sophos admin console.
But the problem is not here, explainations:

I took remote control of his PC to see the problem. After a few tries, the tiles on the map were still displayed out of order like a jigsaw puzzle.
I installed Fiddler 4 to see what was going on and if it was a bad request or something else.
My big surprise was that by using Fiddler, the map problem disappeared! Reversely, when quitting the application, the map problem reappeared.

I guess using Fiddler allows the map to time out and allows the map to display correctly.
My customer using a racing machine. All its configuration can be seen in the attachment files.

Do you have a workaround for that?

Thanks in advance for your reply.

Best regards.

Fabien.

Stenly
Telerik team
 answered on 19 Jan 2022
2 answers
152 views

Hi,

I got from the user Location = {90, -12.516352000000095}

and when I try to create the Provider I get an exception that "'∞' is not a valid value for property 'Height'."

At any other point, everything works properly.

I would be happy if you could help me, 

Thanks.

 

<telerik:RadMap
                                                                x:Name="map"
                                                                Center="{Binding PinLocation}"
                                                                CommandBarVisibility="Collapsed"
                                                                IsKeyboardNavigationEnabled="False"
                                                                Loaded="Map_OnLoaded_RefreshProvider"
                                                                MiniMapExpanderVisibility="Collapsed"
                                                                MouseClickMode="SelectItem"
                                                                MouseDoubleClickMode="None"
                                                                MouseDragMode="None"
                                                                MouseLocationIndicatorVisibility="Collapsed"
                                                                MouseWheelMode="ZoomToCenter"
                                                                NavigationVisibility="Collapsed"
                                                                ScaleVisibility="Collapsed"
                                                                UseSpringAnimations="False"
                                                                ZoomBarVisibility="Collapsed"
                                                                ZoomLevel="16">

                                                                <telerik:InformationLayer>
                                                                    <telerik:Pushpin
                                                                        telerik:MapLayer.Location="{Binding PinLocation}"
                                                                        Cursor="Hand"
                                                                        Style="{StaticResource MapPushpinStyle}" />
                                                                </telerik:InformationLayer>
                                                            </telerik:RadMap>

 

  private void Map_OnLoaded_RefreshProvider(object sender, RoutedEventArgs e)
        {
            if (sender is RadMap map)
            {
                map.Language = XmlLanguage.GetLanguage(CultureInfo.DefaultThreadCurrentCulture.Name);
                map.Provider = MapProviderFactory.Create();
            }
        }

* If I change map,Provider to:

map.Provider = new BingRestMapProvider(MapMode.Aerial, true, "key");

I will get the same exception.

 

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 19 Jan 2022
1 answer
185 views

Hello, 

I have a checkbox in a Telerik GridViewDataColumn with its IsChecked binding set to a data source that could be 1, 0, or Null.

When the value of the data element is 1, it displays a check.

When the value of the data element is 0, it displays an unchecked checkbox.

But when the value of the data element is Null, it displays an X. That's an issue.

How can I change the display to also show an unchecked checkbox when the value is Null? (It needs to look the same way that it looks when the data element value is 0)

Thank you!

Martin Ivanov
Telerik team
 answered on 18 Jan 2022
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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?