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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

gridGroupingControl.WriteXmlSchema - exeption

Thread ID:

Created:

Updated:

Platform:

Replies:

48645 Aug 31,2006 05:15 PM UTC Sep 1,2006 10:56 AM UTC WinForms 3
loading
Tags: GridControl
Yuriy Stasiv
Asked On August 31, 2006 05:15 PM UTC

Hi,

XmlWriter writer = XmlWriter.Create(Application.LocalUserAppDataPath + "\\tempXMLMaster"); gridGroupingControl1.WriteXmlSchema(writer);

At implementation of the last line of this code I get exeption:
"There was an error generating the XML document."

Stack Trace:
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o)
at Syncfusion.Windows.Forms.Grid.Grouping.GridEngine.WriteXml(XmlWriter xw)
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.WriteXmlSchema(XmlWriter xw)
at Pdu.Presentation.Smartparts.ManualMatchMaker.View.MatchMakerControl.SaveConfig() in c:\CVSHOME\medassets\src\pdu\Presentation\Perspective Manager\Smartparts.ManualMatchMaker\Views\MatchMakerControl.cs:line 545
at Pdu.Presentation.Smartparts.ManualMatchMaker.View.MatchMakerControl.tableLayoutPanel1_Leave(Object sender, EventArgs e) in c:\CVSHOME\medassets\src\pdu\Presentation\Perspective Manager\Smartparts.ManualMatchMaker\Views\MatchMakerControl.cs:line 981
at System.Windows.Forms.Control.OnLeave(EventArgs e)
at System.Windows.Forms.Control.NotifyLeave()
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
at System.Windows.Forms.ContainerControl.SetActiveControlInternal(Control value)
at System.Windows.Forms.ContainerControl.AfterControlRemoved(Control control, Control oldParent)
at System.Windows.Forms.Form.AfterControlRemoved(Control control, Control oldParent)
at System.Windows.Forms.Control.ControlCollection.Remove(Control value)
at System.Windows.Forms.MdiClient.ControlCollection.Remove(Control value)
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Рow I to get such functionality me?

Regards, Yuriy.

Administrator [Syncfusion]
Replied On September 1, 2006 05:52 AM UTC

Hi Yuriy,

The CategoryView browser sample shows you how to serialize and deserialize the grids schema information using an Xml serialization. Please refer to it for more details. Is it possible for you to modify the sample to your settings to reproduce the issue?

Sample Path : [InstalDrive]:\Program Files\Syncfusion\Essential Studio\4.3.0.0\Windows\Grid.Grouping.Windows\Samples\CategoryView

Thanks for your patience.
Regards,
Haneef

Yuriy Stasiv
Replied On September 1, 2006 08:49 AM UTC

Hi Haneef,

I got tighter an error using Your(Syncfusion) example, trying to save XMLShema. Example of attached...

ResizableRows_TestSaveXMLShema(Exeption).zip

Administrator [Syncfusion]
Replied On September 1, 2006 10:56 AM UTC

Hi Yuriy,

Sorry for the inconvenience caused.

This is a known issue and has been reported in the following link.

http://www.syncfusion.com/support/issues/grid/Default.aspx?ToDo=view&questId=2348.

You can view the status of the bug fix at the above link. We will try our very best to address the same at the earliest.

Best Regards,
Haneef.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon 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.Close Icon

;