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
140
not marked as serializable
posted
I'm using UltraWebGrid v8.1.20081.1000 with IdeaBlade 3.6.2.2.  I am simply trying to bind a list the the grid.  I've tried...

EntityList<SPSProviderSearch> el = pm.GetEntities<SPSProviderSearch>(q, QueryStrategy.DataSourceOnly);
uwgProviders.DataSource = el;
uwgProviders.DataBind();
With Error: Type 'System.Data.DataColumn' in Assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

I’ve also tried…
BindableList<SPSProviderSearch> bel = new BindableList<SPSProviderSearch>();
foreach (SPSProviderSearch ps in el)
            bel.Add(ps);
uwgProviders.DataSource = bel;
uwgProviders.DataBind();
With Error: Type 'System.Data.DataColumn' in Assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

I can make it work if I create a wrapper object, load it and bind.

This does not work the same as the Winforms version of infragistics.  What am I doing wrong?