Insert Hyperlink dialog wont show up

2 posts, 0 answers
  1. Tiong
    Tiong avatar
    3 posts
    Member since:
    Nov 2015

    Posted 23 Nov 2015 Link to this post

    Hi guys, my project is C# language, and WPF architecture.

    I am having the issue of loading the page of the Richtextbox which take around 15 seconds to completely load the page. So, I insert the code as follow(picture is attached in this post): RadCompositionInitializer.Catalog = new TypeCatalog(typeof(HtmlFormatProvider), typeof(TxtFormatProvider),typeof()Hyperlink),typeof(IInsertHyperlinkDialog));

    The page taken around 4 seconds to load and eventually solve my problem, but whenever I click the hyperlink button, the hyperlink dialog didnt show up. While the other function like font size, insert picture dialog, bold..italy... all is working well except the hyperlink dialog.

    If I erase the new added code , the hyperlink dialog will prompt up but it took about 15 seconds again to load the entire page(background main page as the picture attached).

    Quality Assurance reject my work as it took too long to load the page.
    May I know how to prompt up the hyperlink dialog and also used less time to load the entire page?


  2. Tanya
    Tanya avatar
    377 posts

    Posted 25 Nov 2015 Link to this post

    Hi Tiong,

    From the attached image I can see that the IInsertHyperlinkDialog interface is set to be loaded. However, this is not a type and you will need to pass the RadInsertHyperlinkDialog as it represents the actual implementation of the dialog.

    In the MEF article you could find some tips to decrease the time needed for RadRichTextBox to load initially and the full list of types loaded through the MEF.

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top