I have the following implicit style:
<Style TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Foreground" Value="Green" />
</Style>
However, only the foreground color changes - all font settings are ignored.
Searched this forum, I don't think it is Theme related, but I am using the Crystal theme
Hi, I am having an issue with a standalone RadMultiColumnComboBox. It needs to be populated differently each time I select a different entity (User) from a RadGridView. As I understand it the only way to do this is with events.
The problem is that I run into an exception when I try to clear the selected items from the MCCB (basically, I need to reset it), and add the new selections. I get various ObservableCollection changed event exceptions.
What is the correct way to do this to avoid these type of exceptions?
Thanks,
Ian
Here is the code I use so far:
Private changingUser As Boolean = FalsePrivate Sub RadMultiColumnComboBox_SelectionChanged(sender As Object, e As SelectionChangeEventArgs) Try SyncLock lockObject If changingUser Then e.Handled = True changingUser = False Exit Sub End If End SyncLock If e.AddedItems.Count = 0 AndAlso e.RemovedItems.Count = 0 Then Exit Sub vm.AddRemoveRoles(e.AddedItems, e.RemovedItems) Catch ex As Exception Finally e.Handled = True End TryEnd SubPrivate Sub Grid_SelectionChanged(sender As Object, e As SelectionChangeEventArgs) Try SyncLock lockObject changingUser = True End SyncLock RolesBox.SelectedItems.SuspendNotifications() 'RolesBox is the RadMultiColumnComboBox RolesBox.SelectedItems.Clear() Dim roles = vm.GetSelectedUserRoles For Each r In roles RolesBox.SelectedItems.Add(r) Next Catch ex As Exception Finally RolesBox.SelectedItems.ResumeNotifications() SyncLock lockObject changingUser = False End SyncLock End TryEnd Sub
Here is an example of the exceptions I am getting:
System.InvalidOperationException:
'Cannot change ObservableCollection during a CollectionChanged event.'
at
System.Collections.ObjectModel.ObservableCollection`1.CheckReentrancy()
at
System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)
at
System.Collections.ObjectModel.Collection`1.Remove(T item)
at
Telerik.Windows.Controls.RadMultiColumnComboBox.OnSelectedItemPropertyChanged(DependencyObject
d, DependencyPropertyChangedEventArgs args)
at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.FrameworkElement.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.SetValueCommon(DependencyProperty dp, Object
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at
System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at
Telerik.Windows.Controls.MultiColumnComboBox.SelectionBridge.ItemsSelectedInOwner(IEnumerable`1
addedItems)
at
Telerik.Windows.Controls.MultiColumnComboBox.SelectionBridge.OwnerSelectedItemsCollectionChanged(Object
sender, NotifyCollectionChangedEventArgs e)
at
System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object
sender, NotifyCollectionChangedEventArgs e)
at
System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs
e)
at
System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T
item)


Hi All,
I am very new to Telerik, doing all my work through threads. The program I am working on it is already do have tables and so on, now I cannot find anyone with problem of sending email and sms.
I need to have a clue on how I can retrieve the particular fields on my clients table and send SMS notification. Email suppose to have an attachment field to attach the document slip.
All I would like to see is ViewModel and View binding data - just these 2, would really appreciate any short program as an example.
Regards,
Mncedi

internal void UserControlToRADPane(UserControl theControl, string theName){ RadSplitContainer leftContainer = new RadSplitContainer() { InitialPosition = DockState.DockedLeft }; RadPaneGroup group = new RadPaneGroup() { Name = "RPG" + (++_radPaneGroupId).ToString() }; RadPane aPane = new RadPane() { Header = theName, Content = theControl }; RadDocking.SetSerializationTag(leftContainer, "rsp_" + leftContainer.Name + "_tag" + (++_aStaticIntValue).ToString()); RadDocking.SetSerializationTag(group, "rpg_" + group.Name + "_tag" + (++_aStaticIntValue).ToString()); RadDocking.SetSerializationTag(aPane, "rp_" + aPane.Header + "_tag" + (++_aStaticIntValue).ToString()); group.AddItem(aPane, DockPosition.Center); leftContainer.Items.Add(group); MainDockingManager01.Items.Add(leftContainer);}private void dockingManager01_ElementSaving(object sender, LayoutSerializationEventArgs args){ // Since we are accessing UI elements, we need ownership and // the quickest way to get that is to run on the STA thread. if (args.AffectedElement.GetType() == typeof(Telerik.Windows.Controls.RadPane)) { var uc = ((RadPane)args.AffectedElement).Content as UserControl; ViewModel.VMDockingManager01.Instance.ElementSaving(sender, args, uc); } else ViewModel.VMDockingManager01.Instance.ElementSaving(sender, args);}I'm binding a DataView to the ItemsSource of a RadGridView and some columns are of the DateTime type. On the DateTime-columns I set FilterMemberPath to col.DataMemberBinding.Path.Path + ".Date" as mentioned here: http://www.telerik.com/forums/filtering-on-date-only to only filter on the date part.
This functionality is now broken. I't works in 2016.1.217.45, but not in 2016.3.1024.45 or later versions (I've tried up to the latest release version 2017.2.216.40)
If I replace my DataView with an IEnumerable<SomeObject> the filtering works as expected.

Hello,
I've been
spiraling down a sad hole without any answers, so any insight is appreciated!
So I have a
collection. I'm not able to share my code for security reasons, but in the image provided, the data members which are NOT collections
themselves are displayed in one radgridview above, while data members with
corresponding collections are displayed in additional radgridviews below, as
depicted in the image. I am able to add an error icon onto the main
radgridview with a custom message indicating that there is an "Error Below" using the "RowValidating" property of the radgridview. The issue is that I am unable to remove the error icon from the parent radgridview if that row is not selected, since the the validation occurs on the row. Once I select the row, the error is removed because the validation occurs.
So I guess my question is, how can I force a validation on all rows? This needs to happen after I call the Undo function.
Hope this was clear enough.
Regards,
Scooba

Hello,
is there a way to apply a style to the integrated RadGridView of the MultiColumnComboBox ?
Regards,
Hans