StrataFrame Forum

Sub-classed Infragistcs Grid with layout saving feature

http://forum.strataframe.net/Topic27157.aspx

By Ivan George Borges - 5/17/2010

This is a simple sample on a subclassed UltraGrid that will save changes made by the user on its columns' order, widths, groups, etc, into a XML file.

In order to save it, there is a base form that will iterate through all controls and find any grid inherited from your base grid and use its DisplayLayout method.

Also, a Datasource issue is taken care of at this moment, when closing the form with an UltraGrid in it would throw exceptions at certain situations.

The layout Load is dealt with at the grid's own InitializeLayout.

By Russell Scott Brown - 5/17/2010

Thanks Ivan.
By Ivan George Borges - 5/17/2010

And here is the C# version.

Please, bare with me... this is the first C# project I have ever created. BigGrin

Thanks to: http://www.developerfusion.com/tools/convert/vb-to-csharp/

By Russell Scott Brown - 5/17/2010

Thanks Ivan!
By Sahar Roostaee - 12/12/2011

Hi Ivan
Thanks for your sample, but where is MicroFour.StrataFrame?
By Ivan George Borges - 12/12/2011

Hi Sahar.

You are welcome.

I didn't quite understand your question. Have you got StrataFrame installed on your machine?
By Lowell Burnett - 7/9/2012

I love to write. I mean, I really love to write. It's probably the only passion I have stronger than love. But I need to know what college to go to.. . What college should I go to for Creative Writing?.
By Hugo R. Figueroa - 7/10/2012

????
By Edhy Rijo - 7/10/2012

Hi Hugo,

Well, at least we get some spams from time to time BigGrin
By Hugo R. Figueroa - 7/11/2012

Hi Edhy,

Yes, at first I thought  he'd must had something really good     BigGrin