Telerik Forums
Reporting Forum
1 answer
120 views

Hi,

 I am trying to display new graph using the Telerik.Reporting.Graph tool on each page of the report. Each page is displaying the grades of a particular student. So how do I get the bar chart to display the correct graph for each student on the page. Currently it is just showing the same graph on every page and the values are not changing according to the student id displayed at the top of every page. 

 (I am using C# in Visual Studio)

 Thanks!

 

Nasko
Telerik team
 answered on 03 Aug 2015
2 answers
127 views

Hi All

 I have a report that uses a subreport to display a series of questions (1-24), just using a detail section (not a table).

Each one of these questions has up to five checkboxes for further options that have been selected.

They each have different labels as well depending on which question it is.

 I have managed to get out the question no on the detail_ItemDataBinding event and the report works fine but..

I want to reference the 5 checkboxes for each particular question, hiding the ones not required and changing the text value for those in use??

 

Cheers

Ade

Nasko
Telerik team
 answered on 03 Aug 2015
1 answer
266 views

Hello,

 

I create a Report on runtime with ;

 

for (int i = 0; i <= ds.Tables[0].Columns.Count - 1; i++)
            {
                var tableGroupColumn = new TableGroup();
                tableGroupColumn.Name = i.ToString();
                table1.ColumnGroups.Add(item: tableGroupColumn);
 
                txtGroup = new HtmlTextBox
                               {
                                   Size = new SizeU(Unit.Inch(2.1), Unit.Inch(0.3)),
                                   Value = ds.Tables[0].Columns[i].ColumnName,
                                   Style =
                                       {
                                           BackgroundColor = System.Drawing.Color.FromArgb(59,100,141),
                                           Color = System.Drawing.Color.White,
                                           BorderStyle = { Default = BorderType.Solid },
                                           TextAlign = HorizontalAlign.Center,
                                           VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle,
                                           BorderColor = { Default = Color.Black }
                                       },
                                   StyleName = "Corporate.TableHeader",
                               };
                tableGroupColumn.ReportItem = txtGroup;
 
                txtTable = new HtmlTextBox()
                               {
                                   Size = new SizeU(Unit.Inch(2.2), Unit.Inch(0.3)),
                                   Value = "=Fields.[" + ds.Tables[0].Columns[i].ColumnName + "]",
                                   //Value = data.Rows[rowIndex][i].ToString(),
                                   Style =
                                       {
                                           BorderStyle = { Default = BorderType.Solid },
                                           TextAlign = HorizontalAlign.Center,
                                           VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle,
                                           BorderColor = { Default = Color.Black }
                                       },
                                       StyleName = "Corporate.TableHeader",
                               };
 
                table1.Body.SetCellContent(0, columnIndex: i, item: txtTable);
                //rowIndex++;
                table1.Items.AddRange(items: new ReportItemBase[] { txtTable, txtGroup });
            }

and i want to add a Total with sum function but i cant do this.

Nasko
Telerik team
 answered on 03 Aug 2015
4 answers
261 views

Hi Telerik,

 

Recently, we've been experiencing timeouts in our reports, where can we do the configuration of the prolong timeout limit? Can we do it via HTML Viewer, or the Reports API or the Report itself??

Thank you...

Efren
Top achievements
Rank 1
 answered on 03 Aug 2015
13 answers
1.1K+ views

The reports work great in vs2005 but when i uploaded this change to my webstie and add all necessary references to the bin directory the report viewer doesn display reports 
the viewer is there but all the buttons show up as missing images

anyhelp with this would be great. I am using Q2 2007 reporting and i have added 

  • Telerik.Reporting.dll
  • Telerik.Reporting.Processing.dll
  • Telerik.Reporting.Interfaces.dll
  • Telerik.ReportViewer.WebForms.dll

and the charting dll to the bin folder

regards

Brad

Rahul
Top achievements
Rank 1
 answered on 02 Aug 2015
4 answers
825 views

Hello,

I am using the standalone designer and displaying reports on the web.

 In the standalone designer the table cell looks OK with text vertically aligned in the middle.  (First example in attached image.)

 On the web the bottom half of the cell cuts off (Second example in attached image.)

 Also, if I try and add padding on the left of the table cell, the cell shrinks in width by that amount and starts cutting off the right side of the cell (Third example in attached image.)

 When I export these reports to PDF it displays properly (same as in Report Designer).

Any thoughts here?

Jeff
Top achievements
Rank 1
 answered on 31 Jul 2015
3 answers
96 views

Hi all,

i'm working on C# , Silverlight with MVVM concept , I'm using Silverlight Report viewer to print or print preview the reports .

this report viewer is calling by using the wcf services here my report is loading slowly I checked with fiddler and found that the service is calling the service is calling  4 times here I have attached the image of that and piece of code how I implemented. i'm thinking because of calling 4 time the report is loading slowly .And here is a question can we use  HTML5 report viewer instead of Silverlight Report Viewer ? does this work fast compare to Silverlight report engine?.

 

Thanks

Prashanth.

 

 

Stef
Telerik team
 answered on 31 Jul 2015
2 answers
390 views
I am currently trying to take an embedded image out of a report's .resx file and point it (relatively) to a file in an images folder in the same project.  I have tried every combination of the relative path in both Report designer and even setting it in C# in the report's constructor in the code behind.  When I set the pictureBox's value to .\Images\fpi-ontarget-letterhead-black.jpg , it works in design mode, but in preview mode, I get the error: "Invalid URI: The format of the URIcould not be determined."  I noticed that if I set an absolute path on my hard drive, it will work, but I would like to avoid that.  I would like to get it working with a relative path.  Thank you in advance.
Mike
Top achievements
Rank 1
 answered on 30 Jul 2015
13 answers
993 views
Hi,
Is there a sample we can download to see the example on how Telerik Reporting is used in WPF MVVM? If there is, would you please let me know where to download it from.

Cheers...
Stef
Telerik team
 answered on 30 Jul 2015
2 answers
231 views
Hello,

I use the following method to export report from console application.
The problem is that the generating report is exported only in default culture (en).
Setting the Thread.CurrentCulture and Thread.CurrentUICulture has no effect.

private void GenerateReportFromSource(InstanceReportSource reportSource, ReportType reportType, String path, CultureInfo cultureInfo)
        {           
            LocalizationInfo.Culture = cultureInfo;
            Thread thread = new Thread(() =>
            {
                try
                {
                   ReportProcessor reportProcessor = new ReportProcessor();
 
                    RenderingResult result = reportProcessor.RenderReport(reportType.ToString().ToUpper(), reportSource, null);
 
                    FileInfo info = new FileInfo(path);
                    if (info.DirectoryName != null && !Directory.Exists(info.DirectoryName))
                        Directory.CreateDirectory(info.DirectoryName);
                    File.WriteAllBytes(path + "." + reportType.ToString().ToLower(), result.DocumentBytes);
                }
                catch (Exception e)
                {
                    Logger.WriteException(e);
                }
            });
            thread.CurrentCulture = cultureInfo;
            thread.CurrentUICulture = cultureInfo;
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
            thread.Join();
        }

Thanks in advance.

Best regards,
Geoffrey
Stef
Telerik team
 answered on 30 Jul 2015
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?