Hi,
I'm working with a RadGridView to show dynamically some event come on my app. The RadGridView use a GridViewTemplate to show some children events and the relation is made with a GridViewRelation.
I do some tests to try to customize the display on the event ViewCellFormatting but I still have problem on the RadPageViewStripElement where like on the sample because I cannot remove the Yellow line (define on the RadPageViewContentAreaElement).
I would like know if it's possible to remove this yellow line?
private void GridView_ViewCellFormatting(object sender, CellFormattingEventArgs e) { GridDetailViewCellElement childCell = e.CellElement as GridDetailViewCellElement; GridGroupExpanderCellElement expanderCell = e.CellElement as GridGroupExpanderCellElement; if (childCell != null) { childCell.Padding = Padding.Empty; RadPageViewStripElement stripElement = childCell.PageViewElement as RadPageViewStripElement; if (stripElement != null) { stripElement.DrawBorder = false; stripElement.Padding = Padding.Empty; RadPageViewContentAreaElement contentArea = stripElement.ContentArea as RadPageViewContentAreaElement; contentArea.DrawBorder = false; contentArea.BackColor = Color.Yellow; contentArea.Padding = Padding.Empty; foreach (RadPageViewItem item in stripElement.Items) { item.Size = new Size(0, 1); item.Visibility = ElementVisibility.Hidden; item.DrawBorder = false; } } } else if ((expanderCell != null) && (expanderCell.RowElement is GridDataRowElement)) { expanderCell.Expander.Visibility = ElementVisibility.Hidden; } }
Hello, I am getting the below exception and I was wondering if there is any way to intercept the GridViewRowInfoComparer.CompareRows method to check for null values instead of throwing exception.
System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.WinControls.UI.GridViewRowInfoComparer.CompareRows(GridViewRowInfo x, GridViewRowInfo y, SortDescriptorCollection context)
at Telerik.WinControls.UI.GridViewRowInfoComparer.Compare(GridViewRowInfo x, GridViewRowInfo y)
at System.Collections.Generic.ArraySortHelper`1.InternalBinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
--- End of inner exception stack trace ---
at System.Collections.Generic.ArraySortHelper`1.BinarySearch(T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
at System.Array.BinarySearch[T](T[] array, Int32 index, Int32 length, T value, IComparer`1 comparer)
at System.Collections.Generic.List`1.BinarySearch(Int32 index, Int32 count, T item, IComparer`1 comparer)
at System.Collections.Generic.List`1.BinarySearch(T item, IComparer`1 comparer)
at Telerik.Collections.Generic.HybridIndex`1.PerformWithQuickSort()
at Telerik.Collections.Generic.HybridIndex`1.Perform()
at Telerik.Collections.Generic.HybridIndex`1.get_Items()
at Telerik.WinControls.Data.RadDataView`1.get_Items()
at Telerik.WinControls.Data.RadCollectionView`1.GetEnumerator()
at Telerik.WinControls.UI.GridViewInfo.Refresh()
at Telerik.WinControls.UI.GridViewInfo.get_ChildRows()
at Telerik.WinControls.UI.GridViewTemplate.get_ChildRows()
at Telerik.WinControls.UI.BaseGridNavigator.ProcessViewChangedEvent(GridViewEvent eventData)
at Telerik.WinControls.UI.BaseGridNavigator.ProcessEventCore(GridViewEvent eventData)
at Telerik.WinControls.UI.BaseGridNavigator.Telerik.WinControls.UI.IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(GridViewEvent gridEvent, PriorityWeakReferenceList list, GridEventProcessMode processMode)
at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessEvent(GridViewEvent gridEvent)
at Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(GridViewEvent gridEvent)
at Telerik.WinControls.UI.GridViewSynchronizationService.FlushEvents()
at Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(GridViewEvent gridEvent)
at Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(GridViewTemplate template, GridViewEvent eventData, Boolean postUI)
at Telerik.WinControls.UI.GridViewTemplate.DispatchEvent(GridViewEvent gridEvent, Boolean postUI)
at Telerik.WinControls.UI.GridViewTemplate.DispatchDataViewChangedEvent(Object sender, DataViewChangedEventArgs args)
at Telerik.WinControls.UI.GridViewTemplate.OnViewChanged(Object sender, DataViewChangedEventArgs e)
at Telerik.WinControls.UI.MasterGridViewTemplate.OnViewChanged(Object sender, DataViewChangedEventArgs e)
at Telerik.WinControls.UI.GridViewTemplate.CollectionView_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at Telerik.WinControls.Data.RadCollectionView`1.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
at Telerik.WinControls.Data.RadDataView`1.RebuildData(Boolean notify)
at Telerik.WinControls.Data.RadDataView`1.RefreshOverride()
at Telerik.WinControls.Data.RadDataView`1.OnNotifyPropertyChanged(PropertyChangedEventArgs e)
at Telerik.WinControls.Data.RadCollectionView`1.OnNotifyPropertyChanged(String propertyName)
at Telerik.WinControls.Data.RadCollectionView`1.set_FilterExpression(String value)
at Telerik.WinControls.UI.GridViewFilterDescriptorCollection.ApplyFilter()
at Telerik.WinControls.UI.GridViewFilterDescriptorCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
at Telerik.Collections.Generic.NotifyCollection`1.ClearItems()
at Telerik.WinControls.UI.GridViewFilterDescriptorCollection.ClearItems()
at System.Collections.ObjectModel.Collection`1.Clear()
at Telerik.WinControls.UI.GridViewTemplate.RefreshFilterDescriptors(GridViewTemplate template)
at Telerik.WinControls.UI.GridViewTemplate.RefreshHierarchyProvider(GridViewTemplate template)
at Telerik.WinControls.UI.GridViewTemplate.set_DataSource(Object value)
at Telerik.WinControls.UI.RadGridView.set_DataSource(Object value)
Many thanks.

I'm changing the Row Height at event RowPaint() according to my needing.
But I need to know the "normal" or "default" row height to apply according to the used theme.
I am new to Telerik controls.
I have a radbutton with image, currently when I set the button with ENABLE = FALSE, the image is the same, it is hard to recognize it is Enable or Disable.
When I use regular microsoft button control, the Disabled button is easy to see.
Please advise how to archive it.
Regards,
Patrick

Hi
I followed the following link to implement custom grouping sorting in my app, however after using the search on the property grid the names of the groups revert to the unformatted names (see the attached Image)
https://www.telerik.com/forums/custom-grouping-in-propertygrid
Any Help would be appreciated


Two quick questions:
1) Is there any way to adjust the height of the panel that pops open when you include DetailsText?
2) MessageText seems to be "HTML Aware" but DetailsText isn't - is this a bug or as designed?
Thanks!
-Curtis
In the examples that were included with the winforms samples there is the RadChatExamples. Where is the code for the actual bot that it calls. I woul;d like to down load the code and see what it is doing on the backend.
Thanks,
Tim

Would it be possible to add other controls like a combobox or list view into the Chat UI? If the user has many choise I wouldn't want to fill the screen with all of the choices.
Thanks,
Tim
