This is a migrated thread and some comments may be shown as answers.

Insert Hyperlink dialog wont show up

1 Answer 113 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Tiong
Top achievements
Rank 1
Tiong asked on 23 Nov 2015, 07:03 AM

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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 25 Nov 2015, 09:19 AM
Hi Tiong,

From the attached 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 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.

Regards,
Tanya
Telerik
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
Tags
RichTextBox
Asked by
Tiong
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or