Telerik Forums
UI for WPF Forum
0 answers
119 views

Hi,

            So, I have been tasked with fixing a XAML issue in RadGridView where FilterMemberPath has been set in the CustomGridViewDataColumn…This creates Custom Filter Options....

            However, the Column Header isn’t highlighting as expected when the Filter is applied…

            Is there a solution to this issue…

 


Nick
Top achievements
Rank 1
 asked on 31 Jan 2022
1 answer
216 views
After I did the update, my project compiles, but no longer runs. As soon as the project tries to open a window with a GridView on it,
I get the error: "Could not load file or assembly 'Telerik.Windows.Controls, Version=2022.1.117.45"

The thing is the current version is 2022.1.116.40. I don't see a reference to 2022.1.117.45 anywhere?
Dilyan Traykov
Telerik team
 answered on 27 Jan 2022
1 answer
148 views

Hello.

Same gridview exists in RowDetails in GridView.

I want to hide columns at the same time.
I applied the hide/show column function in the parent gridview right from the sdk example.

However, it is difficult to apply in row details.

I tested it in a slightly different way, but it didn't work.

How should I approach it?
Width column synchronization was also applied to make visible similarly, but it failed.

Thanks.

Martin Ivanov
Telerik team
 answered on 27 Jan 2022
2 answers
203 views

Hi,

Is there a way I can insert text in Hebrew and scan it?

Because by default I see that it only supports English.

Thanks.

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 27 Jan 2022
1 answer
437 views

We have requirements to render html contents in List control (ItemsControl).  Collection source may contains upto 200 html content.

Initially we tested RadRichtextbox with HTMLFormatProvider to bind Html content. radrichtextbox along with HtmlFormatProvider works fine for small collection, but if ItemsSource has more than 100 items, we are facing performance issue. 

Therefore I replaced Telerik control with HtmlRenderer.WPF (HtmlPanel) control, which is faster compared to telerik control. HtmlPanel has flow direction issue with arabic text.

Is there any light weight telerik control that can be used to render html contents only.

Tanya
Telerik team
 answered on 26 Jan 2022
0 answers
114 views
(Edit: Please delete--I didn't realize there were other examples in the demo project)
Taylor
Top achievements
Rank 1
 updated question on 25 Jan 2022
1 answer
129 views

Hello.

I made a detail row (group) in two grid views.

Both gridview data use the same data and have different outputs.
Here, i want both gridviews to expand equally in the same row when toggled.

(Otherwise, the data can be ignored. I want extended sync on the same data.)


I tried several searches such as RowDetailsVisibilityChanged, toggle style, toggle custom enable behavior, but nothing worked.

Attach the basic data. please help.
Thank you.

Dilyan Traykov
Telerik team
 answered on 24 Jan 2022
1 answer
227 views

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 ? 

 

 

Stenly
Telerik team
 answered on 24 Jan 2022
1 answer
157 views

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.

 






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

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)
 
Dilyan Traykov
Telerik team
 answered on 21 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?