Telerik Forums
Reporting Forum
2 answers
255 views
Hi Guys

I saw the below link

http://www.telerik.com/help/reporting/m_telerik_reporting_processing_tablerow_getcell.html
I am able to access my dynamic table cell values but how to modify cell values

in C#
Telerik.Reporting.Processing.ReportItem item = cell.Item;
//(In cell.Item i can see html text box values)
//How to modify my dynamic TextBox Values


Thanks
Senthil
Sentil
Top achievements
Rank 1
 answered on 12 Nov 2013
3 answers
143 views

Telerik Version: 6.1.12.820

 

 


Hello,

I have a major issue with some of the subreports coming in as white space (not a blank table).

We have a win form with 2 telerik reportviewers stacked ontop of each other.  One displays the individual mainpage + subreport combo while the other loads all the combinations of the main page + subreports (about 100 or so, totaling 350 pages (abouts), this one uses the ReportBook concept).  We do this because we need to be able to preview the reports while the large report is building since it takes anywhere from 3-20 mins.  And once it's completed we hide the single report viewer and show the one with all the reports.

All this was working fine but in the last few days it has been displaying blank subreports on both the large report and the single report, not necessarily the same subreport.

<Summary>

I have 1 main report with an empty detail section.  I have a subreport with a table in it (blank).  At runtime I basically stuff the subreports in the main report.  All this is working fine except as of lately, several subreports are coming up as white space.  I mean, you see the main pages header and footer, but where the detail is, it's all white. 

Now to take this a step further, if you save as pdf, some of the subreports are white spaces, not necessarily the same ones that are blank in the viewer.

this is basically what I do:

 

                    foreach (...)
                    {
                        var genericSubReport = new GenericSubReport(data, title);

                        Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();

                        instanceReportSource.ReportDocument = genericSubReport;

                        //use w/o subreports defined
                        Telerik.Reporting.SubReport subReport = new Telerik.Reporting.SubReport();
                        subReport.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(subReportDefaultLocation), Telerik.Reporting.Drawing.Unit.Inch(currentLocation));
                        subReport.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(subReportWidthSevenPointNine), Telerik.Reporting.Drawing.Unit.Inch(subReportSpacer));
                        measureReport.Items["detailSection"].Items.Add(subReport);

                        subReport.ReportSource = instanceReportSource;

                        subReportIndex++;
                        currentLocation += LOCATION;
                    }

The subreport itself, builds the table in the code behind.  We do all this becase it was either design 100+ reports or use a dynamic model.  Other thing to note is the subreports do not use the NeedDatasource but do use the ItemDataBinding.

</Summary>



Stef
Telerik team
 answered on 11 Nov 2013
2 answers
193 views
The toggling works.  I'm just doing grouping and putting the action toggle visibility on a textbox in the group header and the toggle targets are the groups below. (I'm not using a table or crosstab).   It's just always expanded initially.  If I check the Initially expanded all it does it change the + to a - but all the detail items or group below items  are still displayed.  I think I'm missing something.

This report is very basic
Group 1 -- Year
Group 2 -- Month
Details -- Day  Data1 Data2 Data3

I have toggle vis on group 1 and group 2
danparker276
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
55 views
hi

while designing the report an error message appears, and the program shuts down. How to troubleshoot this problem?

program bug screenshots;
http://prntscr.com/22jxwy
http://prntscr.com/22jy0k

my system;
http://prntscr.com/22ol75

Thanks.
Ivan Hristov
Telerik team
 answered on 11 Nov 2013
3 answers
278 views
Dear experts

Is there anyway to set the default path for Save As dialog during Export in Wpf Report Viewer?

Thanks
tungngie
Stef
Telerik team
 answered on 11 Nov 2013
3 answers
648 views
Hi,

I would like to programmatically do an export of my multi-paged report to PNG format, i.e. the end result should be 3 PNG files for a 3 paged report and so on. Is it possible to do this? And can I specify the filenames for each file programmatically or is it auto-generated? The whole process should be transparent to the end-user, i.e. I do not want the end user to click on the Export button and type in the file name in the File Dialog that pops up. Instead the program should do an auto-export to the required format and use names such as "Report1_pg1.png", "Report1_pg2.png" etc... Hope you can help me on this. Thanks.
Nasko
Telerik team
 answered on 11 Nov 2013
1 answer
232 views
Hi,
I am working with the integrated tool in visual studio. The attached picture shows a report where I have set the margins left and right= to 1 cm.
My understanding is that, in order to get it printed correctly, no controls or images should stay out of those margins.
The problem is that I clearly see the red line indicating the margins on the right and therefore I can manage to position the elements of the report on its left but the margin on the left side of the report (red line) is not showing correctly as it is on the edge of the report and not 1 cm inside as it should be.
Is this a bug or there is something I am missing?

Moreover, knowing that I will set the side margins at 10mm from left and right, should a give the report the total dimensions of the paper size less the margins ( A4= 210 mm, margins 10+10, report width= 210-10-10=190 mm)?
Or there is another way to handle this ? 

Peter
Telerik team
 answered on 11 Nov 2013
5 answers
313 views
Greetings

This concept should be straightforward; however, I have not been able to see it in the documentation.

How do I add Report-Book navigation based on the reports dynamically added to the Report Book. I want a navigation similar to the demo page - http://demos.telerik.com/reporting/report-book/demo.aspx

I do not need document-map, rather just links that will enable me to navigate from report to report, once the report book has been dynamically created.

Please advise
Thanks
Nasko
Telerik team
 answered on 11 Nov 2013
1 answer
89 views
Hello,

Still testing Telerik reporting. I tried to use an ObjectDataSource to reuse the repository layer of my application.

So I added a reference to my project from the Report project. Everything was fine until I had to signed the Repository assembly in my solution.

I tried to signed as well the TelerikReports assembly but it's still not working.

I double check if there was an x64 or x86 issue but all assemblies in my solution are built against AnyCPU.

Is there any known restriction by using signed assemblies in the designer?

EDIT1: Forgot to mention that I also installed the DLL in the GAC.

Pierrick
Peter
Telerik team
 answered on 11 Nov 2013
7 answers
550 views
I need to exec a stored procedure. Some of the parameters are strings (but can also be null) and need to have this format: < 'IntVal1,IntVal2,IntVal3' >.
IntVals are basically city IDs.
I managed to format them with Join function:  Join(",",Parameters.Cities.Value).
The problem I'm facing is when the parameter City is null (I sometimes need it to be null). The Join function outputs an error in that case. To avoid calling the Join function when the param City is null I tried the following:
@queryParamCity   =   IIf  (Parameters.Cities.Value,  Join(",",Parameters.Cities.Value),  null)
or
@queryParamCity   =   IIf  (Parameters.Cities.Value IS NOT null,  Join(",",Parameters.Cities.Value),  null)
or 
@queryParamCity   =   IIf(Parameters.Cities.Value is null,null,Join(",",Parameters.Cities.Value))
.....but the Join function is still being called even if the City parameter is null, so it generates an error and the execution is stopped.

So, no matter what is the value of the expression, the other two member of the IIf function are called.
Gaurav
Top achievements
Rank 1
 answered on 11 Nov 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?