Hello.
I use ver.(2012.1).
when binding DataTable to XamGrid and allow Filtering, Error occur and throw message like below.
"The DataManager attempted to create an instance of the type 'System.Data.DataRowView' which does not have an empty parameter list."
I want to know that solution to use Filtering, when binging DataTable to XamGrid.
please help me. thank you.
Hello! Yanko
Thank you for your help
I define 'DataObjectRequested' Event and not occurs error.
Hello,
Thank you for your post. This issue occurs XamGrid control has been originally designed for Silverlight where Data Tables are not supported. In order to achieve the desired functionality you can handle the ‘DataObjectRequested’ event like :
private void MyGrid_DataObjectRequested(object sender, DataObjectCreationEventArgs e)
{
if (_table != null && e.ObjectType.Equals(typeof(DataRowView)))
e.NewObject = new DataView(_table).AddNew();
}
For more information regarding this issue, you can look through the following forum thread :
http://ko.infragistics.com/community/forums/t/66020.aspx
Let me know, if you need any further assistance on this matter.