I Trying to use Infragistics WebDataGrid and have trouble with it. I am binding my collection (I tried to bind collection inherited from ReadOnlyListBase or BusinessListBase) in the code. So far have all different kind of problems. I am setting Auto CRUD false and true depends of what collection I use, but so far no luck. If somebody has experience with webdatagrid can you tell me generic strategy?
Thank you in advance,
Vadim
There is a CslaDataSource (not sure if this is still around in later versions) that really helps. Goes something like:
<cc1:CslaDataSource ID="CslaDataSource1" runat="server" TypeAssemblyName="" TypeName="etc., etc." TypeSupportsPaging="False" TypeSupportsSorting="False" OnSelectObject="BusinessCollection_SelectObject" OnUpdateObject="BusinessCollection_UpdateObject"></cc1:CslaDataSource>
...
<ig:WebDataGrid ID="WebDataGrid1" runat="server" AutoGenerateColumns="False" DataKeyFields="Key" DataSourceID="CslaDataSource1"....
...
protected virtual void BusinessCollection_SelectObject(object sender, Csla.Web.SelectObjectArgs e)
{
EnsureBusinessCollection();
e.BusinessObject = this.BusinessCollection;
}
Copyright (c) Marimer LLC