Telerik Forums
Reporting Forum
1 answer
10 views

I finally figured out that I can transfer any Telerik design in Clipboard:


            IDataObject dataObject = Clipboard.GetDataObject();
            if (dataObject.GetDataPresent("CF_TELERIK_REPORTING_NET20"))
            {
                var services = new ServiceCollection();
                ServiceProvider provider = services.BuildServiceProvider();
                //IServiceProvider provider = new DefaultServiceProviderFactory().CreateServiceProvider(services);
                byte[] data = (byte[])dataObject.GetData("CF_TELERIK_REPORTING_NET20");
                var service = new CodeDomComponentSerializationService(provider);
                using (var stream = new MemoryStream(data))
                using (SerializationStore store = service.LoadStore(stream))
                {
                    //using var store = (CodeDomSerializationStore)service.LoadStore(stream);
                    var components = service.Deserialize(store);
                    store.GetType();
                }
            }
However Standalone Editor disallow to re-create copied structure on root component. It insists to copy per section - per group header, footer, ... So it is feasable to transfer GUI from VisualStudio to Standalone editor this way, but either paste options could allow to re-create report parameters, properties and groups or simply VisualStudio editor can have simple export option. Since I myself was able to recreate functional Report from clipboard serialized format and gain working TRDX, I see no reason why there should be export limitation or paste limitation ...

 

 

1 answer
17 views

I have a report that I'm viewing in a WPF app.  The report looks perfect on-screen and when I export to PDF.  However, when I export to "Word Document", there are a few fields that simply don't show up in the Word document.  There is also, in the page footer, a horizontal line that comes out as just a partial line, and footer text that doesn't appear at all.

Are there any pointers or suggestions to get these working?

 
Petar
Telerik team
 answered on 07 Aug 2025
1 answer
10 views

We have a longer text in our report, which also contains this string "ISO 5834-1:2019", which we don't want to break into a new line.

Reporting Services seem to have the possibility to use the chr()-function to inject 'unbreakable' characters, but this doesn't seem to work in Telerik Reports.

How can we make sure, that there is no line break possible for the given string? 
(Line break in the rest of the text is ok, though.)

Petar
Telerik team
 answered on 04 Aug 2025
2 answers
21 views

Hi support team.

I go back to you on this subject because I have a problem as below:

I'm using Telerik Report Designer Standalone for making my report template.

In fact, I have 2 series: 1 barserie and 1 lineserie. In Line serie, I can make any style of DataPointLabel without any problem. However in bar serie, I want to change the color of DataPointLabel as below but it doesn't take in affect, please help me to resolve it

minh
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 04 Jul 2025
1 answer
16 views

Currently we're using a pictureBox as a Watermark, but this only shows on the first page of the record.

We also created a binding to show/hide the image.

 

When using a real Watermark it is correctly displayed on every page, but we cannot add a binding to conditionally show/hide it.

 

How can we implement a Watermark that both is displayed on every page, but also is only shown on a specific condition?

 

Kind regards.

Ivet
Telerik team
 answered on 27 Jun 2025
1 answer
12 views

I'm trying to generate a report in my Blazor application.

What I’ve done so far:

  • I used the Standalone Report Designer to create a sample report based on JSON data.
  • I saved the report as a .trdp file and embedded it into my Blazor project.
  • Using the Telerik Report Viewer, I was able to display the report successfully in the app.

Now here's what I want to do:

  • I have dynamic JSON data generated within my Blazor application at runtime.
  • I want to use this runtime JSON data to populate the existing .trdp report.

 

1 answer
19 views

Problem's Summary : 

Section Formula information lost after Crystal report to Telerik report conversion

What has been done :

I have converted a Crystal report having multiple sections , each section has its own background color controlled by Formula :Also I have used formula to control data formatting (color) in the original Crystal Report.

 

After I have used the convert it to Telerik Report.

I found that the formula is missing in the converted Telerik Report, there is no any coloring effect in new report. 

 

My Question is : does the Telerik Crystal Report Converison tools support Formula conversion ?

 

Thank you

Ivet
Telerik team
 answered on 23 Jun 2025
1 answer
23 views
We have a project (.Net Core / Angular) that we've been working on with a client for the past year. It's an application with Telerik reports to which we both built a development / sandbox for user training as well as vetting changes and we also built a production app for final use. The development app database has open access to VPN and I've had no trouble connecting the reports to the SQL server. The second database, for prod, will not work over VPN and must be used on-site.

What we've been able to vet for the prod Azure SQL server:

1) Both the ActiveDirectoryManagedIdentity connection and username / password connections have been vetted as working.
2) Running the project from a VM where the prod server is local the reports work fine.
3) Deploying the app to Azure causes the Telerik reports to fail with the following message:

"Unable to get report parameters. An error has occurred. Unable to establish a connection to the database. Please verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application"

I was able to confirm that if I make this same connection (username and password rather than Managed Identity) my DefaultConnection as well for other data in the application everything works and the data still pulls, it only seems to fail in the Telerik reports.

I've attached an image demonstrating that the named connections match both in the Telerik reports and in my appsettings.Production.json. What I'd like to know is what next steps you would recommend for resolving this. 
1 answer
15 views
Hi... I have a signature saved in a text sql field, and I want to print it in a telerik report, but I haven't idea of how do it, please help me explicitly
Ivet
Telerik team
 answered on 19 Jun 2025
0 answers
9 views

Im getting the "single-row subquery returns more than one row" error when using a stored procedure  as a datasource.

This is the beginning of the procedure that I am calling from the report:

create or replace PROCEDURE get_idoc_report (
    pStart_Date IN DATE,
    pEnd_Date IN DATE,
    pPrepMethod IN VARCHAR2,
    pAnalyticalMethod IN VARCHAR2,
    pInstru IN VARCHAR2,
    pMatrix IN VARCHAR2,
    pPrepAnalyst IN VARCHAR2,
    pAnalyticalAnalyst IN VARCHAR2,
    pWO IN NUMBER,
    pWO_ID IN VARCHAR2,
    pAR IN VARCHAR2,
    p_cursor OUT SYS_REFCURSOR
)
IS 
BEGIN
    OPEN p_cursor FOR
        select distinct 
            to_char(sysdate, 'MM/DD/YYYY') as Current_Date,
            to_char(pStart_Date, 'MM/DD/YYYY') as WO_Start, ......

I have run the procedure in SQL Developer using a record to get data from the cursor, and it returns the expected number of data rows. I have used the same query as a Text select datasource query in Telerik and it worked. Any idea why I am getting the "single-row subquery returns more than one row" ? I am thinking Telerik Standalone is not able to access the rows returned from the sys_refcursor output. Any help is appreciated. I have attached the procedure text and a screenshot of the datasource setup.

Using Telerik Report Designer Version 17.1.23.606 and Oracle Database 19C.

Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?