I am trying to use SaveAsXml to save to a stream but cannot find a stream that will work... I have tried StringWriter but it won't pass the syntax check and you cannot create a generic stream. What streams work. I just want a string of the XML
Visual Basic if possible please.
Hello wltaylor,
Please take a look at the following link in which you could find a Visual Basic example as well:
http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=Infragistics2.Win.UltraWinGrid.v12.1~Infragistics.Win.UltraWinGrid.UltraGridLayout~SaveAsXml(Stream,PropertyCategories).html.
Please do not hesitate to contact me if you need any additional assistance.
So I guess judging from the example, the only save supported is to an actual file, which is not what I want becuase I want to store the results in a database, so I guess I will have to create a temp file, write out the settings, then read them back in, place the string in the database, and then delete the temp file.