Most commonly the exception message is "Input file or data stream does not conform to the expected file format specification".
This appears because of the glyphs font used in the different controls.
To work this around you can use two approaches:
RadGlyph.GetRegisteredFonts();
var dictionary =
typeof
(RadGlyph).GetField(
"registeredTypefaces"
, BindingFlags.NonPublic | BindingFlags.Static)?.GetValue(
null
)
as
Dictionary<
string
, Typeface>;
dictionary?.Clear();
RadGlyph.RegisterFont(
new
FontFamily(
new
Uri(
"pack://application:,,,/WpfApp3;component/TelerikFont/"
, UriKind.RelativeOrAbsolute),
"./#TelerikWebUI"
),
"TelerikWebUI"
);