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
4133
Serialize UltraCombo?
posted

I have extended the UltraGrid to include an UltraComboBox that I use as the grid's dropdown control.  I would like to serialize this class and save/load the whole thing to a database.  This works fine with the grid itself, but I get an error when I try to serialize the extended grid class (including the combo).

I would even be happy if I could skip the combo and just serialize the grid, but since they are both in one class, I don't know how to serialize just part of a class.

Any ideas?

Rich

 

 

Parents
No Data
Reply
  • 335
    posted

    This may work by marking the UltraComboBox as non serializable (add <NonSerialized()> attribute to the field definition).

Children
No Data