Telerik Forums
Reporting Forum
1 answer
41 views

Good Morning Telerik Forums,

I have a field called "Report Ran" followed by another table with a field of [= Now()] They display correctly. However, they are two separate fields.

 

If I add them together into one field (example) Report Ran: [=NOW()] it displays exactly like that. Never executing the data display.

 

How can I get it so that I can use a one field with text and a data all within one? so that it can display as Report Ran: 12/03/2023

 

Thank you!

 

 

__________________________

EDIT: I solved this after posting. See solve below.

 

I solved my own question.. I just started playing with close brackets.

 

Use braces { } to encapsulate. In example: Report Ran: {=NOW()} and it will display correctly as Report Ran: 12/03/2023

 

Thank you!

Austin
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 05 Dec 2023
1 answer
163 views

I have an HTML Textbox in my report with the expression {HtmlDecode(Fields.RAW_HTML)} and it works in most cases EXCEPT

when the RAW_HTML field contains "&" in the literal string: ex) <span>Jack & Jill</span>

I have tried replacing "&" with "&amp;" on the SQL query, however i get the same error.

"An error ocurred while parsing EntityName"

1 answer
95 views

Good Afternoon Telerik,

 

I run a report for the previous month at the beginning of every month. In example, Today's Month is April- I run the report for the entire Month of March. How can I create a Text field within Telerik that will show the previous month in example March and updates every month so if I run it May 1st it'll show April etc..?

 

I've tried the following functions but kept getting an error. (see screenshot)

= Today(AddMonths() -1)

 


 

 

1 answer
98 views

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

Dimitar
Telerik team
 answered on 28 Dec 2022
1 answer
52 views

Good day!

Could you please help me to find the solution?

I have several htmlboxex in the report which accept html-strings from text-editor(for ex. <p>Comment</p><p>Comment</p><ol><li>List</li><li>List</li><li>List</li></ol><p><br></p><p>Comment</p><p>Comment</p>). And when I open the preview mode or look at it in html-viewer I get annoying extra gaps (see attached support.png). I tried to replace these <p>-tags with <div>-tags in the retrieved string in my sql-query (<div>Comment</div><div>Comment</div><ol><li>List</li><li>List</li><li>List</li></ol><div><br></div><div>Comment</div><div>Comment</div>). It helps. But there are some other tags that cannot be replaced (tags of ordered and unordered lists for example). And these gaps are still rendered. Could you please help me to find the solution how to make this text to be rendered correctly (see attached original.png, result.png)?

Thanks

Best regards, Helen

Todor
Telerik team
 answered on 07 Sep 2022
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?