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
40
problem with aUltraWebGrid
posted

There is a problem with the UltraWebGrid to handle the ExtensionDataObject that I receive from my Service that is implemented with WCF.

Error  I received is
Type 'System.Runtime.Serialization.ExtensionDataObject' in Assembly 'System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

When running the same code with a standard GridView it is not a problem. I retrieve my List<User> and set the grids datasource like this:

this.UltraWebGrid1.DataSource = UserList;
this.UltraWebGrid1.DataBind();

Currently I m in a process of vender evaluation and using a trial-version of infragistics.

Parents
No Data
Reply
  • 1171
    posted

    That sounds like the grid is trying to persist something to ViewState that isn't designed to be stored in ViewState. Are the items in your list flat or do they contain complex subproperties? The grid's binding is expecting flat data and will only be able to automatically bind to the properties at the first level of the object. 

Children