You can save the schema of a grid, which includes all the information within the TableDescriptor, BaseStyles, Appearance, ChildGroupOptions, NestedTableGroupOptions, TableOptions and TopLevelGroupOptions properties, during design time by invoking the "Save Schema..." verb.
You can then load the file created in the above step with the code below:
// If the schema file is right below the application root dir.
this.GridGroupingControl1.ReadXmlSchema(new StringReader(new StreamReader(Page.MapPath("gridSchema.xml")).ReadToEnd()));
' If the schema file is right below the application root dir.
Me.GridGroupingControl1.ReadXmlSchema(New StringReader(New StreamReader(Page.MapPath("gridSchema.xml")).ReadToEnd()))
Note that the above schema file could have been created using our Windows Grouping Grid control. In other words, you can use a single schema file to initialize both our Windows and Web grouping grid controls.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|534||04/30/2011||07/10/2014||ASP.NET Web Forms (Classic)||GridGroupingControl|
or the page will be automatically redirected to sign-in page in 10 seconds.