Telerik Forums
Reporting Forum
5 answers
776 views
I have a report that has two subreports aligned side by side. I need to make both subreports have the same height, preferentially, that they occupy the complete detail, until pagefooter's start, so, even if there aren't enough items in the subreport, the lines must reach the footer.
The subreports have different tops, so I can't set the exact same height for both.
 
To guarantee that the subreport header is shown on every page, I've inserted a subreport inside the subreport. Furthermore, I've added a panel in the detail of the subreport that has the column's header and I've inserted the nested subreport inside this panel. The panel also contains a shape component of vertical line type, because, as I have said, I wanted to make the margins of the subreport and its columns to grow on every page until they reach the footer.
 
Attached there are two prints of the desired layout.

Is there a simple way of doing that?
Would you, please, send me a sample code of how this could be done?
 
Best regards.
Stef
Telerik team
 answered on 05 Jun 2015
1 answer
97 views

Hi,

 I'm trying to use the HTML5 Report View Widget with the Report Server in Eclipse.  

 Below is my configuration of the widget. When the page is run, it gets the client id, but fails on trying to get the parameters. I get the error: Unable to get report parameters:
Report 'ReportTemplate.trdx' cannot be resolved.

How should I specify the report source so that I can access it outside of the telerikreportserver application?

 I think my problem boils down to I need to use a report template from ReportServer for the report parameter in reportSource.  I have a template successfully loaded into the ReportServer that I can view, I just want to access it with the javascript in my Report Viewer widget.  Could it simply be a problem with the file path I'm using or are there more steps involved? 

serviceUrl: "http://localhost/telerikreportserver/api/reports/",

templateUrl: 'telerikReportViewerTemplate-9.0.15.324.html',
reportSource: {
}

Stef
Telerik team
 answered on 04 Jun 2015
3 answers
320 views

Hi,

 I'm trying to use the HTML5 Report View Widget outside of the Report Server Application.

Below is my configuration of the widget. When the page is run, it gets the client id, but fails on trying to get the parameters. I get the error: Unable to get report parameters:
Report 'ReportTemplate.trdx' cannot be resolved.

How should I specify the report source so that I can access it outside of the telerikreportserver application?

Thanks!

templateUrl: 'telerikReportViewerTemplate-9.0.15.324.html',
reportSource: {
   report: "ReportTemplate.trdx",
}

Stef
Telerik team
 answered on 04 Jun 2015
1 answer
115 views

Hi,

I using 8.2.14.1204 to create reports that displays data in pie charts. If there are lots of thin wedges, the labels over lap. see attached.

Is there anything I can set to prevent this?

 TIA 

 Matt

Stef
Telerik team
 answered on 04 Jun 2015
2 answers
194 views

Hi guys, 

I know this has been asked in different ways before but what I'm looking to do is dynamically assign a reports datasource at runtime. Within this report will be a subreport, generated for every record of the datasource.

So my example would be by having a absence report for employees. The parent report will be bound to a list of employee object, in which there will a list of absences of type absences. This list is what I want to bind to a sub report. (see code below)

I've been going through a couple of other similar question on here and trying to figure out the best way.  

What I have is a sub report with the bindings 

Property Path                        Expression

DataSource                            =ReportItem.Absences

I found the documentation a little unclear in what is the datasource is and what is the properties being displayed. So any and all help is greatly appreciated.

 

public Class Employee{
public string EmployeeName {get; set;}
public string EmployeeNumber {get; set;}
public List<Absence> Absences {get; set;}
}
 
public Class Absence{
public DateTime AbsenceDateFrom{get;set;}
public DateTime AbsenceDateTo{get;set;}
public string AbsenceReason{get;set;}
}

Will
Top achievements
Rank 1
 answered on 04 Jun 2015
4 answers
154 views

The documentation for reporting helps you to configure reports for MVC 4. Will someone give me instructions for setting up my MVC 5 project. I tried following the instruction for MVC 4 but am getting reference errors for assemblies that are not defined.

 

Thanks in advance.

Stef
Telerik team
 answered on 04 Jun 2015
4 answers
281 views

I have multiple reports which I have built that I accidentally removed the headers.  I would drag the table onto the report body, and fill in the detail section with fields.  I would then add a group above, add another group above, etc.  Finally, there was an open row at the top which was not needed so I deleted it.  I now realize that this was the header.

 I want my headers to repeat on each page of a report that spans more then one page.  But the 'RowHeadersPrintOnEveryPage' isn't functioning.  I think this may be because I had removed the table header row on accident.

Does anyone know how to fix this?  Can I set a property to make a certain row the header?  Do I have to completely re-build?

Any help is greatly appreciated.

Phil
Top achievements
Rank 1
 answered on 03 Jun 2015
9 answers
526 views
I'm using Telerik Reporting 7.0.13.220.

When I create an HtmlTextBox on a report and set the CanGrow property to true, it will output the following HTML/CSS in the web viewer:

.s6 {font-family:Segoe UI;font-size:11px;color:Black;word-wrap:normal;white-space:nowrap;padding-left:0px;padding-right:1px;padding-top:0px;padding-bottom:-2px}

<div title="" class="commsHtmlBox s6" style="position:absolute;overflow:hidden;left:634px;top:69px;width:363px;height:77px;">
  <div class="html-root" style="margin-top:0px;">
    <p class="s1">content</p>
  </div>
</div>

When the white-space attribute is set to "nowrap" longer lines in the HtmlTextBox are cut off and do not display properly.  When I remove the white-space attribute using Chrome's developer tools, the content displays correctly.  Since this CSS is coming from an .axd request and is generated from the web viewer's iframe, I cannot override this value.  Is there a workaround for this?

Stef
Telerik team
 answered on 02 Jun 2015
4 answers
407 views

Hello ,

While creating a report we are using Font style to create a smiley but it's not working for the first data. it's working for other data.

we are  using

  public static void SetGradeConfiguration(ref Telerik.Reporting.Processing.TextBox textBox,Organization organization)
        {
            textBox.Style.Font.Name = "Lean Symbol";

------------

to apply a font style. please reply ASAP. and please check attached image

Nasko
Telerik team
 answered on 02 Jun 2015
5 answers
592 views
Based on one field in report i need to make visible/caluculate the values of other dependent textboxes.
So for this what i have done is Created a custome function.
eg: public static string Test(int idPt)
{
//Logic
if(idPdt==1)
{
textbox2.Value="test2";
textbox2.Visible=true;
}
if(idPdt==2)
{
textbox3.Value="test3";
textbox3.Visible=true;
}
else
{
textbox2.Visible=false;
textbox2.Visible=false;
}
}
But i am not able to access any of the report items in this function. when i remove static modifier for the method then all the items are accessible.

How to acheive this in Telerik Reporting?

Nasko
Telerik team
 answered on 02 Jun 2015
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?