Hello,
The application I am working on is throwing the following unhandled exception whenever I attempt to run my automation against it. This issue started occurring when we upgraded our Telerik libraries from Library v2012.3.1129.40 to v2012.1.326.402. We are using HP QTP to automate our testing. This is the first time I have experienced this error, there were no issues prior to the Telerik lib upgrade.
System.NullReferenceException was unhandled by user code
Message=Object reference not set to an instance of an object.
Source=Telerik.Windows.Controls.GridView
StackTrace:
at Telerik.Windows.Automation.Peers.GridViewGroupPanelAutomationPeer.GetChildrenCore() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Automation\GridViewGroupPanelAutomationPeer.cs:line 44
at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdatePeer(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper
I have located some backwards compatibility documentation on your website http://www.telerik.com/help/wpf/radgridview-backward-compatibility.html.
It explains that the “Telerik.Windows.Controls.GridView.Automation” class is now obsolete and has been moved into “Telerik.Windows.Automation.Peers…” class. Could this have something to do with my issue? Any help with this would be much appreciated.

<telerik:RadGridView ... NewRowPosition="Top"> <telerik:RadGridView.Columns> <telerik:GridViewToggleRowDetailsColumn .../> <telerik:GridViewDataColumn ...> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> ... </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> <telerik:GridViewDataColumn.CellEditTemplate> <DataTemplate> <TextBox ... > <TextBox.Triggers> <EventTrigger RoutedEvent="TextBox.GotFocus"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <BooleanAnimationUsingKeyFrames Storyboard.TargetName="TextBoxPopup" Storyboard.TargetProperty="IsOpen"> <DiscreteBooleanKeyFrame KeyTime="0:0:0" Value="True" /> </BooleanAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> </TextBox.Triggers> </TextBox> <Popup x:Name="TextBoxPopup" ...> ... <Button Content="Test Button" Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}},Path=DataContext.SaveCommand}" Click="Button_Click"/> <Popup.Triggers> <EventTrigger RoutedEvent="Popup.LostFocus"> <BeginStoryboard> <Storyboard> <BooleanAnimationUsingKeyFrames Storyboard.TargetName="TextBoxPopup" Storyboard.TargetProperty="IsOpen"> <DiscreteBooleanKeyFrame KeyTime="0:0:0" Value="False" /> </BooleanAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger> </Popup.Triggers> </Popup> </DataTemplate> </telerik:GridViewDataColumn.CellEditTemplate> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> <telerik:RadGridView.RowDetailsTemplate> ... </telerik:RadGridView.RowDetailsTemplate></telerik:RadGridView>Hi,
In xaml, I have a button inside a popup that is placed on edit cell template (CellEditTemplate). The button's Click event and the Command are not fired when I click the button. I have tried placing the popup with the button inside view cell template (CellTemplate) and the button by itself (no popup) inside edit template. They are both working. The xaml structure is attached. When the button on the popup is clicked, I want to close the popup and proceed to commit the change on the cell. Is this possible to do?
Thank you in advance for your help.

Hi,
i was wondering if its possible to Autohide Collums in the GridView when i resize the application. For example: i resize the width of the application from full sreen to half so from 8 collums only 4 are now visible.
Best regards,
Thomas

Hello,
I use a RadGridView and validate my data by implementing the
INotifyDataErrorInfo interface.
It works well, but when there is a validation error, the
tooltip of the row header is empty.
Could you please tell me how to fill the tooltip of the row header
with the validation error messages?
Example: https://file.io/rEm4Fd (link valid until Tuesday 16th of April 2019)

Hello,
Given <telerik:GridViewDataColumn DataMemberBinding="{Binding Number, StringFormat=C}" />..
If I use GetValueForItem, I get the formatted value (e.g. $1.00)..
Is there a method so I can get "1" instead?
Thank you,
Jan
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
at Telerik.Windows.Controls.RadTabControlAutomationPeer.GetChildrenCore()
at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.ItemsControlAutomationPeer.UpdateChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
I get a visual bug when I use 'HierarchyColumnIndex' to set the 3rd column as the one I want the Tree to appear on and also turn on 'TreeLinesVisibility'
I looks like the tree lines say on the the first column and don't move over to the 'HierarchyColumnIndex' column like the tree arrows do

Hi
In the Rad Time Picker control, using the Windows 7 theme, the time entries in the picker popup is WHITE in color.
Can you please suggest as to how one can change the color to Black.
I tried using the foreground attribute, it didnot work.
<
telerik:RadTimePicker MinWidth="200" telerik:StyleManager.Theme="Windows7Theme" Foreground="Black" Tag="EndTime" Width="200" Grid.Row="4" Grid.Column="4" SelectedTime="{Binding Path=EndTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"/>
Can you please suggest how one can achieve this.
Thanks and Regards
Abhinav
