Completed
Last Updated: 12 Jul 2016 09:53 by ADMIN
ADMIN
Dimitar
Created on: 04 Jan 2016 13:29
Category: UI Framework
Type: Bug Report
1
FIX. TPF - StackOverflowException when RadTimePickerElement is serialized with ComponentXmlSerializer.
To reproduce:
var control =new RadDateTimePickerElement();

ComponentXmlSerializer serializer = new RadTimePickerElement();
StringBuilder xml = new StringBuilder();
StringWriter writer = new StringWriter(xml);
XmlTextWriter xmlWriter = new XmlTextWriter(writer);

xmlWriter.WriteStartElement(control.GetType().FullName);
serializer.WriteObjectElement(xmlWriter, control);
xmlWriter.WriteEndElement();
0 comments