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.
I have a report where someone could pass in a parameter to show "Detail" for the record. The "detail" is tied to a second within the Telerik Report. I am unsure of how to get it to fire and show as it should. I have added the primary and displays the records in the group header.
Attached is an image of what my report looks like SQLDatasource1 is the primary and uses parameters passed in to display. If input parameter DetailFlag = true then I want to show the Detail Record which is tied to SQLDataSource2.
Tried the following in the code-behind but not displaying.
Private Sub detail_ItemDataBound(sender As Object, e As EventArgs) Handles detail.ItemDataBound Dim section As Processing.ReportSection = TryCast(sender, Processing.ReportSection) If section.Report.Parameters("DetailFlag").Value = "True" Then Table1.Visible = True Else Table1.Visible = False End If section.Style.BackgroundColor = groupHeaderSection.Style.BackgroundColorEnd SubPrivate Sub pageHeaderSection1_ItemDataBound(sender As Object, e As EventArgs) Handles pageHeaderSection1.ItemDataBound Dim section As Telerik.Reporting.Processing.PageSection = TryCast(sender, Processing.PageSection) Dim txtAsOf As Processing.TextBox = DirectCast(Processing.ElementTreeHelper.GetChildByName(section, "txtAsOf"), Processing.TextBox) Dim txtReportParam As Processing.TextBox = DirectCast(Processing.ElementTreeHelper.GetChildByName(section, "txtReportParam"), Processing.TextBox) txtAsOf.Value = "AS OF " & Today.ToString("MM/dd/yyyy") txtReportParam.Value = "FOR " & section.Report.Parameters("Area").Value.ToString & " - " & section.Report.Parameters("Status").Value.ToStringEnd Sub
