Telerik Forums
Reporting Forum
0 answers
218 views
Hi,

I have two problems about the table control:
1)I'm trying to display the table rows in different pages, but unfirtunatily, all rows are displayed in one page in the HTML Preview mode (In the normal Preview mode the table rows are displayed in defferent pages - REQUIRED situation). Can you please explain to me how to do that?
2) By trying to export the report to pdf file, all report items are exported except to the above table (View attached screen-shots), why? and how can I handle this issue?

Below is the table design code:
//
            // subTasksTable
            //
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.99269747734069824D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.76236891746521D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.65212559700012207D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(2.5210821628570557D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(2.1588101387023926D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.5260298252105713D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.5722570419311523D, Telerik.Reporting.Drawing.UnitType.Inch)));
            this.subTasksTable.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.66027981042861938D, Telerik.Reporting.Drawing.UnitType.Cm)));
            this.subTasksTable.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.92489641904830933D, Telerik.Reporting.Drawing.UnitType.Cm)));
            this.subTasksTable.Body.SetCellContent(0, 1, this.textBox1);
            this.subTasksTable.Body.SetCellContent(1, 1, this.textBox2);
            this.subTasksTable.Body.SetCellContent(0, 3, this.textBox3);
            this.subTasksTable.Body.SetCellContent(1, 3, this.textBox4);
            this.subTasksTable.Body.SetCellContent(1, 2, this.textBox5);
            this.subTasksTable.Body.SetCellContent(0, 2, this.textBox6);
            this.subTasksTable.Body.SetCellContent(0, 4, this.textBox7);
            this.subTasksTable.Body.SetCellContent(1, 4, this.textBox8);
            this.subTasksTable.Body.SetCellContent(0, 5, this.textBox9);
            this.subTasksTable.Body.SetCellContent(1, 5, this.textBox10);
            this.subTasksTable.Body.SetCellContent(0, 0, this.textBox11);
            this.subTasksTable.Body.SetCellContent(1, 0, this.textBox12);
            this.subTasksTable.Body.SetCellContent(0, 6, this.textBox13);
            this.subTasksTable.Body.SetCellContent(1, 6, this.textBox14);
            tableGroup1.Name = "Group3";
            tableGroup5.Name = "Group1";
            tableGroup6.Name = "Group2";
            tableGroup7.Name = "Group4";
            this.subTasksTable.ColumnGroups.Add(tableGroup1);
            this.subTasksTable.ColumnGroups.Add(tableGroup2);
            this.subTasksTable.ColumnGroups.Add(tableGroup3);
            this.subTasksTable.ColumnGroups.Add(tableGroup4);
            this.subTasksTable.ColumnGroups.Add(tableGroup5);
            this.subTasksTable.ColumnGroups.Add(tableGroup6);
            this.subTasksTable.ColumnGroups.Add(tableGroup7);
            this.subTasksTable.DataMember = "";
            this.subTasksTable.DataSource = this.subTasksDataSet;
            this.subTasksTable.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
            this.textBox1,
            this.textBox2,
            this.textBox3,
            this.textBox4,
            this.textBox5,
            this.textBox6,
            this.textBox7,
            this.textBox8,
            this.textBox9,
            this.textBox10,
            this.textBox11,
            this.textBox12,
            this.textBox13,
            this.textBox14});
            this.subTasksTable.KeepTogether = false;
            this.subTasksTable.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.2539999783039093D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(7.619999885559082D, Telerik.Reporting.Drawing.UnitType.Cm));
            this.subTasksTable.Name = "subTasksTable";
            tableGroup9.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] {
            new Telerik.Reporting.Data.Grouping("")});
            tableGroup9.Name = "detailGroup";
            this.subTasksTable.RowGroups.Add(tableGroup8);
            this.subTasksTable.RowGroups.Add(tableGroup9);
            this.subTasksTable.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(10.185371398925781D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.5851762294769287D, Telerik.Reporting.Drawing.UnitType.Cm));
            this.subTasksTable.ItemDataBinding += new System.EventHandler(this.subTasksTable_ItemDataBinding);
            this.subTasksTable.ItemDataBound += new System.EventHandler(this.subTasksTable_ItemDataBound);


Please, I need your help,

Regards,
Bader
Bader
Top achievements
Rank 1
 asked on 26 Oct 2011
1 answer
219 views

Hi?? Telerik~~~

First , Sorry I can not speak English well.

I want to ask about some of the results ReportView.

Attached Files(  IE_SCREEN1, IE_SCREEN2 ) are client Screen When The Print and Data Output before.

However, When The output or Data Export looks something like attachments file (export_or_print) .

When Printing or Export Data , Legend of Chart area is the blurring and Chart under the data table on the next page appears.

How do I fix this?

Peter
Telerik team
 answered on 26 Oct 2011
1 answer
158 views
Hi.

Is it possible to diplay bar chart with multiple category groups? Please see attached image.

Here is my data:

Year        Product      Serie    Cnt
2010        A                Yes        5
2010        A                No        10
2010        B                Yes        2
2010        B                No          0
2010        C                Yes        2
2010        C                No        15
2011        A                Yes        5
2011        A                No        10
2011        B                Yes        2
2011        B                No          0
2011        C                Yes        2
2011        C                No        15

Thanks in advance.

Regards,

Roy
Steve
Telerik team
 answered on 26 Oct 2011
1 answer
973 views
Hi,

I'm beginning with the reporting with telerik, and I'm trying to create a report which is in facts a confirmation letter for activities on which the user has registred.

My data are only in memory, so I cannot use any SQL datasource, ...

So for now I create a reportViewer, I set the "Report" item to my ConfirmationLetter(and set the DataSource of my ConfirmationLetter to the "Participant" object.

I've no problem displaying some fields like firstname/lastname/... but I cannot figure out how to bind the table with one of my properties?

My Participant object has a "Activities" List, and I want to set that my table has to use this Activities List as datasource.

But when I go in the "DataSource" property of my table, I can only set a datasource which has be defined(here I've only the ParticipantDataSource), not any subproperty.

So how can I do this?

Thank you
Peter
Telerik team
 answered on 26 Oct 2011
6 answers
480 views
Hi,

I'm trying to embed a report on an ASPX page.  When I try and set the Report property of the Report Viewer I get the following error:

This type has a ComVisible(false) parent in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed.

I checked my assembly settings and ComVisible was false even though in the property page it was checked.  I change Assembly.cs to set the ComVisible property to true.  I still get the error though.

Thanks,
Darren



Steve
Telerik team
 answered on 26 Oct 2011
1 answer
83 views
Sir
 
    Iam using Telerik reporting Picture box in winforms ,when report is opend it shows an error i.e Picture box is being used by another process & picture is displaying in the next page.
                    
Thanks & Regards
Steve
Telerik team
 answered on 26 Oct 2011
1 answer
138 views
Scenario: Sharepoint Foundation 2010 with a Visual Web Part on the page. When trying to print from the client side, I'm receiving the dreaded "ReportViewer is undefined" javascript error. I've gone through the KB article, with the following results:

1. Web.config was properly set up. Replaced everything just to be sure, same result.
2. It's Sharepoint 2010 - it's supposed to run in Integreated mode.
3. No compression set up. Disabled any compression options in IIS7. Same result.
4. The full text of the script resource appears. There are no errors accessing the resource in this manner.
5. Added the location tag. Same result.
6. Script is after the ReportViewer. Same result.
7. There are no requests for that path showing in Fiddler. When I go directly to that URL (as in step 4), no errors are displayed.

What am I missing here? Or is this just another example of controls not loading properly when used in Sharepoint?
Peter
Telerik team
 answered on 25 Oct 2011
1 answer
94 views

Good days,
I have a problem about rad tabs screen in IE.
When I test my project in Firefox and Chorome there is not any problem,
but I tested in IE8 or IE9 RadTabs where not seen well.
I attached my webpage's screen in IE.
How can I do?
My code in aspx below.

<
telerik
:RadPane ID="rpPages" Width="100%" Height="100%" runat="server">

 

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" Skin="Default" SelectedIndex="0" Width="100%" Align="Left" >

 

<Tabs>

 

<telerik:RadTab Text="Kullanıcı Performans"></telerik:RadTab>

 

<telerik:RadTab Text="Çağrı Bilgisi"></telerik:RadTab>

 

<telerik:RadTab Text="Kullanıcı Durumları"></telerik:RadTab>

 

<telerik:RadTab Text="Verimlilik" Selected="True">

 

</telerik:RadTab>

 

 

</Tabs>

 

</telerik:RadTabStrip>

 

<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Width="100%" Height="100%">

 

<telerik:RadPageView ID="RadPageView1" runat="server" Width="100%" Height="100%">

 

<cc1:BISReportViewer ID="rvCallReport" runat="server" Height="100%"

 

Width="100%" ShowDocumentMapButton="True" BorderWidth="0px" ParametersAreaVisible="False"

 

ProgressText="Rapor OluÅŸturuluyor..." ShowParametersButton="False" BackColor="White" ShowZoomSelect="True"

 

</cc1:BISReportViewer>

 

</telerik:RadPageView>

 

 

<telerik:RadPageView ID="RadPageView2" runat="server" Width="100%" Height="100%">

 

</telerik:RadPageView>

 

<telerik:RadPageView ID="RadPageView3" runat="server" Width="100%" Height="100%">

 

</telerik:RadPageView>

 

<telerik:RadPageView ID="RadPageView4" runat="server" Width="100%" Height="100%">

 

</telerik:RadPageView>

 

</telerik:RadMultiPage>

 

</telerik:RadPane>

Kate
Telerik team
 answered on 25 Oct 2011
1 answer
94 views
Hi,

I'm working with the pie chart in Telerik reporting. I've bind the dara source and assign the values. My pie chart turn out quite well, however the item labels shows System.Byte for all label.

FYI, I've already set the DataLabelsColumn  and the DataYColumns property in ChartSeries Collection Editor to the value from my query. So the pie chart looks like its getting the value but my item label only shows System.Byte[] for all.

Could anyone please clarify..
Peter
Telerik team
 answered on 25 Oct 2011
1 answer
217 views
I want to inject a custom http headers (e.g. AuthorizationHeader, etc) to every WCF request to ReportingService. I found out the IReportServiceClientFactory but how can I inject headers here.
Steve
Telerik team
 answered on 25 Oct 2011
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?