Telerik Forums
Reporting Forum
3 answers
238 views
Hello Telerik,

Is there a workaround on how to display a checkbox when data contains boolean values?
I found one example (http://www.telerik.com/ClientsFiles/055916_CheckBoxes.zip) on how to do this but the code is in C# and I just can't get it translated to VB.
Could you help me with this one or are there other possibilities to show checkboxes?

Thank you!

Geert
Milen | Product Manager @DX
Telerik team
 answered on 08 Feb 2008
1 answer
125 views
Is it possible to hide the page header (and/or other sections) of a report when it's exported to excel through a web viewer?

Thanks,
Eric
Chavdar
Telerik team
 answered on 08 Feb 2008
3 answers
184 views
In my web-application I've created a page with the ReportViewer.
I want to display directly the PDF file without view the report.
In the Page_Load event I've written:

Report1 report = new Report1(cnString, idProduct);
ReportViewer1.Report = report;
//Export to PDF (method from the Telerik Reporting help)
ExportToPDF("Product_" + idProduct, report);

In the local machine it works and I obtain the PDF file, but on the server I get an error.I've copied the following dll on the bin folder on the server:
  • Telerik.Reporting.dll
  • Telerik.Reporting.Processing.dll
  • Telerik.Reporting.Interfaces.dll
  • Telerik.ReportViewer.WebForms.dll
When I try to view the page I obtain the following error:

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Cannot create an object of type 'Telerik.Reporting.Report' from its string representation 'ReportScheda.Report1, ReportScheda, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' for the 'Report' property.

Chavdar
Telerik team
 answered on 08 Feb 2008
1 answer
227 views
How can we format XAxis data in

"dd-MMM-yy" format.
 
I have used this code--

Chart1.PlotArea.XAxis.DataLabelsColumn =

"EntryDate"

Chart1.PlotArea.XAxis.Appearance.CustomFormat =

"dd-MMM-yy"

But this shows "dd-MMM-yy" string on XAxis instead of  date in the above format.

Chavdar
Telerik team
 answered on 08 Feb 2008
13 answers
728 views
Hi..

I'm working on an application where i'm making use of telerik reporting. I want to know whether it is possible to add controls to reporting without CSharp.ReportLibrary. I mean, is it possible to do it directly in aspx.cs page itself. Can any one give me an example for that.

If its not possible please tell me how to add ReportLibrary and the design pages in to my project

Anoop
anu
Top achievements
Rank 1
 answered on 08 Feb 2008
3 answers
263 views
Hi,

I have my reports in a separate class library project.
The report has a picture box with jpg image loaded (Sizing:ScaleProportional).

When I preview report in Preview panel of the report designer the image is shown and printed on the printer.

When I display that report in the web report viewer of my ASP.NET application, the image is shown in the preview (web viewer), but it is not printed while the rest of the report IS printed.

Any idea what is going on?

Thanks in advance

Miroslav
MiroslavStantic
Top achievements
Rank 1
Iron
 answered on 07 Feb 2008
2 answers
146 views
Hi,

I Want to put on a web page multiple report.
I explain.
I want a form with 3 grids and have the possibilty to print or export
easily.To fill this grid of course I have 3 query.
a report viewer is associate with only one report ?
How to make my page with telerik reporting ?

Thanks,

Eric
Maveric
Top achievements
Rank 2
 answered on 07 Feb 2008
2 answers
452 views
I just want to share this with everyone. Here is how I managed to remove the "empty space" in the details section, so the group data is next to one another.

This code is inside a detail.ItemDataBound event, so "sender" is a Processing.DetailSection object, and based on one of DataItem's attributes I hide all the Items and the section itself.

Dim section As Processing.DetailSection = CType(sender, Processing.DetailSection)  
 
Dim rv As DataRowView = CType(section.DataItem, DataRowView)  
If CType(rv.Row("TagCount"), Integer) = 0 Then 
    For i As Integer = 0 To section.Items.Count - 1  
        section.Items(i).Visible = False 
    Next 
    section.Visible = False 
End If 
Dragoljub
Top achievements
Rank 1
 answered on 06 Feb 2008
2 answers
203 views
Hi friends,

I not understand in what order the sections are performed.

Page Header/Footer, I think, seems to be a section that it repeats in every page at begin and at end but after ReportHeader and before ReportFooter.

Report Header/Footer, I think, seems to be a section that is procesed only once and rendered at first of all report and at end of it, but before page header of first page and after page footer of last page.

Well, if you create a simple report with all four sections, the result is:
 The first section printed in first page is PageHeader (bad I think)
Second section is ReportHeader. (bad I think)
Third section is detail section
Fourth is ReportFooter (bad I think)
and finnally, Fifth is Page Footer. (bad I think)

I don't know but I think that Report sections definition are inverted or the order of printing them was erroneus.

Also in report designer appears to be in erroneus order too.

If you can clarify this...

Thanks a lot for your time

Sincerely

David Tomás.
David
Top achievements
Rank 1
 answered on 06 Feb 2008
1 answer
97 views
I have a report that's part of a class library. There is a png image in the report header. The image is set to be an embedded resource, and there is a WebResource entry for it in the AssemblyInfo.cs file.

The image does not appear in the web viewer. However, if I export the report to PDF, the image is there.

Am I doing something wrong here?

Thanks,
Eric
Chavdar
Telerik team
 answered on 06 Feb 2008
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?