Telerik Forums
Reporting Forum
3 answers
196 views

Hi,

I have a requirement to generate a report for badges of attendees for a conference.

The requirement calls for an A4 print out of 4 badges in a 2x2 grid, so that each bade is effectively A6 size.

There is an additional requirement to have a single attendee details repeated per row.

Do you have any pointers as to the best way to achieve this?

e.g.

<pre>
---------------------------
| Atendee 1  | Attendee 2 |
| Details    | Details    |
|            |            |
---------------------------
| Atendee 3  | Attendee 4 |
| Details    | Details    |
|            |            |
---------------------------
</pre>
 
and
 
<pre>
---------------------------
| Atendee 1  | Attendee 1 |
| Details    | Details    |
|            |            |
---------------------------
| Atendee 2  | Attendee 2 |
| Details    | Details    |
|            |            |
---------------------------
</pre>

 

 

Stef
Telerik team
 answered on 11 Nov 2016
1 answer
699 views

Hi

 

I am trying to only show a section on the last page of my document using the PageNumber = PageCount expressions. However it only seems to work in the page footer and header.

 

I have seen other people run into this issue before on your other forums. Was wondering if there has been an update or a fix i can implement myself.

 

 

Any help would be much appreciated.

 

Regards,

Sam

Katia
Telerik team
 answered on 11 Nov 2016
14 answers
1.1K+ views
Hello,

I handle user inputs thru combo box and construct SQL based on the combo box selected values and create dataset and assign it to the report.

When I call the reports first time, it shows the values correctly.

When changed the values of combobox, it displays the report for previously seleted value of the combobox. This behavior is quite consistent.

I check few values during the page load event and based on that i call a function to generate SQL and call report using new report().

Is it a caching issue? How can this be solved?

Thanks
Sundar
Stef
Telerik team
 answered on 11 Nov 2016
5 answers
855 views
Hello,
  •  When i generate report in the Report viewer and close that page.
  •  When i reopen the page, it shows me the last created report. I want to refresh the
          report viewer on page_load().



Thanks,
Jaspreet.

Stef
Telerik team
 answered on 10 Nov 2016
7 answers
419 views

Hello,

I have an object data source pointing at a of List<DynamicJsonObject>. The problem is that the report throws an error when I reference a field name because it doesn't think the field exists. So, if I create a textbox and do "=Fields.LocationName", it gets an error when I preview it. However, this code works:

private void detail_ItemDataBound(object sender, EventArgs e)
        {
            var detail = (Telerik.Reporting.Processing.DetailSection)sender;
            Telerik.Reporting.Processing.TextBox txt = (Telerik.Reporting.Processing.TextBox)Telerik.Reporting.Processing.ElementTreeHelper.GetChildByName(detail, "txtLocationName");
            var data = (dynamic)detail.DataObject.RawData;
            txt.Value = data.LocationName;
        }

 

This is presumably working because I can cast the raw data as dynamic. 

I'm not wedded to this way of doing this, but I do need a way to report on json data. Is this possible?

Thanks.

 

Katia
Telerik team
 answered on 10 Nov 2016
3 answers
107 views
i have 2 panel , when one of them is invisible the space of the panel appear and not remove , i need to remove the space of invisible panel 
Stef
Telerik team
 answered on 10 Nov 2016
1 answer
210 views

Hi All

 

I am looking for a way of creating a report that looks like the multimonth view on the calendar control for winforms, where i can highlight certain days if they meet criteria.

The report is showing the whole year like a multimonth view and for a specific employee, with specific dates having a different background color if the employee had a sick day off or some other type of non productive day.

It is for a customer of mine so they can see if there is a pattern to employees taking sick days off (eg mostly Fridays).

 

Cheers

 

 

Ade

Katia
Telerik team
 answered on 10 Nov 2016
2 answers
181 views
Hello.  It's possible to use reporting under asp.net core, MVC 6 and EF Core?
Louis
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 09 Nov 2016
1 answer
816 views

Hi,

Having example data described in parent_child_01.png (attached to this thread). I'd like to display this data ina parent/child way. Check parent_child_02.png, there are a subset of fields from the example data grouped on fields ProjektNr and Aktivitet. When clicking the + sign I'd like to expand the rest of the data belonging to current ProjektNr and Aktivitet like in parent_child_03.png.

How do I accomplish this. Been tryin around without success. Should I use a table, a crosstab, subreports??

Best regards,

Thomas

Stef
Telerik team
 answered on 09 Nov 2016
1 answer
742 views

Hi, 

I have a table like this 

name             category     quantity

apple                 fruit            3

banana              fruit            4 

broccoli         vegetable       2

oats               cereals          40 

chicken            meat            9

spinaches     vegetable       9 

I want to have a total based on category, like this:

fruit              7

vegetables   11

cereals         40

meats            9

 

Now I'm doing it with IIF, but I have dozens of categories.

 

 

 

Katia
Telerik team
 answered on 08 Nov 2016
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?