Telerik Forums
Reporting Forum
3 answers
137 views
Is there any way to shut off the overlapping items warning for objects? I'm trying to create a grid like view for my columns and I want the lines to overlap.

Also is there anyway to get a line to start on the header section and stretch through the details section? I used to do this in Crystal and it would give a nice grid that would start in the header, stretch through all the details, and go into the footer.

Is there any way to add additional header sections? In some of my reports I have addresses that can grow and column headers for the details.  In Crystal I would split up the header section so the addresses could grow, and I would not have to give the header an arbitrarily large area to accommodate the larger addresses, and the column headers could appear directly below the addresses.

Also, there is a can grow property on some report items, is it possible to have a section dynamically grow?

Also I'm using VS 2008 and working in VB. The editor is very buggy. It typically stops responding to mouse events and I have to close and reopen the designer to continue working.

Steve
Telerik team
 answered on 11 May 2009
10 answers
342 views
Hi,

I am using Reporting Q1 2009 with a ReportViewer control embedded in my web site, and the toolbar is not formatted correctly. This seems to happen when the control is part of a tab inside a RadTabStrip control. Here is a link to a screenshot. It worked fine before it was part of a tab. Any help is much appreciated.

Thank you,
Brian
Sid
Top achievements
Rank 1
 answered on 08 May 2009
3 answers
320 views
I'm having trouble figuring out the best way to bind my object to the report. My object represents a sales order. I have set the DataSource to the Items property of my object and that works fine for the line items of the order. I've added a public property on the report that is set to my Sales Order object. However, I haven't figured out how to access the header information, such as the sales order number, in a text box. If my property is called Order, specifiing =Order.SoNo in the text box gets an error saying object Order is not defined in the current context.

Other than setting text box value manualy in New(), I haven't been able to get this to work. Is there a clean way to do this?
Chris Gillies
Top achievements
Rank 1
 answered on 08 May 2009
1 answer
281 views
I've been using the Asp.net RadControls for years, but decided to use DevExpress for reporting for a major project of mine because at the time Telerik Reporting was only 1.0.  I see now that Telerik's reporting tool is much more robust, but when viewing all of the online demos at Telerik.com the report rendering is extermely slow.  The Report Book example takes over 40 seconds to render - which in my opinion is unacceptable. 

Any thoughts on this?  Are Telerik reports really slow to render?  I know some of our more complex DevExpress reports render in seconds.
Steve
Telerik team
 answered on 08 May 2009
1 answer
111 views
Hello,
I have created a master report and a sub report.
The datasource code for the master report is present in the code behind file where I have the viewer control.
The datasource code for the sub report is present in the code behind report file itself.
Opening the sub report in the Design mode has no problems at all. I insert the sub report control in the detail area of the master report. But now as I go to the properties of this control to point to the sub .vb report file in the 'ReportSource' property, I get an alert box saying 'object reference Not set to instance of an object'. Both the report files are in the same app_code folder.
Can you suggect what is the problem?

Thanks,
Sanjay
Steve
Telerik team
 answered on 07 May 2009
3 answers
136 views
Hello , Does Telerik reporting needs any hosting installation ?
Currently i installed  trial version on my development PC and it works  fine .I am hoping that if I sent DLL files under web  project bin  folder to the hosting department ,it will  work on server  as well without any more installation .But I want to be sure about that before going further .
It says that  one of the reporting tool requirement is full Asp.net  trust level on application. can you expand a bit this ?
I am fully dependent on  hosting environment at my currenct situation . Do i need to ask a specific  question to them in order to be sure that telerik reporting will work on server?


Thanks in advance
Regards
Steve
Telerik team
 answered on 07 May 2009
4 answers
281 views
I have a Master report that contains two subreports.

One of the subreports, SummaryCategoryMaster, contains a textbox and another subreport astCatDetailSubreport that has as it's ReportSource: SummaryCategoryDetail.  SummaryCategoryDetail contains two text boxes.  On one of these textboxes, textBox1, I've hooked an item data binding event that increments a public member _filteredCount, as follows:

public

 

int _filteredCount = 0;  

 

 

 

private void textBox1_ItemDataBinding(object sender, EventArgs e)
{

_filteredCount += 1;

}

The intent here is to count how many rows will be added based on the filter.  This seems to work fine and _filteredCount is set correctly based on the data that I supply to it.

In SummaryCategoryMaster, I have added the following event handler:

 

 

private void astCatDetailSubreport_ItemDataBound(object sender, EventArgs e)
{
   
SummaryCategoryDetail detailReport = (SummaryCategoryDetail)this.astCatDetailSubreport.ReportSource; 

 

 

 

 

    if (detailReport != null

    { 

 

 

        this.Visible = detailReport._filteredCount > 0; 

        detailReport._filteredCount = 0;

    }

}

The intent is for the SummaryCategoryMaster subreport to not display if it's subreport has no data.  When I run the code and display the report in a ReportViewer  on a WinForm, however, the SummaryCategoryMaster appears no matter what the value to this.Visible is set to.   When I save the generated report as a PDF, however, the SummaryCategoryMaster does not appear.  I'm using the 430 version of 2009.

What am I doing wrong and is there a better way for me to do this?

Thanks in advance.

 

 

 

 

 

 

John
Top achievements
Rank 1
 answered on 06 May 2009
1 answer
73 views
Does anyone knows if the reporting component give users the ability to adjust the cells when render on a winform?

Take this sample for instance:-
http://demos.telerik.com/reporting/examples/crosstab/defaultcs.aspx

I would like to manually adjust one of the Grand Total. Assume this is render on a winform.
Is this possible?
Steve
Telerik team
 answered on 06 May 2009
1 answer
135 views
I have a datatable that I am using to populate a pie chart.  It has two columns Fund and Amount.  I want the labels to populate with the Fund name AND the #%...i.e. "American Funds 10%"

The problem I am having is retrieving the Fund name from the data row.  My chart uses a table adapter as the datasource.

private void chart1_NeedDataSource(object sender, EventArgs e) 
        { 
            Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart; 
            chart.DataSource = this.richPlayDBDataSetTableAdapter1.GetData(Convert.ToString(chart.Report.Parameters["SSN"])); 
                         
             
            DataRowView row = (DataRowView)chart.DataItem; 
             
            Telerik.Reporting.Chart defChart = (Telerik.Reporting.Chart)chart.ItemDefinition; 
            defChart.Series[0].DefaultLabelValue = string.Format("{0} #%", row["Fund"]); 
        } 

I keep getting "Object reference not set to an instance of an object" error.  The above code works perfectly if I substitute row["fund"] for just a normal string. How can I capture the actual row value?

Rich



Steve
Telerik team
 answered on 06 May 2009
2 answers
127 views
There is an excellent example in the Help files on how to display a report as PDF directly to browser.

Is there an example on how to do the same thing as a JPEG image?

I see the examples on how to save the image to disk and I thought I knew how to render the byte array as an image. But so far I haven't been successful.

Steve
Telerik team
 answered on 06 May 2009
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?