Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Getting error in GetCellData function of XamDataGrid
posted

Hi,

I am using sample application of infragistics wpf(AutoSales Dashboard) which I downloded from infragistic site.Application is built in verison 15.2 infragistics wpf

Currently i am using Infragistics 16.2 Test Automation version free which I downloaded from infragistics site.

I am getting error in GetCellData function of XamDataGrid

IG : [GetCellData] : Could not load type 'Infragistics.Windows.DataPresenter.FieldItem' from assembly 'InfragisticsWPF.DataPresenter, Version=15.2.20152.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'.

code is simple

r1 = WpfWindow("AUTO SALES DASHBOARD").XamDataGrid("XamGrid").RecordCount
c1 = WpfWindow("AUTO SALES DASHBOARD").XamDataGrid("XamGrid").FieldCount

MsgBox r1
MsgBox c1

cell = WpfWindow("AUTO SALES DASHBOARD").XamDataGrid("XamGrid").GetCellData("{2}[Dealer]")
msgbox cell

Also getting error for FieldCount method

Could not load type 'Infragistics.Windows.DataPresenter.FieldItem' from assembly 'InfragisticsWPF.DataPresenter, Version=15.2.20152.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'

PC configuration

windows 7,64 bit OS