Telerik Forums
Reporting Forum
6 answers
849 views

Hey guys,

I want to change the Tooltip-Labels (and any other labels) of the ReportViewer in my C# WPF Application.

I don't want to localize anything in my report. ust these default buttons.

Is there any way I can do this? I tried to set the Language property to de-DE but it not affected anything.

 

I would be glad about any help.

 

Greetings

Benedikt

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 16 Dec 2020
37 answers
1.9K+ views

Hi guys,

 

at the moment we are trying to figure out if we can use the Telerik Reporting to generate receipts on a thermo printer with endless paper.
We found the ContinuousPaper setting within the PageSettings but it doesn't seems to be working as expected. We are using the latest Version of Reporting (2018 R3)

When using the ContinuousPaper everything looks fine in the preview but after printing the paper gets cut after one DINA4 page. This happens when printing on the printer and when printing to a PDF file.

The only settings we have made is setting the ContinuousPaper property and adding a lot of textboxes to the report designer.

Any idea what we are doing wrong?

Todor
Telerik team
 answered on 15 Dec 2020
2 answers
298 views

I've been through the docs at least twice and obviously I'm missing quite a bit.

 

Created two simple, identical, reports with the wizard. One with the report designer, Report1, the other in VS2019, Report2.  They are calling a stored procedure in SQL Server 2016, with a parameter.  Both preview in the designers just fine. Both reports have a parameter set...@batchid Int32 6000

Stored procedure:    select * from batches where batchid=@batchid

I've added the NeedDataSource event to the reports

Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("@batchid", 7929));
uriReportSource.Uri = @"nunya\Report1.trdp";
reportViewer1.reportSource = uriReportSource;

reportViewer1.RefreshReport();

 

The trdp complains it can't find a connection string. IDK why. There is one in the app.config file which the rest of the application happily uses. When the connection string is embedded, it still does NOT use the Uri parameter.

 

 

Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource();
typeReportSource.Parameters.Add( new Telerik.Reporting.Parameter("@batchid", 7929));
typeReportSource.TypeName = typeof(Report2).AssemblyQualifiedName;
reportViewer.reportSource=typeReportSource;

reportViewer1.RefreshReport();

 

 

 

Here, an exception is thrown in the Report1_NeedDataSource event:.report.Parameters is empty.

Do you have a sample winforms app which uses either the northwind or adventure works databases?

 

TIA

Dave
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 12 Dec 2020
1 answer
1.8K+ views
I have a textbox with the following content: 
=Sum(LossOfDaysMen)/(Sum(LossOfDaysNotSet)+Sum(LossOfDaysMen)+Sum(LossOfDaysWomen))*100 + "%"

This is giving me numbers with way too many decimals, like '66.44295155..', i want to to have just 1 decimal. How can i do this within the textbox? I tried String.Format, but that does not work. Setting the format property on the entire textbox does not work either, due the '+ "%" at the end. 

I assume there's some function i can run but im unsure about what syntax works within the textbox.

Any ideas how to solve this?
Dimitar
Telerik team
 answered on 10 Dec 2020
1 answer
512 views
Hi,
How to remove borders inside a table when page break? (look attach file)
Dimitar
Telerik team
 answered on 09 Dec 2020
1 answer
155 views

Hello everyone,

i have a question regarding the design view of the html box. I have a tabel which i get by an SQL statment. In the view of the designer the table is correctly shown but in the preview the table is not shown, only the content.

Has the design view of the html box more possibilities to view content as the designer itself?

 

Best Regards

 

Alex

Dimitar
Telerik team
 answered on 09 Dec 2020
2 answers
353 views

Hello everyone,

i have a question regarding the border of a table.

Basically have a table which has a filter implemented. The table (not the text box) has a border.

But even if there is no content there is still a tiny black mark on the printout (see att.)

Is this on purpose?or an technical issue?

(I know that this issue can be partially resolved by using the border of the nested Textbox but there are some configaurations - Tiltet table with more rows and Boxes with different filters and only the top and last row should have a border. Using a line element could be an option but the border on the table would be a"nicer" solution.)

Dimitar
Telerik team
 answered on 09 Dec 2020
12 answers
665 views
Hi,
 I am trying to create a report with crosstab.The Crosstab contains three row  groups.Third group is under the second group and  second group under the first.then I want to break the crosstab after each first group.How can I break the crosstab.

Thanks In Advance....

Rajisha
Neli
Telerik team
 answered on 07 Dec 2020
5 answers
899 views

Our Images are on Azure Blob Storage and it needs a special SAS token to access (https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1).

We generate the Url on runtime and return it to the report viewer with valid SAS (proper Url), and sometimes the images render and other times it just gives 403.

An error has occurred while processing PictureBox 'Images':
Invalid image data.
------------- InnerException -------------
The remote server returned an error: (403) Forbidden.

Even if the images render in the viewer, when we go try to generate a PDF, it always throws the above error.

Harsimrat

 

Christine
Top achievements
Rank 1
 answered on 03 Dec 2020
3 answers
188 views
When WPF Report Viewer inside other control (e.g. TabControl) all events (PrintBegin, PrintEnd, ExportBegin, ExportEnd etc.) fires twice, because Loaded event fires twice and you call AttachModelEventHandlers method also twice.
Neli
Telerik team
 answered on 03 Dec 2020
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?