This is a migrated thread and some comments may be shown as answers.

Column Header UI Automation

4 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 08 Jun 2009, 01:49 PM
Hi,

We are looking into the viability of using Rad Grid in our Silverlight application. During our investigation we have noticed that the rid headers appear invisible to UI Autoamtion insepctors such as UI Spy, we also can't see a way of making them visible. This is important to us as the column headers are used to sort the table, and we would need to a) expose this control for accesibility issues, and b) use it for our automated tests.

We would apreciate any feedback on this issue.

Regards,
Dave

4 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 09 Jun 2009, 07:21 PM
Hi David,

The current release of RadGridView does not support automation of the column headers but after your post we have decided that it is high time to introduce such automation peers.

We have managed to implement those peers and they are now being tested by our QA team. I should be able to send you a custom build by Wednesday so that you can test drive the new functionality.

Your feedback is greatly appreciated.
I have updated your Telerik points.

Regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Milan
Telerik team
answered on 11 Jun 2009, 06:23 AM
Hello David,

I am sending you our latest build which includes the new header automation peers. You can now test them and see if they provide the functionality that you require.
Any feedback is appreciated.

Kind regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 11 Jun 2009, 02:02 PM
Hi,

Many thanks for your reply, I apreciate the quick turnaround. However, when I try to expand the datagrid view in UI spy it crashes with a system.NotImplementedException. Full Exception details below:

Regards,

Dave.

System.CrossAppDomainMarshaledException was unhandled
Message: System.NotImplementedException: The method or operation is not implemented.
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.CreateObjectByTypeIndex(UInt32 typeIndex)
   at System.Windows.DependencyObject..ctor(UInt32 nativeTypeIndex, IntPtr constructDO)
   at System.Windows.DependencyObject..ctor(UInt32 nativeTypeIndex)
   at System.Windows.Automation.Peers.AutomationPeer..ctor()
   at Telerik.Windows.Controls.GridView.Automation.EditActionAutomationPeer`1..ctor(T owner)
   at Telerik.Windows.Controls.GridView.Automation.RowCancelEditAutomationPeer..ctor(GridViewNewRowAutomationPeer ownerCellPeer)
   at Telerik.Windows.Controls.GridView.Automation.GridViewNewRowAutomationPeer.GetCancelPeer()
   at Telerik.Windows.Controls.GridView.Automation.GridViewNewRowAutomationPeer.GetChildrenCore()
   at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
   at System.Windows.Automation.Peers.AutomationPeer.GetFamilyTree(IntPtr nativeTarget, Int32 methodIndex, Int32& returnCount, IntPtr& returnAP)
0
Milan
Telerik team
answered on 12 Jun 2009, 07:58 AM
Hello David,

There was a problem with the Silverlight peer. Sorry for the inconvenience.
I am sending you the latest Silverlight dlls.

Greetings,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Milan
Telerik team
David
Top achievements
Rank 1
Share this question
or