Hello,
I use the two methods provided in the sample for saving a raddocking
When I restore to the saved status I've the SerializationTag to null (I've also tried to set the tag field but it's the same, it's not serialized)
Any suggestion, reason it's happening?
Thanks
I use the two methods provided in the sample for saving a raddocking
private string SaveLayoutAsString(RadDocking instance)
{
MemoryStream stream = new MemoryStream();
instance.SaveLayout(stream,true);
stream.Seek(0, SeekOrigin.Begin);
StreamReader reader = new StreamReader(stream);
return reader.ReadToEnd();
}
private void LoadLayoutFromString(string xml, RadDocking instance)
{
using (Stream stream = new MemoryStream(Encoding.UTF8.GetBytes(xml)))
{
stream.Seek(0, SeekOrigin.Begin);
instance.LoadLayout(stream,true);
}
}
When I restore to the saved status I've the SerializationTag to null (I've also tried to set the tag field but it's the same, it's not serialized)
Any suggestion, reason it's happening?
Thanks