We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I initialize a Web Grouping Grid through an xml schema file?

 

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:

C#

// If the schema file is right below the application root dir.

this.GridGroupingControl1.ReadXmlSchema(new StringReader(new StreamReader(Page.MapPath("gridSchema.xml")).ReadToEnd()));

VB

' 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
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.