Telerik Forums
Reporting Forum
4 answers
178 views
Hi,
I want to set instance report to textbox.itemdefinition.action from itemdatabound event in telerik report. Plz provide solution.
Regards,
Aditya
Elian
Telerik team
 answered on 12 Mar 2013
1 answer
178 views
Hi,

I've been trying to set up Reporting to work with my current OpenAccess models but I'm stuck. When I try to add a new OpenAccess data source, I can't find the Npgsql provider in the list (already added reference and restarted), neither anything related to my model (added references to it and OpenAccess namespaces). Tried to paste the connection string anywhere I could and also copy App.config file.

I know that probably I'm missing something obvious, but I couldn't find anything recent related to Reporting + OpenAccess with Postgres.

Any help would be much appreciated.

Thanks
Peter
Telerik team
 answered on 12 Mar 2013
1 answer
195 views
Hi team,
I wanted to know which would support better performance sql data source or object data source while creating reports using the reports tool.
and i want to know if there any differences or restrictions between them in the reporting tool.
Peter
Telerik team
 answered on 12 Mar 2013
6 answers
137 views
I have this crazy crazy report that is ported over from SSRS and I have allot of memory issues do the the number of elements on the report.

There are an infinite amount of accounts that have a user defined order.
Each account is a different type and has a very different layout of its content
Each account can span multiple output tables (AccountType #3 outputed in Table03 then Table07, #4 = Table02, 05 and 06)

The report works but it consumes allot of processing memory.
Each of the tables have a binding "DataSource=ReportItem.Parent.DataObject" and has Table.Filters as well as Row.Filters
Each table consts on average 20 columns and 10 rows.
Within the table ItemDataBound event I can see that each Processing.ReportSection of Group2 contains a full stack even though most of the tables are empty.   Using reflection I can purge empty tables from the ReportSections.items collection in the Group2 ItemDataBound event.  Doing this during the Table ItemDataBound event causes an error in the "ReportSectionBase.ProcessItem().items" enumeration.

The size and complexity of the tables cause an enormousness amount of processing elements. 
The processed report size is 48mb, but the processing memory is around 450mb.
If I remove the PageCount the report jumps down to 35mb and the processing memory drops to 350mb.



[PageHeader]
[Group1] - static group "=True"
  - SubReport - used for static subHeader
[Group2] - loops about 20 - 40 account types
 - Table01
 - Table02
 - Table03
 - Table04
 - Table05
 - Table06
 - Table07
 - Table08
 - Table09
 - Table10
[DetailSection] - empty/hidden to push iteration of group content
[Group2-footer] - hidden
[Group1-footer] - hidden
[ReportFooter] - FootNotes
[PageFooter]
Steven
Top achievements
Rank 1
 answered on 12 Mar 2013
5 answers
722 views
Hi,

I am trying to use custom indentation for the value of a TextBox control but the value gets automatically trimmed. 

i.e. if i use the following expression no leading spaces are displayed.

= Space(CInt(CInt(Fields.Level) * 10)) + Fields.Text 

I also tried using a user function with the same result. 

Can i prevent this trimming behavior? 

thanks.
Elian
Telerik team
 answered on 11 Mar 2013
3 answers
184 views
Is anyone else having this issue? I have a Wpf application that uses the Wpf ReportViewer, and when a report is loaded and you go to select a format for export, nothing appears on the screen (see the screenshot). However, if you click on the export drop-down's down arrow (and nothing appears) and press the up or down arrows followed by the enter key, the export begins and takes you to the file save screen. (If you know where the desired format is in the list and repeat this enough, eventually you get the format you desire.) If you click on the export drop-down's down arrow and never press the enter key, the application appears to be frozen.

The application is running in .Net 4.0 and uses Telerik Windows Controls 2012.3.1129.40 and Telerik Reporting 6.2.13.110. I had this problem a version or two ago and resolved it with an internal build, but now it's back. Help!
Chavdar
Telerik team
 answered on 11 Mar 2013
3 answers
53 views
Hi there, as the title says, I have a report with many records, as you can see in the page, but I can not seem to share the report header with the detail section even when there's still space available(the header prints in one entire page all by itself) I set the property "KeepTogether" to False. For every object that has that property (Textbox, Panel, List, Groups). thanks in advance. I attaching the pages as individual files. thanks!
Elian
Telerik team
 answered on 11 Mar 2013
3 answers
142 views
Hi,

Find the Screenshot for My report structure.
My Report is in seperate Class Library.

In my XAML.cs

using System.Collections.Generic;
using System.Linq;
using Telerik;
using Telerik.Reporting;
 
namespace MyReport
{
    public partial class MainWindow
    {
        public MainWindow()
        {
            InitializeComponent();
 
            var project = new List<Project>();
 
            var pro = new Project {Name = "Name One", Nos = new List<int> {1, 2, 3, 4, 5}};
            project.Add(pro);
 
            pro = new Project {Name = "Name Two", Nos = new List<int> {1, 2, 3, 4, 5}};
            project.Add(pro);
 
            var reportSource = new InstanceReportSource {ReportDocument = new SampleReport()};
            reportSource.ReportDocument.Reports.FirstOrDefault(rep => rep.Name == "SampleReport").DataSource =
                project;
            reportViewer1.ReportSource = reportSource;
        }
 
        private class Project
        {
            public string Name { get; set; }
            public List<int> Nos { get; set; }
        }
    }
}

I know that problem is with my bindings.

I have attached my output also.
Please let me know the soultion for my problem.
Hadib Ahmabi
Top achievements
Rank 1
 answered on 11 Mar 2013
11 answers
2.0K+ views
Hello,
I successfully can bind data elements to the detail section of my report but not to the page header.  When I try to bind:
=First(<columnName>)
in the page header and run the report, I get a 'Column <columnName> does not belong to the table' error.

However, I can drag that textbox to the details section and it works.

What am I missing here?
Thanks - Justin
Hadib Ahmabi
Top achievements
Rank 1
 answered on 11 Mar 2013
3 answers
1.9K+ views
Hi,

I have some columns say sales tax,amount,reimbursable(boolean flag). Now at the end I need to display the totals of amount whose reimbursable flag='True'.
for eaxample there are 10 rows out of which 5 rows have only reimbursable flag='true' then i need to display the amounts total only for those 5 rows. please help me in regarding this.

regards
sharan
Hadib Ahmabi
Top achievements
Rank 1
 answered on 11 Mar 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?