Telerik Forums
Reporting Forum
1 answer
111 views

     So I've got a datasource that gives me a startdate and an enddate value. I was wondering is there a way for me to make a table that essentially goes:

 

+-------------------+------+------+------+
|       Date        | Col1 | Col2 | Col3 |
+-------------------+------+------+------+
| 10th January 2018 |      |      |      |
| 11th January 2018 |      |      |      |
| 12th January 2018 |      |      |      |
+-------------------+------+------+------+

 

For example?

Todor
Telerik team
 answered on 26 Nov 2018
2 answers
249 views

Hi,

We are generating a report using a console application using SDK. As the data source, we are using CSV files. Sometimes these fields give out errors due to various reasons (not properly formatted, null value etc..) When errors occurred the output pdf file contains these errors around a red box giving more error details.

Is there a way to not showing this red error message box because most of the fields are not important, so not showing them if there is an error is ok for us. Can off these error messages in output pdf done using the SDK?

Thank you

Silviya
Telerik team
 answered on 26 Nov 2018
0 answers
141 views

 

I'm trying to do a report with one table composed with 2 rows of diferent information. Table seems to get the correct values for both rows but after creating the render pdf file all the columns have the same values.

There's the code I use:

            ObjectDataSource dataSource = new ObjectDataSource();
            dataSource.DataSource = typeof(ReportInformation);
            dataSource.DataMember = "Member";
            _Table.DataSource = dataSource;

           

 // -------------------- First I configure the column header  ----------------------------- //

            ColumnsDataModel columns = GetColumnsByUser();
            int numFields = columns.Count;
            for (int ii = 0; ii < numFields; ii++)
            {
                ColumnsInformation column = columns.Fields[ii];
                _Table.Body.Columns.Add(new TableBodyColumn(Unit.Pixel(column.Width)));

                TableGroup tableGroup = new TableGroup();
                TextBox tb = new TextBox()
                {
                    Value = columns.Fields[ii].Name,
                    Size = new SizeU(Unit.Cm(6.0), Unit.Cm(1.0))
                };
                tableGroup.ReportItem = tb;
                _Table.ColumnGroups.Add(tableGroup);
                _Table.Items.Add(tb);
            }

            TableGroup rowGroup = new TableGroup();
           
            // ----------------- Then the table body (Rows) ------------------- //


            for (int jj = 0; jj <rows.Count ; jj++)
            {
                rowGroup.Groupings.Add(new Grouping(null));
                _Table.RowGroups.Add(rowGroup);
                _Table.Body.Rows.Add(new TableBodyRow(Unit.Cm(0.6)));

                for (int ii = 0; ii < numFields; ii++)
                {
                
                    TextBox tb = new TextBox();
                    tb.Size = new SizeU(Unit.Cm(6.0), Unit.Cm(0.6));
                    tb.Value = cell_value;
                    
                    _Table.Items.Add(tb);
                    _Table.Body.SetCellContent(jj, ii, tb);
                }
            }
        }

Strangelly If I change that "jj" in SetCellContent for a 0 it displays one row twice and "jj" displays the other one twice

Best regards

Roger
Top achievements
Rank 1
 asked on 26 Nov 2018
5 answers
256 views
There is a setting in page layout where you can set the page width from automatic to 1 page, 2 page. Can we use this feature while exporting the telerik report to excel. This will enable the report to be printed on a single page.
Silviya
Telerik team
 answered on 26 Nov 2018
5 answers
500 views

Hi,

we are evaluating if we can use your reporting system for our software.

 

As we are printing many labels directly to label printers (e.g. cab a4+ 200 dpi) we have to know how do you transfer the barcodes of reports to the printer. Are barcodes directly sent using barcode fonts, or are barcodes preprocessed and transfered as images to the printer? Our experience has shown, that if barcodes are sent as image to the barcode printers, that some barcode readers (especially old ones) are not able to read the barcodes.

 

Thanks!

Nasko
Telerik team
 answered on 22 Nov 2018
2 answers
597 views
Hi,

We have identified that CDbl function work as intended only when the data (number) is according to the format of the machine region.

eg: If a number is 33165,25 Norwegian region, CDbl will work only if the machine region is set to Norway, otherwise it will throw an error.

Is there any workaround for a scenario where we need to use data formatted according to a different region setting compared to the machine region.

Thanks.
Rajika
Top achievements
Rank 1
 answered on 21 Nov 2018
1 answer
318 views

I have two project used Telerik Reportting and host on one computer. When I export report then show error. 

 

 

Silviya
Telerik team
 answered on 21 Nov 2018
5 answers
504 views
From the report designer, I've created a connection to the reporting server successfully. I created a new report and testing it with web preview works as expected. However, when I attempt to publish the report, I get an error message stating "Publish operation failed". I see no other details to understand why it would not publish. Any ideas where I can look for more details or is there something I should be doing prior to publish?
Silviya
Telerik team
 answered on 20 Nov 2018
1 answer
144 views

developing a report in VS and upon running only produces data in column 1 and doesn't return all the records.  (See picture 1).  I imported the report into Report Designer connected the connection to an Access DB and run the report and returns records as they should. (See Picture 2).  I am not sure what is happening. I copied all the header columns and detail columns from Report Designer and pasted in my VB project.  

There isn't anything wrong with the SQL as it produces all records if running the query on its own.  

Silviya
Telerik team
 answered on 20 Nov 2018
1 answer
263 views
Am new to Telerik reporting. Have tried creating a report where data source accesses SQL Server stored procedure that uses sp_executesql command. There are no temporary tables in this sql. The resulting data source does not show any of the columns from the stored procedure. Is there a work-around for dealing with this? Thanks
Silviya
Telerik team
 answered on 20 Nov 2018
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?