Telerik Forums
Reporting Forum
2 answers
220 views
Hi,

We are using HtmlTextBox in a mail merge type application.  When a field such as {ClientName} contains an '&' character, we are encoding it and in the ReportViewer this displays as "Robert & Janis".  When it prints it prints the encoded string such as "Robert & Janis". 

Any ideas on how to fix this?
David A.
Top achievements
Rank 1
 answered on 13 Sep 2011
2 answers
198 views
if textbox have value=0 how do i set font color to white
chatchai
Top achievements
Rank 1
 answered on 13 Sep 2011
1 answer
325 views
From the property window in the designer, I am attempting to set the Binding expression for PageBreak based on the existing of a databound field.

I would expect that it is something like:
PageBreak = !string.IsNullOrEmptyOrWhitespace(Field.MyTextField) ? PageBreak.Before : PageBreak.None;

Can this be done without writing actual code behind on the report?
Peter
Telerik team
 answered on 12 Sep 2011
3 answers
271 views
Hello,

I've got a problem with the CSV exportation. The problem is that it doesn't work :-)

Context :
Using IE or FF
Version of telerik reporting : 2010.1 423 (Apr 21, 2010)

Explanation :
I got my report and when I try to export it in CSV, I got a blank page and the url is set at this :
http://<servername>/Telerik.ReportViewer.axd?instanceID=b77ad8ee403e493f8db94b10766221c7&culture=fr-FR&uiculture=fr-FR&optype=Export&ExportFormat=CSV

It works for every others formats (pdf, xps, rtf, ...) but csv is the only format it doesn't work.

Any idea ?

Cheers
Thomas
Peter
Telerik team
 answered on 12 Sep 2011
1 answer
662 views
Hi all,

I try to export my report to PDF (with report viewer control) and the crosstab table is wrapping to the next page of the report. I would like to keep the content of the table as shown when I generated, so maybe exporting in a landscape layout can solve my query. I appreciate any comment on my issue. Thanks.
IvanDT
Telerik team
 answered on 12 Sep 2011
4 answers
345 views

In MS Access reporting, one of the abilities it has is to keep a report group together based on a column instead of a whole page.

Now, I have read over the documentation on multi column reports and the relevant forum posts as well.  As I understand it so far what I am about to ask is not currently supported, but perhaps it could be in the future.

We have a popular report that is multicolumn that looks as follows:

TOTALS                Store #1            Store #2
Total Units                  5                       10
Product1 Income      $500                  $1000
Product2 Income      $600                  $2000
Product1 Avg           $132                  $325
....

Essentially the first column is a header column going down the page, and then each of the next columns is a different part of the grouping called "stores". 

As I have seen so far telerik reports for multicolum cannot handle this kind of grouping behavior.  Is this correct or have I missed something?  If it does not support this ability, are there plans to add this in the future?

Although in some ways the point is moot since according to the documentation the HTML viewer will only render one column anyway.  I would definitely need it to render all the columns in the HTML viewer since our application is web based.

Thanks for your help.

Steve
Telerik team
 answered on 12 Sep 2011
4 answers
169 views
Hi,

I'm building a report where the data is coming from a WCF Data Service.

I've therefore taken the approach outlined in this thread - http://www.telerik.com/community/forums/reporting/telerik-reporting/getting-data-from-web-service.aspx

In my report class I've added reference to the WCF Service and then implemented an extension - giving me a method that gets the data from the actual WCF service and returns an enumerable of the datatype I need to put into a table in the report.  My new method is called "GetInvoicesDueThisMonth"

I've then added an ObjectDataSource from the toolbox and set it up in exactly the same way as the thread above - with the DataSource being the WCF service client class and the DataMember being the new extension method I implemented.

Next I set the DataSource of the Report to be the ObjectDataSource I added from the toolbox.

Finally I clicked on the Table Wizard from the toolbox and when I select my ObjectDataSource from the "Current Data Sources" - it throws back an error "Method GetInvoicesDueThisMonth() Not found."

I've attached two screenshots - the first showing the method implemented in the service extension and the second showing the error I'm getting...  I've obviously had to blackout parts that I can't show.

Any idea how to resolve this and what I could be doing wrong?

Chris
Top achievements
Rank 1
 answered on 12 Sep 2011
0 answers
120 views
Hi,

as i saw the telerik reporting for ASP.Net AJAX render the report in another request or in some async manner. what i want is how can i tell reportviewer to render the report in the current request (before request finish) ?

Thank You ,
Eastern
Top achievements
Rank 1
 asked on 11 Sep 2011
0 answers
257 views
hi!

i have a report where the textboxes in the GroupHeader and Detail use the Docking = Left to simulate a table. In the Detail section, i use filters to add a border-top and border-bottom depending on a value and also to alternate the background-color of the row.

The code that i use is this:
FormattingRule alternateRowFormatingRule = new FormattingRule();
alternateRowFormatingRule.Filters.Add(new Telerik.Reporting.Data.Filter("= RowNumber() % 2", Telerik.Reporting.Data.FilterOperator.Equal, "0"));
alternateRowFormatingRule.Style.BackgroundColor = System.Drawing.Color.WhiteSmoke;
 
FormattingRule atr99 = new FormattingRule();
atr99.Filters.Add(new Telerik.Reporting.Data.Filter("= Fields.IdRegionTouristique", Telerik.Reporting.Data.FilterOperator.Equal, "99"));
atr99.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid;
atr99.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.None;
atr99.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None;
atr99.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(2D, Telerik.Reporting.Drawing.UnitType.Pixel);
atr99.Style.Font.Bold = true;
 
detail.ConditionalFormatting.Add(alternateRowFormatingRule);
detail.ConditionalFormatting.Add(atr99);

Everthing works fine except that when i publish the report in PDF format, the width of border-top is really at 2px but the width of border-bottom is at 1px (check the report.png file)
 
With the test that i've made, i think the problem come from the background color of the next row (gray) that overlap the previous row (white) for 1px. This is why i have a border-bottom of 1px and not 2px. If i alternate the background-color differently (the next row is white and the previous row is gray), the border-bottom have 2px (check the report_alt.png)

Also, if you check the header of the table, you will see that to border-top and border-bottom is different compared to the ones on the other column. I have put a red arrow to show you where exactly. The difference between the two textboxes here is that the first one use a border-left of 1px but not the other one aside. If i remove the border-left, the border-top and border-bottom will be identical of the one aside.

Do you have an idea on how to solve these problems? btw, i've tried to use the Table control but i didnt found how to use it properly on this simple report.

thank you for the help!

alex
Alexandre Jobin
Top achievements
Rank 1
 asked on 08 Sep 2011
1 answer
145 views
I have a SqlDataSource that shows results, but not shown DataExplorer fields, the query is done through a stored procedure that contains dynamic SQL.
Steve
Telerik team
 answered on 08 Sep 2011
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?