Telerik Forums
Reporting Forum
2 answers
92 views
In preview my report look fine but when  i print the  report the margins (left and top)are missing and a field (3 red arrow) are also missing.

Any idea?

Thanks

Claudiu

p p
Top achievements
Rank 1
 answered on 19 May 2011
1 answer
197 views
I am experiencing issues while trying to add a EntityDataSource to a report:

Method 1:
1) Opened a new VS2010 project of "Class Library"
2) Added a new "Telerik Report Q1 2011" item to the project, and cancelled the Report Wizard
3) Added a new EntityDataSource from the toolbox
    a) On the "Choose Your Data Connection" screen, selected "Specifiy a new connection string" and added the following to connect to a simple database on my local installation of SQL 2008: (See attached picture "ConnectionString")
metadata=res://*/SL_Lab1.csdl|res://*/SL_Lab1.ssdl|res://*/SL_Lab1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=localhost;Initial Catalog=SL_Lab1;Integrated Security=True"
    b) Proceed to the "Save the Connection String" page, leaving the "Yes, save this connection string..." checkbox checked, I click "Next" and receive a "blank" VS2010 error. (See attachment "SaveError")

Method 2:
1) I cancel the wizard and remove the EntityDataSource item from the report
2) I add an ADO.NET Entity Model to the project - named "SL_Lab1" to match the database name.
3) I add a blank table "table1" into the body of the report.
4) I switch over to the code view and update the code behind.
namespace EntitySetTest
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using Telerik.Reporting;
    using Telerik.Reporting.Drawing;
  
    /// <summary>
    /// Summary description for EntitySetReport.
    /// </summary>
    public partial class EntitySetReport : Telerik.Reporting.Report
    {
        public EntitySetReport()
        {
            //
            // Required for telerik Reporting designer support
            //
            InitializeComponent();
  
            Telerik.Reporting.EntityDataSource entityDataSource = new Telerik.Reporting.EntityDataSource();
  
            entityDataSource.ObjectContext = typeof(SL_Lab1Entities);
  
            Telerik.Reporting.Report report = new Telerik.Reporting.Report();
  
            report.DataSource = entityDataSource;
  
            table1.DataSource = entityDataSource;
        }
    }
}
5) Previewing the report gives me "The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid."
6) Add in the connection string
entityDataSource.ConnectionString = "SL_Lab1Entites";
6) Build and Preview - same error.
7) Change ConnectionString to:
entityDataSource.ConnectionString = "metadata=res://*/SL_Lab1.csdl|res://*/SL_Lab1.ssdl|res://*/SL_Lab1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=localhost;Initial Catalog=SL_Lab1;Integrated Security=True;MultipleActiveResultSets=True"";
8) Build and Preview - same error.

I have tried this several times, with different databases and always receive an error.  Either the one above or "Unable to load the specified metadata resource".

Any advice on what I am doing wrong?




Robert
Top achievements
Rank 1
 answered on 18 May 2011
7 answers
1.0K+ views

I have a textbox in my detail section that gets a value from a user function. I need to sum all of those textbox values in the report footer, but I can’t get it to work. Is there a way to use the SUM function on textbox values instead of data fields?

Deepak Shakya
Top achievements
Rank 1
 answered on 18 May 2011
2 answers
512 views
Hello, I have created a report to display it on a web page.  The data comes up fine but I am unable to find how to have the report fill the entire screen.

There seems to be no property to set the report to expand to 100% of the screen width.

I am using Q1 2011 and developing in VS 2010.

Please advise.

Thanks
Michael
Top achievements
Rank 1
 answered on 17 May 2011
1 answer
105 views
Is it possible to use Telerik Reporting to render a report on the server and send it to a server attached printer ?

We would like to invoke that kind of feature from a web service trigger.

Thanks, Erik.
Steve
Telerik team
 answered on 17 May 2011
4 answers
289 views
I would like to visualize bound dates...can you guys put together a calendar control I can bind a DateTime to which would render the selected Day\Month by any chance?

PITS?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 17 May 2011
3 answers
114 views
I have a report that shows some data via text boxes and a picturebox.

After this I want to have some more data. This next set of data so far is running through a table. In the test report I built, the column count works fine(I want it to take up 2/3 columns), but once I put this in another report via subReport, it fails to read the columncount. How do I get around this? 



Or can I have two seperate reports that I merge together at runtime? How would I go about doing that?
Steve
Telerik team
 answered on 17 May 2011
1 answer
45 views
Just wondering if this is within the capabilities of Telerik Reporting.
I have a list of images to display along with a list of comments about the image.
I tried using a crosstab, but the formatting comes out wrong, with inconsistent image size (Xtab.jpg)
I would like it to appear with the image on the left, with the comments on the right (Mockup.jpg).

If this isn't possible, any ideas how an image with multiple comments can be formatted to display nicely in a report?
I tried using 2 columns in the report, but some comments get separated from the picture when the report continues on the second column
Steve
Telerik team
 answered on 17 May 2011
0 answers
90 views
Hi there,

if anyone is interested:
I build a little tool to mak elocalization for Telerik Reporting easier.
We are working on a big project and the most localization for that project is already done, until now in 7 different languages. So I thougth that it would be a nice goal to use this for Reporting, because then we do not need to do the work twice.
My tool works this way:
First I create a report and name the fields that should be localized exactly like they are named in the resx-files of the project.
After that i start my tool and set the configuration: that means: Projectname, sourcefolder of the resx-files, targetfolder of the report-resx-files and fileextension if I use resource instead of resx, and how I indent the files (tab or spaces).
My tool now load the report.resx and after that every resx in the sourcefolder, search for translations needed for the report.resx, added a .value to the name and set the value.
After that, I locate the projectfile and add the resx-files as embeddedsource.
Now starting my reportproject and all localizations are there.

If anyone is interested in that tool, please let me know.

Best regards
Manfred
Manfred
Top achievements
Rank 2
 asked on 17 May 2011
1 answer
72 views
Telerix Reporting Q1 2001
Silverlight 4
Visual Studio 2010 SPK1
RIA Services
SQL Server 2008

I'm currently working on an Application using the above items.
I need to add reporting the application.
I cannot find any examples using RIA Services and having the end user filter the report from a Silverlight Page.

Could someone please help.

Thank You
Steve
Telerik team
 answered on 17 May 2011
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?