wpf diagram html export error

2 posts, 0 answers
  1. ITA
    ITA avatar
    384 posts
    Member since:
    Aug 2009

    Posted 26 May 2014 Link to this post


    I get an error when I try to Export a RadDiagram.

    Error in HTMLExportHelper Class:
    private static string LoadStringFromFile(string path)
                string javaScript = string.Empty;
                using (var stream = ExtensionUtilities.GetStream(path))
                    if (stream != null)
                        using (var reader = new StreamReader(stream))
                            javaScript = reader.ReadToEnd();
                return javaScript;

    Var stream is allways null. How should string path looks like? for example "public const string JSFilePath = @"Common/ExportToHTML/JavaScript.js";" ist
    wrong. The JavaScript.js file is Applicationpath + Common + ExportToHTML Folder.

    Best Regards
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 29 May 2014 Link to this post

    Hi Rene,

    I tried to reproduce the reported behavior on our side with our official release and it seems that the code works as expected. Could you please take a look at the attached project and let me know if you need any further assistance.

    Pavel R. Pavlov
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top