Telerik Forums
Reporting Forum
7 answers
269 views
Okay, i'm playing around with my first Drillthrough report.  On the parent report, I set the report action on a cell to NavigateToReport.  I selected the "drillthrough" report and set 3 parameters.  
 
My Problem:
I can't seem to get the destination drillthrough report to receive the parameters.  i've looked in your docs and have not been able to find an example.  Can you please provide steps needed?  Thanks!

More details:
On the drillthrough report, i've setup 3 parameters that match the parent report's NavigateToReport Action parameters.  I then have a SqlDatasource that uses the same report parameters.  All parameters come across as Null.
Svetoslav
Telerik team
 answered on 06 Aug 2010
8 answers
1.0K+ views
Hello!
Been playing with the reporting tool and have made a lot of progress quickly. One thing I would like to do though, is change the row color based on the value of a field in that row. I know styles are used heavily in this product and I am sure that it can be done... any ideas?

Thanks!
Harold Chattaway

Ulrich Fiege
Top achievements
Rank 1
 answered on 06 Aug 2010
1 answer
87 views
Is it possible to send the data source object for the report generation from Silverlight? My issue is that the working dataset is located on the Silverlight side of the application. If this is possible, please point me in the right direction.

Thanks
Peter
Telerik team
 answered on 05 Aug 2010
1 answer
196 views
Hello,

I have a report that contains three different reports.

I am having trouble understanding the document map.  I am able to get items into the document map, but would like to be able to group two of the reports into the same category.  Is this possible?

For example:

Currently in my document map I have the following:

Tabulated Data [Report 1]
Graph 1 [Report 2]
Graph 2 [Report 3]

I would like to do the following:
Tabulated Data [Report 1]
Graphs
     Graph 1 [Report 2]
     Graph 2 [Report 3]

Thanks for the help!
Peter
Telerik team
 answered on 05 Aug 2010
0 answers
199 views
Hi


This is shanker I doing one report i face this error in my  reporting   {"Object reference not set to an instance of an object."} 

this is my code 


  public void rport(UserDashboard userDashboard)
        {
            var report = new MvcApplication18.Reports.RepClassList();
            var res = userDashboard;
            if (report != null)
            {
                report.DataSource = res;
                
                class_subject_teacher_list_rep.Report = report ---------------here i am getting error
;
                class_subject_teacher_list_rep.ShowExportGroup = true;
            }
        }


here i getting  all values in dashboard variable and Res varibale. But In Reportviewr Binding I face this Error 
{"Object reference not set to an instance of an object."} 


please give any solutions 

thanks and regards

shanker.b








shanker bangari
Top achievements
Rank 1
 asked on 05 Aug 2010
2 answers
1.1K+ views
Hi.  I just started using the reporting tools to replace some XSLT reports.  My datasource is a dataset (read from XML), which contains two datatables.  One table contains just the header info, while the other table contains all the actual data.  If I set the report datasource to just the dataset, then I can only seem to to access the values in the first table (I am probably doing this wrong).  I am just using [=FieldName] in textboxes as a test, I tried specifying the table name like this [=TableName.FieldName] but that did not work.  WHat am I missing here?
Joel
Top achievements
Rank 2
 answered on 05 Aug 2010
11 answers
364 views
The class Telerik.Reporting.Processing.TableCell was removed in the new version of Telerik Reporting !!
Now I don't know how to Access report fields from a Table item.
The example in documentation is :

private void tableTextBox_ItemDataBinding(object sender, EventArgs eventArgs)
{
    //get the textbox from the sender object            
    Processing.TextBox textBox = (Processing.TextBox)sender;
    //get the corresponding tableCell in which the textbox is located
    Processing.TableCell tableCell = (Processing.TableCell)textBox.Parent;
    //get the table object
    Processing.Table table = (Processing.Table)tableCell.Parent;
    //get the detail section
    Processing.DetailSection detail = (Processing.DetailSection)table.Parent;
    //get the raw value from the Report datasource directly
    textBox.Value = detail.DataObject["Data"];
}

But now this is not possible !!!

And now ????

My code don't work more !!!!!

Thank you !
Svetoslav
Telerik team
 answered on 05 Aug 2010
5 answers
336 views
I want to bind htmltextbox value to report parameter. The report parameter value is:

<div style="font-family: tahoma; font-size: 10pt">
    Request from <strong>{Fields.CustomerName} ({Fields.CustomerNo})</strong> to update
    the profile information as follow:
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>P.O. Box</strong> {Fields.POBox}
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>Address</strong> {Fields.Address1}
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>City</strong> {Fields.City}
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>Country</strong> {Fields.Country}
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>Main Contact No</strong> {Fields.ContactNo}
</div>
<div style="font-family: tahoma; font-size: 10pt">
    <strong>Email</strong> {Fields.Email}</div>

When I run the report, I got the error 'Fields.CustomerName' is not a valid type name. Even I tried with double braces but same error. One thing I noticed, If I set this value in htmltextbox expression its working. What could be the reason?
Can someone help me?
Hrisi
Telerik team
 answered on 05 Aug 2010
3 answers
308 views

Hi,

I have a report which contains  bound fields and a table (Telerik.Reporitng.Table) in the detail section of the report. I have used stored procedure which returns dataset with 2 datatables. i.e (Categories and Products). I have bound (in code) the report datasource to "Categories" datatable of the dataset and Telerik.Reporting.Table to "Products" datatable of the dataset. Both datatables “Categories” and “Products” have "CategoryID" column. I have a filter on the Telerik.Reporting.Table to only display products related to particular "CategoryID". Everything works just fantastic. I am able to run and export to pdf thousands of pages without any issue. However if there is no product for some category, in such case Telerik.Reporting.Table doesn't have any records it renders without any issue in report viewer but when I export to pdf it throws "Index out of range" error. Surprisingly export to excel just works fine.

 


Please help.

 


Thanks

Jignesh

Jignesh
Top achievements
Rank 1
 answered on 05 Aug 2010
4 answers
225 views
I am trying to create some charts using Telerik Reporting - Q2 2010

I have a data source that returns 2 columns

Date Value
39812 931
39843 796
39871 855
39902 931
39932 752
39963 827
39993 852
40024 732
40055 677
40085 891
40116 723
40146 610
40177 774
40208 984
40236 1281
40267 2322
40297 2734
40328 2726
40358 2570

In the designer I have no data source for the report, but I have the SQLDatasource connected to the chart.

I have a bar series

I set the Series X to Date, and the Series Y to Value

If I preview the report in the designer the bars are all drawn over each other and it looks a complete mess.

See attached image for what it looks like (capture1.png)

Considering there are in the screen shot (and data above) there are 19 data points along the X axis.

But the # of areas defined by the grid is only 7 - this makes reading the labels along the bottom of the X Axis hard since they do not line up.

Have I missed something here?

Capture2.png is what I actually see after configuring some more properties in the chart. As you will see in that image there is 10 grid columns but 19 data columns. The Bars draw over each other.

I do not want to manually configure the width of the bars as the control should do this for me.

Chris

Chris Crowe
Top achievements
Rank 1
 answered on 04 Aug 2010
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?