Hi community,
I am using the current trial version of Telerik UI for Wpf.
I can not find getters to get a cell value of a calculated column, programmatically. Is there a way to find a simple cell value.
- Documentation of the RadGridView :
if ((decimal)radGridView1.Rows[0].Cells["UnitPrice"].Value > 10)
radGridView1.Rows[0].Cells["UnitPrice"].Value = 10;
But when I try radGridView1.Rows... I have the message "No definition for Rows..."
So i can not use the documentation code
Thank you
Matthieu Meunier

I've been searching here and any other websites that show up in a search online for anything that seemed answer my question but haven't seen anything yet.
I'm looking for a way to prevent appointments from being automatically selected when they have been updated. My appointments are removed and re-added to their collection, which appears to be the only way to successfully update the UI per this forum. I think it was this post I found, for those who are curious - https://www.telerik.com/forums/update-ui-after-collection-of-appointment-change
My problem is this: background logic is updating appointments and when using the schedule the appointment selection is constantly changed to the last updated appointment. This makes selecting and interacting with other appointments difficult. I won't rule out that my implementation may be incorrect, but I believe I have done well so far thanks to this forum.
Hi
Nice work with the new Callout-control, exactly what I needed!
1)
Im looking at the documentation, and I have a hard time figuring out how to popup a button on a button clicked for MVVM approach
(I have a (i)-symbol on a button for each row in my grid that should show a popup/callout with more information for that row)
2)
Are there example on formatted callout content (newline and bold, mostly needed)
/Thanks in advance, Robert


Hello
I need a racombobox with checkbox with multiselect and "select all" option, so I used the example from this thread : https://www.telerik.com/forums/radcombobox-with-checkbox-with-multi-select-(using-mvvm)
It works well, but I need it into a radgridview which could have a scrollbar and in this case I got an excepetion when I use the scroll of the radgridview.
It's fire the event OnSelectedItemsPropertyChanged change and so the sub Transfer is called but as the collection changed the Transfer sub crach.
I tried to put the radcombobox into a stack panel in order to prevent firing of event but it doesn't work :(
Here the code :
<telerik:RadGridView Margin="6,10,6,32.96" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="True" CanUserSortColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" ItemsSource="{Binding Rules}" SelectedItem="{Binding SelectedRule}" IsReadOnly="{Binding OnlyRead}" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Jib Geometry" Width="100"> <telerik:GridViewColumn.CellTemplate> <DataTemplate> <StackPanel> <telerik:RadComboBox ItemsSource="{Binding JibGeometryDataContexts}" Margin="5,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Height="22" AllowMultipleSelection="True" EmptyText="Select jib geometry" Grid.Column="1" IsEditable="False" ItemTemplate="{StaticResource MultiSelectComboTemplate}" Style="{StaticResource CheckBoxRadComboBox}" MultipleSelectionBoxTemplate="{StaticResource MultiSelectedBoxTemplate}" DropDownClosed="RadComboBox_DropDownClosed"> <i:Interaction.Behaviors> <combobox:SelectedItemsBehavior SelectedItems="{Binding SelectedJibGeometryDataContexts}" /> </i:Interaction.Behaviors> </telerik:RadComboBox> </StackPanel> </DataTemplate> </telerik:GridViewColumn.CellTemplate> </telerik:GridViewDataColumn> ... </telerik:RadGridView.Columns> </telerik:RadGridView>
crash on :
Public Shared Sub Transfer(ByVal source As IList, ByVal target As IList) If source Is Nothing OrElse target Is Nothing Then Return target.Clear() For Each o In source target.Add(o) Next End Sub
Do you have any Idea to fix these crashes ?
Thanks
Regards
J-Christophe
Hi all,
I have a grid that uses the GridViewComboBoxColumn column type. We're trying to give it very fast action. We want the cell to commit the edit and exit edit mode immediately after selecting a value in the combo box of the column.
How can this be done? I see there's a RadMultiColumnComboBox.SelectionChanged event where an EndEdit could be called, but we're not using multi-column combo boxes.
Thanks!
Matt
Hello,
I have tested a specific .pdf file in Adobe Reader, Chrome and Edge, in all viewers the pdf loads without issues and all text is visible.
This is not the case in PDFViewer, the content is obscured in some way (marked in red rectangles on screens). I have tested it on the demo preview of features.
Would it be possible to fix this issue?
I'm attaching the difference in views example in PDFViewer and Edge.
It is not possible to attach the .pdf file in question, can i provide this file in any other way?
Thank you.

I have a HeaderTemplate that contains two RadPathButtons.
One of the button's PathGeometry is defined in xaml:
PathGeometry="{telerik:RadGlyph Glyph=}"
The other one's PathGeometry is defined using the RadGlyph markup extension:
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphInvertColors}}"
When using the markup extension the Visual Studio 2019 (Preview) xaml editor shows error "The resource GlyphInvertColors has an incompatible type"
There are no errors when not using the markup extension.
In both cases it works perfectly at runtime. The errors only appear at Design time.
As of a day or two ago, these errors would disappear if I rebuilt the solution. But now they are persistent and never go away.
Here is the xaml I am using:
<telerik:RadWindow.HeaderTemplate> <DataTemplate> <DockPanel LastChildFill="False"> <TextBlock DockPanel.Dock="Left" Text="{StaticResource ApplicationTitle}" VerticalAlignment="Center" Margin="0,0,8,0"/> <StackPanel DockPanel.Dock="Right" Orientation="Horizontal" FlowDirection="RightToLeft"> <telerik:RadPathButton Style="{DynamicResource RadPathHeaderButtonStyle}" PathGeometry="{telerik:RadGlyph Glyph=}" Command="{Binding DataContext.ShowSettingsDialogCommand, ElementName=mainWindow}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType={x:Type telerik:RadWindow}}}" telerik:RadToolTipService.Placement="Mouse" telerik:RadToolTipService.VerticalOffset="1" telerik:RadToolTipService.ToolTipContent="Settings"> <telerik:RadToolTipService.ToolTipContentTemplate> <DataTemplate> <telerik:RadToolTipContentView> <TextBlock Text="{Binding}" /> </telerik:RadToolTipContentView> </DataTemplate> </telerik:RadToolTipService.ToolTipContentTemplate> </telerik:RadPathButton> <telerik:RadPathButton Style="{DynamicResource RadPathHeaderButtonStyle}" PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphInvertColors}}" Command="{Binding DataContext.TogglePaletteCommand, ElementName=mainWindow}"> <telerik:RadToolTipService.ToolTipContentTemplate> <DataTemplate> <telerik:RadToolTipContentView> <TextBlock Text="{Binding}" /> </telerik:RadToolTipContentView> </DataTemplate> </telerik:RadToolTipService.ToolTipContentTemplate> </telerik:RadPathButton> </StackPanel> </DockPanel> </DataTemplate></telerik:RadWindow.HeaderTemplate>
I'm not certain this is actually an issue with the RadGlyph or RadPathButton. It could very well be a Visual Studio issue. Or, of course, it could be a mistake that I am making (maybe something missing or incorrect in my xaml or maybe I am missing a required dependency. Any ideas would be greatly appreciated.
Hello!
I get exceptions when open some files using method Import() in PdfFormatProvider.
I prepared 1 such file to you for tests: http://u.pc.cd/3TlctalK
Version of libraries which I use is 2020.3.915
I noticed, that exceptions appears for files with outlines.
There is DestinationConverter object and its method ConvertFromArray where that exception appears.
Here is exception message:
Unable to cast object of type "Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfReal" to type "Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfName".
Here is a StackTrace:
in Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExceptionHandler.TryHandle(Exception exception)
in Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)
in PdfViewer.States.AppStateExtensions.ReadDocumentForTelerik(String filePath)
My method:
internal static RadFixedDocument ReadDocumentForTelerik(string filePath){ if (filePath == null) throw new ArgumentNullException(nameof(filePath)); using (Stream stream = File.Open(filePath, FileMode.Open, FileAccess.Read)) { var provider = new PdfFormatProvider(); provider.ImportSettings = PdfImportSettings.ReadOnDemand; return provider.Import(stream); }}
Using:
var doc = ReadDocumentForTelerik(@"C:\Outline_Down.pdf");

I have defined a RadWindow like this:
01.<telerik:RadWindow x:Class="Shell.ShellView"03. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"04. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"05. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"06. xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"07. xmlns:shell="clr-namespace:Shell"08. mc:Ignorable="d"09. d:DesignHeight="450" d:DesignWidth="800"10. d:DataContext="{d:DesignInstance shell:ShellViewModel}"11. Width="800"12. Height="475"13. Header="{Binding Header}"14. WindowStartupLocation="{Binding StartupLocation}"15. navigation:RadWindowInteropHelper.ShowInTaskbar="{Binding ShowInTaskBar}">16. [...]17. 18.</telerik:RadWindow>
Note the bindings on lines 13 - 15.
The corresponding view model looks like this:
01.public class ShellViewModel02.{03. public bool ShowInTaskBar => true;04. 05. public WindowStartupLocation StartupLocation => WindowStartupLocation.CenterScreen;06. 07. public string Header => Resources.MainWindowHeader;08. 09. [...]10.}
As you can see, I am binding the Header, the StartupLocation, and the ShowInTaskBar properties.
My problem is the following: while the bindings for the Header and ShowInTaskBar do work perfectly, the binding for StartupLocation doesn't. I understand why.
Can someone tell me what I am missing here?
Thanks in advance!