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

Report Parameter Removing Leading Zeros

1 Answer 271 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
D
Top achievements
Rank 2
D asked on 25 Aug 2020, 06:14 PM
I have a report with a parameter of Vendor Number.  Some of these Vendor Numbers have leading zeros such as "004880".  When I run the report and type in this string manually the report works perfect, I get the results I expect.  However, when I pass the parameter through a .net core razor pages website the leading zeros are removed causing the report not to work.  Is there a way to stop the report from removing the leading zeros?

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 28 Aug 2020, 12:37 PM

Hi Darron,

You may test using Html.Raw. Further information can be found in the following Stack Overflow threads:

How does Html.Raw MVC helper work?

- Using .net core, how can i show the html content coming from database on view

Let us know if the issue is resolved.

Regards,
Neli
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/.

Tags
General Discussions
Asked by
D
Top achievements
Rank 2
Answers by
Neli
Telerik team
Share this question
or