Telerik Forums
Reporting Forum
3 answers
112 views
Hi,

I have created a class library to get the records from database. I have given a project reference to  report class library. Its working when the website was running. But the preview is not showing the output. It showing the error as "Could load the file or assembly.....".

I have already saw some example. But they either using the code that retrieves the record from database in report library itself or using dataset.

So kindly tell me the solution and is there any alternative for this requirement?

Regards,
Katte.

Steve
Telerik team
 answered on 14 Jan 2010
2 answers
202 views
I have a Windows Forms App and I am getting the error TIF rendering format is not available when trying to use the RenderReport method of the ReportProcessor class.

Here is my code:
ReportProcessor reportProcessor = new ReportProcessor(); 
RenderingResult report = reportProcessor.RenderReport(strFileType, reportBook, null); 
using (fs = new FileStream(fileLocation, FileMode.Create)) 
    fs.Write(report.DocumentBytes, 0, report.DocumentBytes.Length); 
 

strFileType is set to tif
reportBook is a report book that contains 2 reports

I have both Telerik.Reporting and Telerik.RepotViewer.WinForms referenced in my app

Am I doing something wrong?


Shonda
Top achievements
Rank 1
 answered on 14 Jan 2010
0 answers
131 views
I have created some reports using Telerik.

But no matter how i format my fields any decimal values i want to display are rounded to whole numbers.

example i want to display 0.83 but it keeps getting rounded to 1.00

Please help
H
Top achievements
Rank 1
 asked on 14 Jan 2010
2 answers
430 views
I have a "Master" report with a subreport in its Detail section.  While in the report designer for the "Master" report if I position the subreport control against the left margin of the Details section then the report displays as expected.  However, when I "Indent" the subreport control the other controls in the detail section display properly however the subreport appears on the next page.  By the way, the "Master" report was created using the report wizard and the "Left Aligned" report layout was selected.

Is this a bug or am I missing something?  I have attached screenshots to help.
Darren Shafer
Top achievements
Rank 1
 answered on 13 Jan 2010
5 answers
143 views
Hello,
All,



can any one help me, in my project i created  two  reports and placed one report as sub report in another one,by following
"Creating Master-Detail Reports Using SubReports " section provided in telerik reporting help.My main problem is when i look that report preview in report viewer it is rendering in correct format that is master report items and its related subreport items,But when i am trying to Export it into PDF format  master report items are  coming in one page and detail report items are in another page.

thanks in advance ,







regards,
ganesh.

Steve
Telerik team
 answered on 13 Jan 2010
1 answer
222 views

I am creating a report

I have dragged a Table to the design page  of report

I am binding a list (of Product)

If I have a Property called ProductName, then how can I bind this to the table?

Steve
Telerik team
 answered on 13 Jan 2010
1 answer
98 views
Hello,

The company I work for is currently evaluating buying telerik reporting for use within our program. I have noticed that when we display the report within the telerik reporting viewer that only a small portion of the report is displayed and the user will have to use the scroll bar to view the remainder of the report.

I have set the reportviewers height and width to be 100% of the size of the container. I also have set the DIV in which I placed the reportviewer to be a width and a height of 100%. This did not fix the issue. I then removed the reportviewer from the DIV and kept the height and width the same again the issue persisted.

Thank you
Steve
Telerik team
 answered on 13 Jan 2010
2 answers
137 views
Hello!!!
Increasing a table/crosstable vertically inside the same page...

Hi!!!
I have a problem, I have a set of cross tables, one upon the other in design time, that show a set of items which grow horizontally, meaning that the columns are increased. Up to here there is not problem. But when one of them, or the whole set, has many items so the number of columns exceed the page width, these are printed, in pdf, as if they were in other page instead of been printed just below the previous row, spliting it but in the same page keeping the order.

I have tried putting the datail section in columns but although I have the labels repeted in each column the tables are printed in other page, leaving a blank section just below the first row of colums instead of putting the other set of columns.

I Would like to know if there is a property or attibute or even a component in which I can envelop my table in order to achive the requiriment of showing a table that grows horizontally and continues showing its data just below itself when the page width is reached?

Thanks in advance
Atte. I frustrated programmer

carlos chavez
Top achievements
Rank 1
 answered on 12 Jan 2010
0 answers
158 views
I used the Telerik reports q3-2009. the report is generated code behind from database. i

need to connect the Chart from database in code behind. the data is not populated let me

know how can i solved this problem . please give me the sample code and reference.

I used the code below like this


 /// <summary>
    /// Summary description for Report1.
    /// </summary>
    public partial class OrderChartReport : Telerik.Reporting.Report
    {
        public OrderChartReport()
        {
            /// <summary>
            /// Required for telerik Reporting designer support
            /// </summary>
            InitializeComponent();

            OrderManager orderManager = new OrderManager();
            List<OrderData> AgeementNotAgreeedList = new List<OrderData>();
            AgeementNotAgreeedList = orderManager.GetRentalAgreementReportsNotAgreed();
            this.DataSource = AgeementNotAgreeedList;


           
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

        private void chart1_NeedDataSource(object sender, EventArgs e)
        {
        

            OrderManager orderManager = new OrderManager();
            List<OrderData> AgeementNotAgreeedList = new List<OrderData>();
            AgeementNotAgreeedList = orderManager.GetRentalAgreementReportsNotAgreed();
            this.DataSource = AgeementNotAgreeedList;            

            Telerik.Reporting.Processing.Chart procChart =

(Telerik.Reporting.Processing.Chart)sender;
          
            chart1.Series[0].DataYColumn = "id";
            chart1.PlotArea.XAxis.DataLabelsColumn = "id";
            // assign appearance related properties
            chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300;
            chart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color =

System.Drawing.Color.BlueViolet;
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom =
            Telerik.Reporting.Charting.Styles.Unit.Percentage(30);
            
        }

        private void chart2_NeedDataSource(object sender, EventArgs e)
        {
        

            OrderManager orderManager = new OrderManager();
            List<OrderData> AgeementNotAgreeedList = new List<OrderData>();
            AgeementNotAgreeedList = orderManager.GetRentalAgreementReportsNotAgreed();
         
            this.DataSource = AgeementNotAgreeedList;  
            chart2.Series[0].DataYColumn = "QuantityInStock";
            chart2.PlotArea.XAxis.DataLabelsColumn = "Name";
            chart2.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font
             = new System.Drawing.Font("Ariel", 8);
            
        }

        private void chart3_NeedDataSource(object sender, EventArgs e)
        {
            OrderManager orderManager = new OrderManager();
            List<OrderData> AgeementNotAgreeedList = new List<OrderData>();
            AgeementNotAgreeedList = orderManager.GetRentalAgreementReportsNotAgreed();
            this.DataSource = AgeementNotAgreeedList;
            chart1.Series[0].DataYColumn = "id";
            chart1.PlotArea.XAxis.DataLabelsColumn = "RenterName";
            // assign appearance related properties
            chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300;
            chart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color =

System.Drawing.Color.BlueViolet;
            chart1.PlotArea.Appearance.Dimensions.Margins.Bottom =
            Telerik.Reporting.Charting.Styles.Unit.Percentage(30);
        }

    }    
}


Let me know how can i solved this problem. i used the telerik q3-2009.

Thanks
G.  Manikandan
mani kandan
Top achievements
Rank 1
 asked on 12 Jan 2010
1 answer
48 views
1. i am using Telerik reports Q3 2009. herewith the dataset generated the data in dataset. i give the report form give the datasoruce, and data member. Eventhough the data is not generated but the the report is geneated empty. let me know how can i solved this problem

2. I need connect the reports in database code behind. but the data is not generated. I do it evertythins as u given website like
http://www.telerik.com/help/reporting/asp-net-report-viewer.html


Let me know how can i integrate the data from database, Please send me the sample and implement procedure.

i used the database connectivity in
public report1()
{
 // Do Database Connectivity
}

and i do need datasoruce

Eventhough it is not working

Let me know know how can i solved this problem.

Thanks



Schlurk
Top achievements
Rank 2
 answered on 11 Jan 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?