Telerik Forums
Reporting Forum
3 answers
228 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
596 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
321 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
143 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
98 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
215 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
125 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
3 answers
205 views
Hi there

An old version of Telerik Reports (2.0.1.0) I have on a large web site will not compile (publish) when I have the latest version of your reports installed (5_1_11_713). It keeps adding a reference to the new version of the reports in my config file, even though the old version is all that is referenced.

It adds reference to the new version , and then errors out on a section of code that tries to create PDF files:

 buffer = Telerik.Reporting.Processing.ReportProcessor.Render("PDF", rpt, Nothing, mimType, extension, encoding)
 fs = New FileStream(lblPDF.Text & lstSelected.Items(intYCount).Text & ".pdf", FileMode.Create)
fs.Write(buffer, 0, buffer.Length)
  fs.Flush()
 fs.Close()


: The line " Telerik.Reporting.Processing.ReportProcessor.Render" comes back with an 'ambiguous namespace' issue. This code works fine when I uninstall the newer version of the Reports (5_1_11_713).

Thanks - David
Steve
Telerik team
 answered on 08 Sep 2011
2 answers
77 views
Hello.

I'm having trouble with a report. The data source is a list of objects, each of which I know to have certain public properties. My textboxes are bound to those properties in the usual way (e.g. "=Fields.Name").

I am getting errors in my report indicating that it could not find the properties for those textboxes, in certain cases. When my data source objects directly implement a public property "Name", all is well and I get data in the textbox bound to the property Name. HOWEVER, if my data objects inherit from another class, which has a public property "Name", then I get those nasty red boxes that say "An error has occurred while processing TextBox 'Name': The expression contains object 'Name' that is not defined in the current context".

Am I correct that the TextBox is not seeing inherited public properties? If so, is there something I can do so that those inherited public properties will show up in my reports?

Thanks!
Mark
Top achievements
Rank 1
 answered on 08 Sep 2011
0 answers
36 views
Deare All,

i want to know how to concatinate more fields in one textbox seperated by "/" in expression of text box
Mahmoud
Top achievements
Rank 1
 asked on 08 Sep 2011
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?