Telerik Forums
Reporting Forum
1 answer
731 views

Hi,

I am new to Telerik report design, I am a developer, I have to modify an existing report, however, when I open the .cs file, I get the error page. I am not sure if it is due to license. Is there a way to modify the design ? Thanks for your support.

Regards,

Sathish

Todor
Telerik team
 answered on 17 Oct 2018
3 answers
259 views

I have created a report where I have several style rules. These style rules are created on style selector and type selector. I have also several exported style rules using the styles used in the report. For example, in the textboxes with style name 'main' have background color as yellow and in my exported style rule the background color is blue for the style name 'main'. In a console application, I am binding these external styles using the following code. 

 

Report report = (Report)xmlSerializer.Deserialize(xmlReader);

 

ExternalStyleSheet ess = new ExternalStyleSheet(this.themeFilePath);
report.ExternalStyleSheets.Add(ess);

 

The issue is even though I add the external style sheet the background color is not changing. But if I delete the style rule from the / file the external style sheet is applied. Is external style sheets does not override the styles that are already defined in the project? If not is there a way to override styles that are already defined in the design? 

 

Thank you

 

Todor
Telerik team
 answered on 17 Oct 2018
3 answers
254 views

Hi everyone, 

 

I am trying to convert m DevExpress reports into Telerik. I have the code written in C# for Devexpress and having confusion on few of the functions as I am unable to find the Telerik equivalents of those:

onCustomCallback

clientInstanceName

showLoadingPanel

 

These three functions/methods are devexpress methods. Can anyone tell me if there is any Telerik equivalent methods which does the same functionality? 

 

Thank You

Mashfiqul

Silviya
Telerik team
 answered on 16 Oct 2018
5 answers
305 views
Hi,

Is there a way to add a gauge chart in a Telerik report? It is really important for us...

Thank you

Alex
Silviya
Telerik team
 answered on 16 Oct 2018
3 answers
293 views

Hi,

    I am pretty new to Telerik Reporting and I am using C# WPF.  I have set a datatable to the DataSource of Report. The datatable is generated correctly with all rows from specified DB. But it is not displayed in ReportViewer.  Below is my code snippet. Please advise.

 

            Telerik.Reporting.Report myReport = new Telerik.Reporting.Report();
            string selectCommand = @"SELECT * FROM Angle";
            string connectionString = @"Data Source=IndianSections.db3";

            using (var connection = new SQLiteConnection(connectionString))
            {
                using(var command = new SQLiteCommand(connection))
                {
                    connection.Open();
                    command.CommandText = selectCommand;
                    using (var reader = command.ExecuteReader())
                    {                        
                        SQLiteDataAdapter dataAdapter = new SQLiteDataAdapter(selectCommand, connectionString);
                        DataTable dataTable = new DataTable();
                        dataTable.Load(reader);
                        //dataAdapter.Fill(dataTable);
                        
                        var objectDataSource = new Telerik.Reporting.ObjectDataSource();
                        objectDataSource.DataSource = dataTable;

                        myReport.DataSource = objectDataSource;
                        
                        var reportSource = new Telerik.Reporting.InstanceReportSource();
                        reportSource.ReportDocument = myReport;

                        this.reportViewer.ReportSource = (reportSource as ReportSource);
                        this.reportViewer.RefreshReport();
                    }    
                   // connection.Close();
                }
            }

Todor
Telerik team
 answered on 16 Oct 2018
1 answer
1.6K+ views

Hello All, 

  I have my table of data, but above my table, I want to add two rows that will contain the report title, as well as the date rendered information. This information extends beyond what would fit into just one cell, so I'd like to merge the adjacent cells so everything is visible. I don't want to use a header for this information.

Thanks for your help.

Travis

 

Travis
Top achievements
Rank 1
 answered on 15 Oct 2018
1 answer
221 views

Hi,

I have been trying to reduce the checkbox width (Please refer to the attached image) by setting the size property.

this.checkBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.079999998211860657D));

The height attribute works but when I try to change the width, the text part of the checkbox is getting cut off. It's very frustrating as I have spent a lot of time on it without getting the desired result.

Can you please assist me this issue.

Thanks,

Ashith.

 

 

Todor
Telerik team
 answered on 15 Oct 2018
1 answer
232 views

Hi. I try to use this example for create dynamically generated report. I'm want grouping output as described here.Only one change in code from documentation it change

group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductID"));

to

group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductID"));

 

As I understood this allow me output row with col1=1 in separate group with footer and header,  col1=2 in separate group with footer and header, and two col1=4 with separate group. But it not work as expected. I see one header, one footer and all data between this header and footer.
What I do wrong?
Thank you in advance.

Slava
Top achievements
Rank 1
 answered on 13 Oct 2018
1 answer
225 views
I have the Color and BackgroundColor bound in conditional formatting. When the foreground is supposed to print white it just comes out black. It only happens on certain printers, however I can create a notepad document with the same colors and it prints correctly. Any advise on how to fix the issue?
Todor
Telerik team
 answered on 12 Oct 2018
2 answers
1.0K+ views
Hi,

I've recently migrated from Q2 2011 to Q1 2013 and I can't seem to get the value of the parameter in code behind. I use this value to get the data in the ItemDataBinding event.
And I want to get the selected value in the ItemDataBinding event, but it is always null or it keeps the value if I set it 
manually.
this
.ReportParameters["GroupBy"].Value.ToString()
If I add a textbox in the editor with its value set to :Parameters.GroupBy.Value then the selected field is bound correctly.
Thanks for you help.

Edit: In fact I just realised that the way I'm getting the parameters value doesn't work at all and isn't specific to a report parameter with available values. So I've written my question again to be less specific.
Omar
Top achievements
Rank 1
 answered on 11 Oct 2018
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?