Duplicated
Last Updated: 21 Feb 2022 10:54 by ADMIN
Kamran
Created on: 23 Jan 2022 16:45
Category: UI for WPF
Type: Feature Request
0
New Control: Add HTML/XAML viewer control (Alternative to RadRichTextBox to render html content as viewer)

We are using RadRichText box along with HtmlDataProvider to create new para in specific notes- comments. As our application heavily relay on adding comments in html format when adding/ forwarding application to another user.

As a main control RadRichText box is working fine and dev team is recommending to use it in Production. But issue happens when we are rendering all comments as list associated to one application. Currently we have some application having more than 200 comments.

We used RadRichtext box to render HTML as readonly. but I impacted performance. Page take enough time to load contents. 

Currently we replaced RadRichText box with HtmlRenderer.WPF (HtmlPanel) control, which is much efficient compare to Telerik control. However HtmlPanel has its own limitation.

I wish if Telerik has such lightweight control to render HTML content in more efficient way, which does not effect application performance.

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
6 comments
ADMIN
Martin Ivanov
Posted on: 21 Feb 2022 10:53

Hello Kamran,

It turns out that there is already a feature about this type of control (WebBrowser for WPF), so I am marking this as a duplicate (and linking the requests) and adding a link to the other request.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Martin Ivanov
Posted on: 21 Feb 2022 10:51

Hello Kamran,

Please excuse us for the delay and thanks for the project. Indeed, the WebView2 requires to have installed the WebView2 Runtime on the machine that is running the browser. Note that the runtime is automatically installed with the Microsoft 365 apps (like Word, Outlook, etc.), so big part of the Windows 10 machines should have it enabled. As an alternative, you can consider using a Chromium based browsers CefSharp.

We also approved this feature request, but due to its complexity and complex priority determination process we cannot bind to a timeframe for implementing the feature.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Stenly
Posted on: 14 Feb 2022 05:43

Hello Kamran,

Thank you for the provided project.

We will review it and get back to you with more information later today, or tomorrow at the latest.

Thank you for your cooperation.

Regards,
Stenly
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Kamran
Posted on: 06 Feb 2022 15:10

Hi Martin,

I am not sure, but for WebView2 runtime need to be installed on client machine.

For reference I have attached sample project. you can see the difference html rendering.

Attached Files:
ADMIN
Martin Ivanov
Posted on: 25 Jan 2022 17:06

Hello Kamran,

Note that the RadSyntaxEditor will allow you to display the HTML syntax. If you want to render the HTML, content can you take a look at the WebView2 control (available with  .NET Framework 4.6.2 and later).

If those suggestion don't help help, can your send over a project showing the performance issue?

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Martin Ivanov
Posted on: 24 Jan 2022 07:52

Hello Kamran,

Can you please check the RadSyntaxEditor control and let me know if it works for your case? You can try the XmlTagger which should work good for HTML code. The tagger highlights the different keywords, using different colors.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.