Hi,
Currently i am working with the Telerik standalone report designer to generate a report. The report consists of a crosstab table which is populated by a stored procedure. One of the parameters for the stored procedure is a column name (string) which the user should be able to choose from a list of options.
What i am trying to do is populate the list of column names (strings) of which the user can choose from with a csv datasource. The list is actually a TextBox for which the DataSource is set. The column names are shown, but when the Preview button is clicked on the report gives an error:
"An error has occurred while processing Table 'table1':
Failed to convert parameter value from a Object[] to a String.
-------------------InnerException------------------------
Object must implement IConvertible."
Because i want to set everything in the designer itself and do not want to use c# code how can i do this?
When adding the 'services.AddMvc(options => { options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute()); })', I'me getting the following error:
"Error registering the viewer with the service."
Without this option all works fine. I've found the https://localhost:44364/api/reports/clients request returns 400 (Bad Request) error code. It happens even I've added the __requestverificationtoken request header.
The test project can be find here https://drive.google.com/file/d/1hxY64mVx_c0zMYt-9oB3KG2NbPUEugsb/view?usp=sharing
Please, use the link "https://localhost:44364/api/reports/index" to load the reports page.
I'm using the Telerik.ReportViewer.Wpf.ReportViewer in my project.
We have had this installed for several years now and occasionally upgrade the dll files to keep up with the new releases. 13.0.19.222 is the release that I am upgrading to. Initially everything looked great. The report viewer is build, loaded and presented in a Rad Window. When I present it everything looks great. I return to my options dialog and click preview/print and the program throws an error suggesting that the PageScrollViewerSizeChanged property is null.
Something has changed in how the Report Viewer is behaving with this release.
Has anyone experienced this issue.
I am getting an error of 'format of the initialization string does not conform to specification starting at index 0' for one of two subreports on my Telerik report. The report works without issue in the report designer, but when using the report in a VS project I get the above error.
I am having to make the connections dynamic to Access database files as that is what the parent application currently uses (an old deployed desktop application), and the database file is a project file for the user and is not always the same file to connect to.
The issue is that the main report connects and gets the data fine, and so does one of the subreports, but the other subreport results in the above error. I am using the report parameter method of setting the connection string. I have checked to ensure both subreports are setup the same way in regards to the database connection being bound to the parameter, and the main report is passing this data to both identically.
I am at a loss as to what is going on and any help would be greatly appreciated.
Thanks,
Chris
Hello Telerik Team
I am Using Standalone Report designer.
i want to set limit of two images in one row, it there is more than 2 images it should show in new line.
I am using list to show image side by side. But the problem is if there is more that 3 or 4 images it is showing in new page.
Normally it should show next image down side but i have rotate the layout of the List, So it is showing side by side
Please check Attached PDF for the Result.
Hi,
I accidentally posted this to the main report forum. Sorry for the duplicate. Anyhow …
I am using asp.net core and we have dev and production environments set up on different machines.
How can I pass a connection string that is appropriate for the given environment to the .trdf report? I've tried everything I can think of.
There was a long winded article with what seemed to be a very complicated way of doing something that should be simple.
(https://www.telerik.com/support/kb/reporting/details/changing-the-connection-string-dynamically-according-to-runtime-data).
All I want is to read the appsettings.json file, pull the correct connection string from there and pass it to the .trdf at runtime.
My kingdom for a simple example!
Thanks ... Ed
We are using HTML 5 Report Viewer and sometimes the report doesn't render correctly (please see attached). If we press the refresh button in the viewer again, the report cleans up.
This happens intermittently and not all the time.