Telerik Forums
Reporting Forum
1 answer
46 views
Hi!

I have a report with 7 Groups and have to print a groupheader on three of them.
I attached an Screenshot where I add text to each groupheader to see the behavior. The grouping is on a column named "laktat" for 1,1.5,2,3,4,6,>6 
All groupheaders are printed for Laktat 1 and 1.5, groupheader 2-7 are printed for laktat 2...

The result should be:

Groupheadertext: empty Groupheader
1
empty Groupheader
1.5
Groupheadertext: "Extensiver Bereich"
2
empty Groupheader
3
Groupheadertext: "Intensiver Bereich"
4
Groupheadertext: "Vorwiegend anaerober Bereich"
6
empty Groupheader
> 6

(In the screenshot I gave every groupheader text to see the behavior)

As you can see, the grouping itself is correct, just the the groupeheader are printed very courious
Thanks in advance for your help!

regards

Willi

IvanY
Telerik team
 answered on 28 Mar 2013
3 answers
281 views
Hello,

I am using itembinding event of report table and proramatically generating report table as below.

m_ReportTable.Body.Rows.Add(

 

new TableBodyRow(m_RowHeight));

 

 

 

TextBox dataCell = new TextBox { Value = "val" };

 

dataCell.Size =

 

new SizeU(m_RowHeight, m_RowHeight);

 

m_ReportTable.Body.SetCellContent(0, 0, dataCell);

 

 

TextBox dataCell2 = new TextBox { Value = "val2" };

 

dataCell2.Size =

 

new SizeU(m_RowHeight, m_RowHeight);

 

m_ReportTable.Body.SetCellContent(0, 1, dataCell2);

 

 

Panel p = new Panel();

 

p.Items.AddRange(

 

new ReportItemBase[] { dataCell, dataCell2 });

 

m_ReportTable.RowGroups[0].ReportItem = dataCell2; //added one defauld row group at initialization

m_ReportTable.Items.AddRange(

 

new ReportItemBase[] { dataCell, dataCell2 });

I'm confused with group structure. After rendering, this is showing only "Val2" as i added it in ReportItem of row group. How do i add two cell items in one row group? Also what about column groups, can i relate column group to row cells of perticular column?

Please help or let me know if more information is needed.

Regards,
Manish

 

Manish
Top achievements
Rank 1
 answered on 28 Mar 2013
1 answer
380 views

Hai 
     
When I was takeing Data as below Report Showing output  Data.  

public
static List<Job> GetData(int ab)

{
}

but when  I was takeing data as below

 

public async static Task<List<Job>> GetData(int ab)
{
}

it was showing Error    The expression contains object 'JobName' that is not defined in the current context.



Is Telerik Reports support async methods ?

 

 

 

 

IvanY
Telerik team
 answered on 27 Mar 2013
1 answer
121 views
I have a number of reports (in asp.net).  Some of the reports construct the datasource manually in the NeedDataSource event.  I recently upgraded from Q2 2011 to Q3 2013.  Now when I run a report and select parameters, the report parameters' values do not reflect the choices selected. (they are either the initial value of the parameter, or NULL if there was no initial value) 

I am getting the parameter values via:  this.ReportParamaters["paramName"].Value.

What has changed in this area since Q2 2011, and what can I do to access the parameters in the NeedDataSource event?

Thanks,
Justin

Justin Lee
Top achievements
Rank 1
 answered on 27 Mar 2013
4 answers
101 views
I have a column, "Last File", that has a name and a hyperlink to the file on a server. 

On Excel export the file opens, e.g. the hyperlink, \\intut\PTA\Uploads\12422.pdf opens the PDF. Just what I want. 

In the Telerik Report, when I click the hyperlink Internet Exporer opens and I get, "The page cannot be found ".  In the address area is "http://localhost/intutPTAUploads12422.pdf".  It seems to have added "http://localhost", "localhost" is the server, replaced "\\intut" with "/intut" and removed all the "\"s.

What do I need to do to get a hyperlink to a file to work?
David
Top achievements
Rank 1
 answered on 27 Mar 2013
0 answers
101 views
Never mind, figured it out...
Sangeet
Top achievements
Rank 1
 asked on 27 Mar 2013
1 answer
326 views
Is it possible to install multiple verisons of Reporting? Our release code branch uses one version (7.0.13.220) and our vNext branch uses another version (7.0.13.228).  This keeps me from using the designer in visual studio in one branch or another depending on what version of reporting I have installed.  Is there anyway to make this work?
IvanY
Telerik team
 answered on 27 Mar 2013
2 answers
140 views
Hi Telerik,

I am using reporting, Since upgrading to version 7.0.13.220 some of the export to PDF reports are looking terrible.

I have attached an example.

'Shape1
        '
        Me.Shape1.Location = New Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Pixel(0.0R), Telerik.Reporting.Drawing.Unit.Pixel(41.0390625R))
        Me.Shape1.Name = "Shape1"
        Me.Shape1.ShapeType = New Telerik.Reporting.Drawing.Shapes.PolygonShape(4, 45.0R, 0)
        Me.Shape1.Size = New Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Pixel(83.149604797363281R), Telerik.Reporting.Drawing.Unit.Pixel(83.0R))
        Me.Shape1.Style.BackgroundColor = System.Drawing.Color.FromArgb(CType(CType(154, Byte), Integer), CType(CType(180, Byte), Integer), CType(CType(198, Byte), Integer))
        Me.Shape1.Style.BorderColor.Default = System.Drawing.Color.White
        Me.Shape1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(0.0R)
        Me.Shape1.Style.Color = System.Drawing.Color.White
        Me.Shape1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(0.0R)
David
Top achievements
Rank 2
 answered on 27 Mar 2013
1 answer
6.2K+ views
Hi,
             I know that Zoom Mode and Zoom Percent are now obsolete and  only worked on IE but I am trying to find a way around this situation that I have.

I have a multi column report that has to be displayed in print preview mode so that the columns render correctly (known limitation of Web Viewer). The problem is that this is an A4 landscape report and my site has to have a fixed width that is less than the print preview width for the report. 

This means that the print preview has to be scrolled horizontally to view the whole report which is less than ideal.

Is there any way to fit the print preview to the viewer size?

Thanks

Chris
IvanY
Telerik team
 answered on 27 Mar 2013
1 answer
265 views
An error has occurred while processing PictureBox 'pictureBox1':
Invalid image data.
------------- InnerException -------------
Access to the path {Path} is denied.

***************

I am passing a datafield with the path for the image.  Sometimes the image path will be blank.  I don't want the error to displayed in the browser.  

For TRDX file, is there anyway to suppress this error.
IvanY
Telerik team
 answered on 27 Mar 2013
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?