Telerik Forums
Reporting Forum
2 answers
179 views
Hi,

When I try to insert a big amount of lines into a cell, it's displayed only in the following page.

What can I do to make the content appear on the first page?

Peter
Telerik team
 answered on 25 May 2011
1 answer
110 views

I want to bind a table to a list of objects, each object has a IDictionary.

public ObjectInstance

   public IDictionary<string, object> Dictionary { get; set; }

The source is a IEnumerable of ObjectInstance's, I've tried this with no success:
void table1_ItemDataBinding(object sender, EventArgs e)
    {
        //create two HtmlTextBox items (one for header and one for data) which would be added to the items collection of the table
        Telerik.Reporting.HtmlTextBox textboxGroup;
        Telerik.Reporting.HtmlTextBox textBoxTable;
 
 
        //we do not clear the Rows collection, since we have a details row group and need to create columns only
        this.table1.ColumnGroups.Clear();
        this.table1.Body.Columns.Clear();
        this.table1.Body.Rows.Clear();
        int i = 0;
        this.table1.ColumnHeadersPrintOnEveryPage = true;
        var attributes = _objectInstances.First().ObjectType.Attributes;
        foreach (var attribute in attributes)
        {
            if (string.IsNullOrWhiteSpace(attribute.ColumnName)) continue;
 
 
            var tableGroupColumn = new Telerik.Reporting.TableGroup();
            this.table1.ColumnGroups.Add(tableGroupColumn);
            this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));
 
 
            textboxGroup = new Telerik.Reporting.HtmlTextBox();
            textboxGroup.Style.BorderColor.Default = Color.Black;
            textboxGroup.Style.BorderStyle.Default = BorderType.Solid;
            textboxGroup.Value = attribute.ColumnName;
            textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
            tableGroupColumn.ReportItem = textboxGroup;
 
 
            textBoxTable = new Telerik.Reporting.HtmlTextBox();
            textBoxTable.Style.BorderColor.Default = Color.Black;
            textBoxTable.Style.BorderStyle.Default = BorderType.Solid;
            textBoxTable.Value = "=Dictionary[\"" + attribute.ColumnName + "\"]"; //_objectInstances.First()[attribute.ColumnName].ToString();
            textBoxTable.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
            this.table1.Body.SetCellContent(0, i++, textBoxTable);
            this.table1.Items.AddRange(new ReportItemBase[] {textBoxTable, textboxGroup});
        }
 
 
    }

Which is the correct way to bind to a dictionary ?
Peter
Telerik team
 answered on 25 May 2011
1 answer
81 views
Hello, Just a couple of questions regarding where Telerik reporting is heading.

  1. Is an end-user report designer on the Telerik reporting road map?
  2. Are we able to deploy the reports as a separate xap file that can magically be related to the Core app xap file?
  3. Is there or will there in the future be a way to copy the report file (eg Report1.cs) in to a report folder on the server and have the app magically integrate that file (eg, a database record point to the file name)?

Many thanks

Steven
Steve
Telerik team
 answered on 25 May 2011
1 answer
114 views
Hello everybody :)

First of all, I like telerik reporting very much, but I have a question here.
How can I add sub reports dynamically to a master report? The procedure could go like this:
1. Create an empty collection of type <SubReport>, like ReportCollection<SubReport>()
2. Then populate the collection with ReportCollection.add(SubReport1); ReportCollection.add(Subreport2); at run time.
3. Assume the reports will be arranged one after another like a stack.
4. If a report have no data (after filtering it) I would like that the columns headers will be collapsed or not shown.

Can you tell me please, how can I achieve these behavior in a standard way.
I really appreciate it if you could attach a project sample of this in WPF. 

I hope you can help me.
Best regards.
Telerik rules!
Steve
Telerik team
 answered on 25 May 2011
1 answer
233 views
Is there a way to request the list of reports from Telerik Reports; Similar to SSRS,  ReportingService2005 class: ListChildren
Peter
Telerik team
 answered on 25 May 2011
1 answer
133 views
Is it possible to style the calendar when used as a report parameter? Can I set the calendar to use the Vista skin?

In your demo http://demos.telerik.com/reporting/employee-sales-summary/demo.aspx the calendar control does not seem to use any skin styling.
Peter
Telerik team
 answered on 25 May 2011
3 answers
430 views
When my report is exported to excel is there an event that fires? I need to add 2 tabs to the excel sheet.
Peter
Telerik team
 answered on 25 May 2011
1 answer
82 views
Hi,

Can somebody help me with report printing. Report is in DNN as a module. When i press print button on report, save file dialog appears with file name Telerik.ReportViewer.axd Earlier i get dialog box for selecting printers. I thought that it can be related to adobe reader so i upgraded it to version 10 but still error appears.
Printing error is in firefox 3 and in chrome. in IE 9 in works fine

I hope somebody could help me on this.

Tadas
Massimiliano Bassili
Top achievements
Rank 1
 answered on 25 May 2011
1 answer
163 views
Hi,

I followed the example on

http://www.telerik.com/support/kb/reporting/report-viewers/limit-export-options-in-reportviewer-to-certain-format-only.aspx
and it's work fine. However, the example doesn't limit the word, excel and powerpoint on several computers in our company. I tried to find the name of the "<Extension name="Name" visible="false"/>" but I wasn't able to figure it out.

Can you tell me the name of these options?
Thanks in advance
Jonathan

 

Steve
Telerik team
 answered on 25 May 2011
3 answers
65 views
Hi,

We are using Telerik Reporting 2010 Q3 SP1. Version: 4.2.10.1221.

1. All the telerik reports are in one assembly. We use the Telerik.Reporting.Processing.ReportProcessor to render the report as pdf.
2. We use english and french for localization purposes.

I added a static user defined function to the report class and calling it from the designer via the 'Edit Expression' window. The problem is that the new function is being recognized only on the english (default) language. On the french version the report executes as if the function never existed and calls the older implementation. Is this a known bug? Is there any workaround for this? Let us know.

Let me know if you need any more information.

BTW I am using my managers account to post the question to avoid any licensing questions....

Thanks,
Praveen
Steve
Telerik team
 answered on 25 May 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?