Telerik Forums
Reporting Forum
2 answers
128 views
Hi i am working with htmltextbox to obteing some data from data source and text for example y write this in value:Notice: Personnel is wroking for {Fields.Name}   it was working good until one field has an "&" mixing with the text.
soraya
Top achievements
Rank 1
 answered on 09 Dec 2011
7 answers
533 views
We have a report containing a subreport.  When we export to CSV all the fields from the report are added to each line of data from the Subreport.

Is there some way to prevent this or to intercept the request to the export feature so that we only export the subreport raw data?

Thanks!
Kevin
Top achievements
Rank 1
 answered on 09 Dec 2011
5 answers
1.2K+ views
Hi All,
I am trying to generate Telerik report with dynamic columns.So I create data table at run time in reporting.So I don't add Datasource in design mode.When I add report to report viewer.This error occurs "Exception has been thrown by the target of an invocation"..
How can I solve this problem.I use the following code in reporting at run time..
private void table1_ItemDataBinding(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.Table processingTable = (sender as Telerik.Reporting.Processing.Table);
            DataTable dtCashBook = new DataTable();
            dtCashBook = control.GetCashBookListForReport();
            processingTable.DataSource = dtCashBook;
            Telerik.Reporting.HtmlTextBox textboxGroup;
            Telerik.Reporting.HtmlTextBox textBoxTable;
            table1.ColumnGroups.Clear();
            table1.Body.Columns.Clear();
            table1.Body.Rows.Clear();
            int i = 0;
            foreach (DataColumn dc in dtCashBook.Columns)
            {
                Telerik.Reporting.TableGroup tableGroupColumn = new Telerik.Reporting.TableGroup();
                table1.ColumnGroups.Add(tableGroupColumn);
                table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));

                textboxGroup = new Telerik.Reporting.HtmlTextBox();
                textboxGroup.Style.BorderColor.Default = Color.Black;
                textboxGroup.Style.BorderStyle.Default = BorderType.Solid;
                textboxGroup.Value = dc.ColumnName.ToString();
                textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
                tableGroupColumn.ReportItem = textboxGroup;

                textBoxTable = new Telerik.Reporting.HtmlTextBox();
                textBoxTable.Style.BorderColor.Default = Color.Black;
                textBoxTable.Style.BorderStyle.Default = BorderType.Solid;
                textBoxTable.Value = "=Fields." + dc.ColumnName;
                textBoxTable.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
                table1.Body.SetCellContent(0, i++, textBoxTable);
                table1.Items.AddRange(new ReportItemBase[] { textBoxTable, textboxGroup });

            }
        }
Elian
Telerik team
 answered on 09 Dec 2011
3 answers
199 views
Hi,

I have 2 sections in my report. One isTextbox and other is panel. The textbox is added to the detail section and then the panel. I want to set the width of textbox to the panel. I tried to do it in Textbox_itemDatabound property but no change. I see that once the report is rendered the colspan of td in which this textbox is set to 1 instead of 2. Is there any way of setting the width equivalent to the panel width before rendering the report.

Thanks in advance.
Subra
Elian
Telerik team
 answered on 09 Dec 2011
1 answer
131 views
Hi,

I want to do modification to the data before exporting it to excel. IS there any way by which I will come to know that export evernt is fired so I can modify the data and will export it to the excel. I'm using Telerik.ReportViewer.WebForms. I know that for Windows it is available.

Thanks in Advance.
Subra

Steve
Telerik team
 answered on 09 Dec 2011
1 answer
75 views

Hi,

I am using the Telerik  Reporting Q2 2011 (version 5.1) with Silverlight (4.0.60531.0). When I click on the print button at ReportViewer, just a quick progress bar show at IE and print dialog does not pop-up. Moreover, save dialog works for all formats except PDF and TIF formats. On selecting these formats following error occurs:

Value cannot be null

Parameter name: Key

The request URL is as follows:

http://www.loanvantageprm.com/dev/cre.sl/ReportService.svc/resources/exportcachedreport?instanceId=e5203627-88e0-4458-b5df-099bdcdcab63&format=PDF&deviceInfo=%5b%7b%22Key%22%3a%22CurrentCulture%22%2c%22Value%22%3a%22en-US%22%7d%2c%7b%22Key%22%3a%22CurrentUICulture%22%2c%22Value%22%3a%22en-US%22%7d%2c%7b%22Key%22%3a%22Telerik.ReportViewer.PageNumber%22%2c%22Value%22%3a1%7d%2c%7b%22Key%22%3a%22Telerik.ReportViewer.InstanceID%22%2c%22Value%22%3a%22e5203627-88e0-4458-b5df-099bdcdcab63%22%7d%2c%7b%22Key%22%3a%22ImmediatePrint%22%2c%22Value%22%3atrue%7d%5d&sequence=22c2b34d-dc4f-4112-8dec-37cd7bfd6dd6

This dev URL can be accessed for report service: http://www.loanvantageprm.com/dev/cre.sl/ReportService.svc

This can also be used to generate wsdl: http://www.loanvantageprm.com/Dev/CRE.SL/ReportService.svc?wsdl

Please look at the issue and suggest possible solution. Thank you for your time and consideration.

BR

Adil

Steve
Telerik team
 answered on 09 Dec 2011
1 answer
222 views
Hello,
I am creating a report and targeting x64 as the platform.   If I click "Any CPU" things seem to work with the designer just fine - but if I use x64 - things start to go bad - if it is a simple report (just a textbox) I get - "The source of the report definition has not been specified"  which is not what i get when i have Any CPU.  And for our regular case  - an inherited report (report base template that extends from Telerik.Reports) with a SQL query - it It feels like the designer is maybe 32 bit. That seems off.  I am running Visual Studio 2010 professional.  Do i need a specific VS 2010 64 bit - not sure they specifically have that. Any ideas?

Thanks,
Joe

Steve
Telerik team
 answered on 09 Dec 2011
1 answer
202 views

Hi,
Environment - SQL Server 2008 R2, SharePoint 2010, SSRS, SSAS.

We have a requirement in our project to show reports developed using SSRS 2008 onto SharePoint 2010 using report viewer web part.We will be connecting to SSAS Cube source and to fetch the data to display on SSRS Report, we use MDX Queries. Once report is created in SSRS, we deploy to SharePoint and display the report in report viewer web part.
Customer asked us that is there any way we can use Telerik Report Viewer to provide better user experience.So, We wish  to use Telerik Report Viewer  for this purpose as Telerik controls give better user experience like look and feel, export to various formats.
I am new to Telerik Controls. Could you please suggest us if the requirement can be achieved using Telerik Report viewer? If yes, Could you please point me where can I find step by step document to work on Telerik Report Viewer for SharePoint using SSRS.

We truly appreciate your help in advance.
Thanks,
Chandra.

Peter
Telerik team
 answered on 09 Dec 2011
1 answer
910 views
I have several tables that I need to display in the details section of my report but I want to page break between each table.  Can anyone tell me how to set this up?


Thanks
Peter
Telerik team
 answered on 08 Dec 2011
1 answer
104 views
When i try to set visible of subreport to false i get this error :
Error: Object reference not set to an instance of an object.

report1.Items["detail"].Items["table1"].Items["subreport1"].Visible = false;

How can i do such ?!
Steve
Telerik team
 answered on 08 Dec 2011
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?