Telerik Forums
Reporting Forum
1 answer
93 views
I'm trying to create a drop-down list of values to be used as a report parameter.  These values need to be created programatically at runtime since they are not being retrieved from a database.  I would like to have the same functionality as if this list was being retrieved from a database (i.e. drop-down list of checkboxes to select one or more items, the "select all" option, etc.)

How can the above be done?

Thanks,
Rob
IvanDT
Telerik team
 answered on 26 Aug 2011
1 answer
565 views
I realize this is jumping into the deep end early but I have just started using Telerik reporting to replace a Crystal Report that I was generating for my company based on an Access database.  Our current infrastructure is set up using an individual Access DB per project so the data binding must be accomplished at run time. In CR, I could simply create the report with no datasource and at run time bind the datasource using

crComCheck1.SetDataSource(dgvComCheck.DataSource)

To mimic this functionality, I have created a Telerik report with an ObjectDataSource.  This ObjectDataSource has its DataSource property set to an xsd dataset that I have defined in my Visual Studio project with the column structure that I desire.  In doing this, I am able to set up a report with the column structure that I would ultimately like to see produced with an object to bind to at runtime.  In code, I am binding this datasource to a datagridview using 

TrComCheck1.ObjectDataSource1.DataSource = dgvComCheck.DataSource

When I go to the Telerik report viewer and refresh the report, it properly pulls all of the columns and row data that I want to see but produces a table for each individual record in the dataset.  So if there were 4 records in the dataset, there would be 4 tables each with the 4 correct records. I was wondering if you could offer some guidance as to why it was behaving in this fashion. Thank you.
Peter
Telerik team
 answered on 26 Aug 2011
4 answers
94 views
Hello,

We are facing problem in Excel Export and giving message 

Attempting to get range {3,21}-{7,1},Merged=False,Parent=rptSummary[0], that intersects with an already merged range.

We have noticed that there is a textbox, causing problem if we reduce the width below  0.34in then it throw error otherwise not. Please confirm if there is any limit that textbox width cannot be less than this.

Version: 2010.3 1221

Thanks,
devoas,




Peter
Telerik team
 answered on 26 Aug 2011
0 answers
65 views
Hi,
    I am using telerik report new version for dynamic generation of report.but I am getting problem that width of header and footer is greater than main column width(total number of column).also I have taken width of each column from user. 
If you have any solution then help me.
thanks in advance.
Chetan
Top achievements
Rank 1
 asked on 26 Aug 2011
4 answers
440 views
Hello,

I have a subreport that lists "sponsors" of a record in the primary report. I'd like to have the first row in the subreport start with "Sponsors:" and then have the list. I want something like this:

Sponsors:      Bill
                      Joe
                      (Etc.)

I thought I could do this by having a boolean "FirstRow" and set it to true during initialization, then while the text box is binding, do .Visibile = FirstRow, then FirstRow = False. This works, but only for the first instance of the subreport in the main report. Apparently the subreport is not initialized for each primary record or something...

Anyway - does anybody know how I'd go about achieving that kind of behavior?

Thanks,

Mike
Mike
Top achievements
Rank 1
 answered on 25 Aug 2011
1 answer
1.4K+ views
Hi,

I am attempting to create a Console Application to schedule the creation of reports programmatically.  I found your example for creating PDF-files that seems easy enough.

I added a reference to Telerik.Reporting.  I also added "using Telerik.Reporting.Processing;".  Visual Studio 2010 intellisense seemed to accept the syntax and I was presented with intellisense "period-alternatives" (and no squiggly red underlines).

However, when I then attempted to build the project, I received the following error-message:
"The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)"

Versions:
Telerik Reporting Q2 2011
Visual Studio 2010 (SP1)
.Net 4.0

Questions:
1. Are there known "issues" using Telerik Reporting with Console Applications?
2. Where else could I possibly reference the Telerik dll?
3.  Since this is a very common need, could you provide sample code for a Console Application?

Thanks in advance!

Roman
Top achievements
Rank 1
 answered on 25 Aug 2011
0 answers
86 views
Hi,

For my report the content of each page has to be in a box. The size of the box will be fixed, it will be like an outline for the report. The content inside will change or might be blank depending on the data. For that I am trying to use a panel in the detail section with border. The default borderwidth is 1pt, which is very thick. Can I reduce the borderwidth? And also for a line shape, I am not able to reduce the width less that 1pt. Is this a correct approach to have a panel for a box outline in the report? When I saw the demo, Dashboard report has 3 tables like that with header but in video it does not show how it got created. This might be a very small thing but any of the documentation has also not explained how to do that. Will it be possible to get the Report Source files for these demo reports so that I can see the properties in Report Designer. I am using Q3 2009 version of Telerik Reporting.

Thanks
kachy
Top achievements
Rank 1
 asked on 24 Aug 2011
3 answers
162 views
Hi

I have to create a report where all the tables and pie charts have to be created dynamically. i.e. the number of tables and pie charts depend on the data received to the report. So, at design time i cant create the controls. Please let me know how do i create them dynamically.

Thanks in advance
Ravindra
Peter
Telerik team
 answered on 24 Aug 2011
1 answer
174 views
I am using the report viewer in RadPane (ASP.Net ajax) and the scroll bars are not showing up in the viewer...

Everything is fine except that... Do you have an idea?

Thank you

Alex Bouchard
Dobromir
Telerik team
 answered on 24 Aug 2011
3 answers
57 views
Hi,

I recently upgraded our reporting tool from Q1 2010 to Q2 2011, and some reports work fine, but others generate an error when re-run. The first time they are run, they work correctly.  They also work consistently from testing within the report assembly / dll.  I'm using the following:

VS.NET 2010 / ASP & VB.NET
SQL Server (2005)
Telerik Reporting 5.1 (5.1.11.713)
Telerik RadControls 11.2.712.0

I've tried everything I can think of, and I haven't figured out what the difference is with the reports that are failing, except they are all in the same assembly.

Thanks in advance,
Ed N.

Ed
Top achievements
Rank 1
 answered on 24 Aug 2011
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?