Telerik Forums
Reporting Forum
1 answer
164 views
I previously had code to hide my subreports if they are empty.  This code gets an warning now. 

'Public ReadOnly Property ChildElements As Telerik.Reporting.Processing.ProcessingElement.ElementCollection' is obsolete: 'The Telerik.Reporting.Processing.ProcessingElement.ChildElements property is now obsolete. Use Telerik.Reporting.Processing.ElementTreeHelper.GetChildElements() method instead.'

I have looked into the GetChildElements information, but I cannot convert this code properly to remove the warnings.  What is the new way of doing this?

Private Sub subFilesAttached_ItemDataBound(ByVal sender As Object, ByVal e As EventArgs) _
    Handles subFilesAttached.ItemDataBound
    Dim subReport As SubReport = sender
    Dim report As Processing.Report = subReport.InnerReport
    subReport.Visible = report.ChildElements.Find("detail", True).Length > 0
End Sub
Steve
Telerik team
 answered on 27 Aug 2012
1 answer
73 views
Hi..
I'm trying to increase the size of my datapoint but the following has no effect. I would like large points.

   // visually enhance the data points
            seriesDATA.Appearance.PointMark.Visible = true;
            seriesDATA.Appearance.PointMark.Dimensions.Width = 255;
            seriesDATA.Appearance.PointMark.Dimensions.Height = 255;
            seriesDATA.Appearance.PointMark.FillStyle.MainColor = Color.Blue;
        

What am I doing wrong?  thanks again

Elian
Telerik team
 answered on 27 Aug 2012
1 answer
101 views

An error has occured while prosessing html textbox 'htmltextbox1':
The 'U' start tag on line 1 position 36 does not match the end tag of of 'B' line 1, position 55.


This is the html (that is is a db btw)
<HTML><HEAD></HEAD><BODY><B><U>TEST HTML<BR></B>Test<BR><BR><B></U>test<BR><BR></BODY></HTML>

Any help would be appreciated. The latest build I have available to me is Q1 2012

Update: this happens with the latest version as well as I downloaded the demo and tested.

Thanks
Steve
Telerik team
 answered on 27 Aug 2012
4 answers
934 views
Hi,
I want to know if is possible to work with stored procedure in Telerik Reports (I'm using version Q1 2012).
Thanks.
gezim
Top achievements
Rank 1
 answered on 27 Aug 2012
1 answer
422 views

i got a problem for report text box, my sql data source returns the the field values, these field values assigned to some textboxes through expression but  when running the report textbox values are not disply
like:
i assigned value to text box like : "=Fields.SELECTED_CNT"  my sql datasource query return the value for SELECTED_CNT  is 20 but when i run the report it's not displayed it shows always "0", even it don't show the design time value also, design time value is 2. but it's shows always 0.

can you give me solution for this . 
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
205 views
Hi,

   I am working on Telerik Reporting, i have created the report using CrossTab wizard control. I am showing that report in report viewer.This report contains more number of columns, while exporting the report to PDF it displays in portrait orientation. But i need to display all the columns in a single page. so i changed the report to landscape orientation by using below code.

  Telerik.Reporting.Report oReport = new testReport();
                oReport.PageSettings.Landscape = true;
                oReport.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A3;               
                Telerik.Reporting.Drawing.Unit w = default(Telerik.Reporting.Drawing.Unit);
                if (oReport.PageSettings.Landscape)
                {
                    w = oReport.PageSettings.PaperSize.Height - oReport.PageSettings.Margins.Top - oReport.PageSettings.Margins.Bottom;
                }
                else
                {
                    w = oReport.PageSettings.PaperSize.Width - oReport.PageSettings.Margins.Left - oReport.PageSettings.Margins.Right;
                }
                oReport.Width = w;
                ReportViewer1.Report = oReport;

  This code works fine. But the report has more number of columns means it displays the report correctly. If the report contains less columns means the design is not proper.Totally the table aligned to left side, so it displays the blank space in right side. I have attached the screenshot for my issue. I need to center align the report. Is there any option to that? If so, please send the sample solution. 


Thanks
Nisha
Michel
Top achievements
Rank 1
 answered on 27 Aug 2012
1 answer
189 views
Hi, I'm coming from MS Access world. I'm moving in to Web-based app through the door ASP.NET equipped with Telerik. Would you please walk me through by giving me step-by-step on how to create this report. This is a report that I've created in MS Access, but I don't know how to do the same in Telerik Reporting. Here is the DataSet (1 Table):

FullName

ShippingAddress

ShippingDate

TrackingNumbers

ItemNum

ItemDescription

Units

Doe, John

12345 ABC Road

Sample City, ST 123456

8/1/2012

1Z123456789123456

123456789

This Is An Example Description 1

124

 

Doe, John

12345 ABC Road

Sample City, ST 123456

8/1/2012

1Z123456789654231

1Z2345678

This Is An Example Description 2

0

 

Doe, John 2

654321 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

123456789

This Is An Example Description 2

124

 

Doe, John 2

654321 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789654231

1Z2345678

This Is An Example Description 2

0

 

Doe, John 3

145623 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

123456789

This Is An Example Description

124

 

Doe, John 3

145623 ABC Road

Sample City, ST 123456

8/1/15

1Z123456789123456

1Z2345678

This Is An Example Description

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


(As you can see, it is group-by (FullName + ShippingAddress + ShippingDate), I colored it for you for easier seeing)

Attached, please find the output report that come out from this dataset.

Thanks

Lamk.
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
224 views
Hi,

I have a report that follows the brasilian invoicing law called "DANFE".

Almost everything is correct, except for the page footer.
All info there must be printed only once and in the first page. I managed to do that with the Style, using the condition "PageNumber = 1".

The problem is that it still leaves a blank section that sould be used by my subreport to print the items. Does the tool provide any way to print the footer on the first page only and keep everything else in the current order, using all the available space in the page?

        If you need an example please tell me.

        Thanks,
Steve
Telerik team
 answered on 27 Aug 2012
3 answers
86 views
Good day,

   I have a 1 page report, when I view it in windows 7 with (I3 and 4GIG) specs, report is rendered in 2-3 seconds, but when I view it in windows xp with celeron processor and 1GIG of RAM, it took 2-3 minutes to render a 1 page of report. Is there any OS requirement or is this related to silverlight in windows XP?


Thank you
Steve
Telerik team
 answered on 27 Aug 2012
1 answer
82 views
Hi..
The legend on my chart sits on top of the right Y axis.
I've tried everything to move it off to the right.  Any ideas?
thx 
See attachment
Hadib Ahmabi
Top achievements
Rank 1
 answered on 27 Aug 2012
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?