private static RadDocument GetDocumentFromDocx(byte[] docx)
{
RadDocument result;
if (docx == null || docx.Length == 0)
{
result = new RadDocument();
}
else
{
IDocumentFormatProvider provider = new DocxFormatProvider();
result = provider.Import(docx);
}
return result;
}
Everything works fine, but when I directly open up the file and edit it and save and then import (above), everything is underlined. So then I have to select all and un-underline it from the radrichtextbox, to save. Then it's Ok. When I open up the saved file in M. Word, it is not underlined.
Using silverlight controls installation from 2011 3rd quarter (not the latest).