Telerik Report Designer.NET unable to cast object of type HtmlTextBox to type TextBox

1 Answer 54 Views
HTMLTextBox Report Designer (standalone)
Oleg
Top achievements
Rank 1
Iron
Oleg asked on 26 Dec 2022, 02:49 AM

I am trying to add HtmlTextBox to my report. After double clicking on the HtmlTextBox, instead of opening the html editor, an error message appears (0dCthJrV8O.png).
And after that it is not possible to delete any element of the report (see screenshot Telerik.ReportDesigner.Net_t7UHZP4wr4.png).

Also, after closing the editor, another error appears (see screenshot IpCUql4RY4.png).

Version: 16.2.22.1109

1 Answer, 1 is accepted

Sort by
1
Accepted
Dimitar
Telerik team
answered on 28 Dec 2022, 01:08 PM

Hi Oleg,

This is a known issue although it was not logged on the public portal up to now so I added it on your behalf - Telerik Report Designer.NET unable to cast object of type HtmlTextBox to type TextBox.

The issue is most likely related to the fact that HTML Expression Editor is not available in the .NET Standalone Report Designer.

The reason for this is that the .NET Framework implementation of HTML Expression Editor relies on external assemblies like mshtml.dll that are not . NET-compatible. Currently, the HTMLTextBox expression is editable only in the Expression Editor window.

For more information on the differences between the new and old Standalone applications, please refer to Differences between the .NET and .NET Framework designers' functionality.

For now, in order to use the HTML editor, please open the report with the old Standalone Report Designer application.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Oleg
Top achievements
Rank 1
Iron
commented on 03 Jan 2023, 12:36 PM

Thanks for your answer. Yes, indeed, I tried to add the html code directly to the expression and it works. This is quite enough :)
Tags
HTMLTextBox Report Designer (standalone)
Asked by
Oleg
Top achievements
Rank 1
Iron
Answers by
Dimitar
Telerik team
Share this question
or