I'm scratching my head deep over this one..
GridView has a GridViewPinRowColumn which out of the box looks promising: it simply enables pinning of items to the top -- YAY !
BUT - i need to be able to refresh the grid with new instances of the data every now an then, so my mission is to retain the status of pinned items.
so i found this StyleStter which binds to a property on the item.
<Style TargetType="telerik:GridViewRow">
<Setter Property="IsPinned" Value="{Binding IsPinned, Mode=TwoWay}" />
</Style>There are SOME issues with this :
1. When the GridView renders the items, it resets IsPinned to FALSE !
2. GridView doesn't have an event that fires when all items are rendered !
Let's look at issue 1:
NotifyPropertyChanged turns this into a nightmare, because, when the GridView renders the items, it resets IsPinned, which effectively negates the option to store the value either on the item itself or an external list..
Issue 2:
Even IF is could store a list of IsPinned items, while reloading the Grid, there is no event that fires when items are finished rendering. Thereby making it more or less impossible to restore pinned status
One solution would require a change request: Dont reset IsPinned when rendering the items
Or - do you have another solution to this issue ?
Hi,
I used RadTimeSpanPicker, but I got a situation where I also needed a date.
So I want to use RadDateTimePicker as in the picture,
But with the RadTimeSpanPicker clock and not with the clock that RadDateTimePicker has.
I would be happy to help if this can be done and how
Thank you.
I am trying to programmatically filter rows based on int column.I get below exception on Radgridview.FilterDescriptors.ResumeNotifications.
version 2021 R2
at Telerik.Windows.Controls.GridView.GridViewDataControl.ColumnFromDisplayIndex(Int32 displayIndex) at Telerik.Windows.Controls.GridView.Selection.CellInfoCollection.GetColumnForLocation(CellLocation location) at Telerik.Windows.Controls.GridView.Selection.CellInfoCollection.CreateCellInfo(CellLocation location) at Telerik.Windows.Controls.GridView.Selection.CellInfoCollection.CellRegionEnumerator.MoveNext() at Telerik.Windows.Controls.GridView.Selection.ContainerFromItemCellSelectionStateChanger.UpdateCellSelectionState(CellInfoCollection cells, Boolean isSelected) at Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler.EndAllowedSelection() at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.OnOwnerItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) at Telerik.Windows.Data.QueryableCollectionView.RefreshOverride() at Telerik.Windows.Data.QueryableCollectionView.RefreshOrDefer() at Telerik.Windows.Data.QueryableCollectionView.InvalidatePagingAndRefresh() at Telerik.Windows.Data.QueryableCollectionView.OnFilterDescriptorsChanged() at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications() at Telerik.Windows.Data.CollectionHelper.Reset(IEnumerable source, IList target, Func`2 itemConverter) at Telerik.Windows.Data.ObservableCollectionManager.HandleCollectionChanged(IList sender, NotifyCollectionChangedEventArgs args) at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications() at StruSoft.Impact.Common.Wpf.Behaviors.Filter.RadGridViewFilterBehavior.OnDependencyPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName) at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args) at StruSoft.Impact.Common.Wpf.Validation.NotifyDataErrorInfo`1.RaisePropertyChanged(String propertyName) at StruSoft.Impact.Common.Standard.BaseClasses.NotifyPropertyChanged.SetProperty[T](T& storage, T value, String propertyName) at StruSoft.Impact.ProjectManager.GUI.ElementIdGrid.ElementIdDataGridVm.SetFilterInGridFromIsolation(List`1 ids) at StruSoft.Impact.ProjectManager.GUI.ElementIdGrid.ElementIdDataGridVm.IsolateSelection() at StruSoft.Impact.ProjectManager.GUI.ViewModels.ProjectManagerVM.ElementIdDataGridIsolateExecute(Object parameter) at System.Collections.Generic.List`1.ForEach(Action`1 action) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at Telerik.Windows.Controls.RadButton.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, 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) 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) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at StruSoft.Impact.ProjectManager.GUI.App.Main() Message=DataGrid_DisplayIndexOutOfRange Parameter name: displayIndex ParamName=displayIndex Data=System.Collections.ListDictionaryInternal HResult=-2146233086 (0x80131502)
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
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
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?
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)
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
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

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!