Telerik Forums
Reporting Forum
1 answer
436 views
By going into the SqlDataSource item in the Toolbox, I can "edit" an existing data source.

However, you select the existing datasource and it provides a blank query. I would like to, from time to time, alter the query. It seems like I have to recreate it. That is not unmanageable, but it would be nice to be able to alter data parameters and preview the impact on the report.

Am I missing something?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 09 Apr 2013
1 answer
102 views
Hi, is it possible to export/load template files by code as it could be done with  the Report Designer?

My version is 2013 Q1. 

Cheers

Elian
Telerik team
 answered on 09 Apr 2013
1 answer
162 views
Hi,

I have one doubt,

I am using  telerik reporting version 6.1.12.820.
i have one subreport and one main report. subreport to binding the main report. i am using code below,

  Telerik.Reporting.SubReport subReport2 = (Telerik.Reporting.SubReport)poReport.Items.Find("subReport2", true)[0];
  subReport2.ReportSource.DataSource = pMaster;

it will show error, ('Telerik.Reporting.ReportSource' does not contain a definition for 'DataSource' and no extension method 'DataSource' accepting a first argument of type 'Telerik.Reporting.ReportSource' could be found (are you missing a using directive or an assembly reference?).


Advance Thanks

Stef
Telerik team
 answered on 09 Apr 2013
4 answers
75 views
The general-purpose, stand-alone designer allows a user to choose from all of the possible data sources: SQL, Cube, Object, Entity, and OpenAccess.

I've been creating a custom data source which extends ObjectDataSource, and all reports that a user would use with my tools would be based on this component, and no other.

I'd like to see config-file options that allow us to eliminate the default Data Sources from the UI, and replace them with options which we provide. So for example, under <AssemblyReferences> perhaps we could include an assembly that conformed to an API defined by Telerik, which defines all Data Sources. The code in there might do something like this:

[DataSourceExtender]
public void ModifyDesignerDataSources(Context context) {
  DesignerDataSources sources = context.getDataSources();
  sources.clear();
  sources.add("My Source", "myNameSpace.myClassDerivedFromDataSource");
}


With that, my designer users would never see a SQL data source, for example, they'd only see my source(s).

Does this have any merit?

Thanks.
TonyG
Top achievements
Rank 1
 answered on 08 Apr 2013
4 answers
119 views
In Visual Studio, create an ObjectDataSource, go through the wizard, enter parameters for reporting and then for the designer.
To change the reporting parameters, go to the Properties container and you'll see them.
To change the designer parameters, you need to right-click the designer icon, open the context menu to Configure, then go through the wizard to get to the last page.

That's a bit of a hassle. Can the Designer-mode Parameters be added to the Properties page, with "Parameters" re-defined as "Run-time Parameters"?

In code (designer.cs), I don't see where the designer-mode parameters are stored at all. I'd guess this is why they aren't available under Properties. :)

Where is that data stored, and why does this need to be such a mystery?

Thanks.
TonyG
Top achievements
Rank 1
 answered on 08 Apr 2013
1 answer
1.1K+ views
Hello,

I am rendering data dynamically and second page is coming blank. first page is having full data to occupy whole detail section of first page. I gave borders of footer, detail section, report table. but nothing is falling on second page.

But when records are less( up to half full or less than full of detail section of first page), it fits in one page only.

Please help.

Let me know if more info. is required.

Regards,
Manish
Petio Petkov
Telerik team
 answered on 08 Apr 2013
3 answers
163 views
I have the following code

aTable  as datatable = {getting some info}
Areport as new contactreport
Areport.datasource=aTable
Aviewer.report=Areport


There are two problems i found
1.I have showZoomSelect as true but no option for zooming
2.in the report itself, during detail_ItemDataBound, I have 

PictureBox17.Visible = False

the preview doesn't go there for the 1st row

but the printout (PDF) is fine

any suggestions?

Stef
Telerik team
 answered on 08 Apr 2013
3 answers
199 views
I understand that templates are new, and I thank Telerik for this welcome addition to the stand-alone designer. Here are a couple new ideas for consideration:

1) It doesn't look like there is a way to generate a .trtx via code. Until this changes, the process for deployment of new reports is similar to what it used to be: Load the report into the designer, export as template, then distribute the templates. Might there be a way to generate a TRTX from the command-line using an existing TRDX? Or perhaps even from a DLL with an embedded report?

2) In the designer, go to File>New and you see the list of Available Templates. Great. But close all documents and start on the Welcome page. Click New and there's no option to create a new report based on an available template. And click Open and there's no way to open an existing template. Given the plentiful amount of space on the Welcome page, I'm hoping a New from Template option can be added, and perhaps a Open Template option. As to what "opening a template" actually means, I'm thinking this would mean opening a template for modification, rather than creating a new report from a template, and then re-saving that with mods on top of an existing template. It's seems more elegant simply to open/save any given template.

3) The Recent Documents list doesn't include templates. It would be nice to be able to click a recent template to open it and create a new report from it.

4) Related: I think it would help if "Clear Recent Documents" gets changed to "Clear Recent Reports", and a new label button get added for "Clear Recent Templates". I can easily see someone wanting to remove all of the recent reports from the list without having to lose their recent templates from which they would create new reports.

Thanks.
Elian
Telerik team
 answered on 08 Apr 2013
2 answers
103 views
I have a report where I use shape objects (in this case lines) to visually separate items. I export to PDF immediately.  attached are screenshots before and after upgrade of the reporting components.  The report still  looks the same in the designer with the lines placed correctly.  Can you tell me what is going on? thanks.
Petio Petkov
Telerik team
 answered on 08 Apr 2013
3 answers
554 views
Hi everybody,

I have problem to make a report that my boss ask me to do.

It comprises 4 groups, the detail section, and the groups footers.

Into the detail section, there are a lot of textboxes whose values are calculated with expressions like this :

IIf(BooleanReturnedByAUserFunction(string field), aFieldOfDataSource, "+0")

The group above of this detail section comprises the same organisation of textboxes that the detail section.

Into these texboxes, I have to calculate the sum of the calculated fields of the corresponding textbox in the detail section.

It is possible with Telerik Reporting ?
If yes, i would be very grateful if you could help me.

Thanks and nice day.


Hadib Ahmabi
Top achievements
Rank 1
 answered on 08 Apr 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?