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
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
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
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();
}
}
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
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.
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.
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 itthis.ReportParameters["GroupBy"].Value.ToString()
manually.
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.