Telerik Forums
Reporting Forum
7 answers
325 views
Has anyone created a report that prints on Avery 8160 labels that they can share? :)
Vassil Petev
Telerik team
 answered on 22 Oct 2007
3 answers
380 views
I have a pretty basic column report setup. Everything looks good in the designer and when I preview it - the column headers are in the page header, and everything is lined up very nicely.
What I want to do is add a couple lines (title, and some other report-specific info) to the header as well. If I do this and lay it out just like I want it in the designer, it looks fine when I preview. It looks fine when I export to a pdf. However, if shifts all my column headers to the right about 1/2" in the web viewer. If I remove those extra textboxes it goes back to displaying fine all around. I've tried adjusting cangrow/canshrink, textwrap, multiline, etc. with the exact same results. Help?
Rossen Hristov
Telerik team
 answered on 19 Oct 2007
1 answer
249 views
My project has come to a grinding halt.  I've had to bind my report to a SqlDataReader.  I know that theres 4 records in my test db that should be returned and displayed in 3 columns.  I have set the columns to 3.  My result... is the very last record displayed in the center of the report..... So heres my question:

how do I manage to get multicolumns to work in asp 2.0? (designing mail lists for use with Avery 8160)

I've used the business card report demo as a guidline but still doesn't work as it should.

I have the margins set to where I beleive they should be as will as the column width and spacing. 

--------
I've fixed part of my problem... now I don't get the first record, but I get the other 3 by settting this.DataSource = dr;

but they are all in 1 vertical column rather than 1 horizontal row (not sure if thats normal or not, I'll have to add more to see what happens)
-----

I've added enough records that should flow over to the 2nd column... unfortunately, it stays in 1 column and continues on a second page... then the paging does work... perhaps this is an issue for tech support?

Svetoslav
Telerik team
 answered on 18 Oct 2007
3 answers
147 views
First, does Telerik offer any capabilities that facilitate a Table of Contents (with or without page numbers numbers) at the beginning of a report?  Are there any examples for this?

Second, is there a feature that adjusts the margins on a duplex printed document depending on whether the page is the front or the back?

Thanks
Svetoslav
Telerik team
 answered on 17 Oct 2007
1 answer
232 views
Hello,

How can I add an option in the export dropdownlist of the report viewer - Export to CSV file format?

Thanks,
Radi Atanassov
Brent Howard
Top achievements
Rank 1
 answered on 17 Oct 2007
1 answer
149 views
I have created a report that works as I intended. But after every page I have an empty page with only the header and footer on it? None of the "PageBreak" are set. (they all default to 'None'

Is there anything I can post to clear this out or is this a known issue?
We are using Reporting V1.0

Thanks!
Vassil Petev
Telerik team
 answered on 16 Oct 2007
1 answer
345 views
I have a series of reports that I need to create that are all very similar in format and data returned, but each one uses a slightly different sql query, with slightly different columns coming back. What I'd like to do is build one that is the most generic, then copy that report serveral times and make the necessary changes to the query. Trouble is, when I create a report (and get the corresponding .vb, .resx and .xsd files and then copy those... I get a great big mess - dataset names, table adapter names, etc. Is there a recommended way to perform this process?
Svetoslav
Telerik team
 answered on 16 Oct 2007
5 answers
379 views
Hi
Pls could I urgently get a link to a VB sample like the Orders sample with sub reports in C#.

Getting SubReports to work is no easy task!

Thank you
Howard
Syncrony.com
Chavdar
Telerik team
 answered on 15 Oct 2007
1 answer
173 views
I recently ran in to a problem using the reporting tools where I had a custom object with no blank constructor. In order to make the reports dynamic and change the report based on some sort of id supplied I came up with the following solution.

Explanation of Process:

Object Car is pulled from the database
Fields of object car are placed in to fields of report

    public partial class CarReport : Report { 
        public CarReport() { 
        } 
 
        public CarReport(int id){ 
            Car c = GetFromDB.GetCar(23); 
            txtName.Value = c.Name; 
            txtType.Value = c.Type; 
        } 
    } 
 
 
    class GetFromDB { 
        public Car GetCar(int id) { 
            //Query Datbase and parse info 
 
            return new Car("FastCar", "Porsche"); 
        } 
 
    } 
 
    class Car { 
        private string strName; 
        private string strType; 
 
        public Car(string Name, string Type) { 
            strName = Name; 
            strType = Type; 
        } 
 
        public string Name { get { return strName; } } 
        public string Type { get { return strType; } } 
    } 


So by doing the following and creating an instance of the Report, binding it to the report viewer, you can have any object bound to any field on the report. I hope this helps.
Rossen Hristov
Telerik team
 answered on 12 Oct 2007
2 answers
548 views

I'm trying to update the value of a textbox with the following code.

ReportViewer1.Report = (Telerik.Reporting.Report)new AllItems();

Telerik.Reporting.TextBox txt = (Telerik.Reporting.TextBox)ReportViewer1.Report.Items["txtTitle"];

txt.Value = "wow";

It errors out giving a "The expression contains object 'ID' that is not defined in the current context."

Can this be done?

John
Top achievements
Rank 1
 answered on 11 Oct 2007
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?