Hi,
I have hashtable that contain wpf and telerik controls, and I need to serialize it to xml file. I found this code for wpf controls:
string
savedButton = XamlWriter.Save(origianlButton);
File.WriteAllText(@
"C:\test.xml"
, savedButton);
but it doesn't work for telerik controls, it stuck and I get this error:
An unhandled exception of type
'System.StackOverflowException'
occurred
in
mscorlib.dll
Is there any other way to do that?
Thanks in advance.