Hello,
I have created a report which contains a Telerik.Reporting.Table object. In the designer, I set the data source of this Table object to an SQLDataSource object. At runtime, I want to retrieve some details about this data source, such as the ConnectionString or the SelectCommand used in the data source, however, when I look at the Table object in code at runtime, the data source is coming in as {Table1} instead of as an SQLDataSource, and the {Table1} data source has none of the details which I need.
I have referred to the code at this URL: Changing the connection string dynamically
which seems to imply that the Table data source can come in as an SQLDataSource (see the section near the end commented as "Covers all data items". However when I run this code to attempt to set the connection string for a Table, it doesn't work because the data source isn't SQLDataSource at runtime. Has something changed since this example was posted?
Thank you very much!
Keith
Hi Everyone,
I have a master report and two subreports. Initially, the master report and one subreport will be displayed. Upon clicking a textbox("ShowDetails") on the first subreport, I need to display the second subreport and hide the first subreport. How can I make it work please? TIA!
Hi, Could you advise if it is possible to repeat column group headers on each page. I can get the table header to repeat on each page by setting 'ColumnHeadersPrintOnEveryPage' but this just gives me a merged cell above all the column group headers.
Thanks
Hi,
I have a report which has 6 tables. The data source for all the 6 tables are same. But every time each table is executing the the data object is hit and
its making the execution slow. Is there any way that for all tables the data object(data fetching) should be done once and for every table the data object should not
hit back or re execute. Please Help
When I try to export to PDF (or any other format) in Chrome using the Q3 2014 reports it sends me to a link like this:
And I get the error shown in the attached image. However, I can copy/paste this link into an IE browser and it will work perfectly.
I'm not really even sure how to further debug this problem.
We have an issue regarding report that they are not working in firefox. They are working good with chrome, but there is some problem with .
I have searched about it on Google. But no help.
Hello
I have a masterreport containing a subreport i need to bind to a quoteobject.
My masterreports datasource are set via an overloaded contructor like:
public masterreport(string P1, string P2)
{
InitializeComponent();
//set masterreport datasource (Works fine)
Quote q = new Quote(​P1, ​P2);
this.DataSource = q;
//load subreportcontrol (doesent work!)
this.subReport1.ReportSource = new BackEnd.Reports.mysubreport(q);
}
my subreports overloaded constructor looks like :
public subreport(Quote ​q)
{
this.DataSource = ​q.cfgs; //cfgs is List<quotelines>
}
The masterreport is loaded into a reportviewer using :
this.ReportViewer1.ReportSource = new BackEnd.Reports.masterreport("param1","param2");
Result is ok regarding the masterreport, where as the subreport doesent load.
The subreport works fine if I bind a datasource in the designer.
Should the above not work for binding the subreport, or have i missed something?
any inputs are welcome
Regards
MArk
Hallo!
I have two calculated Fields in an Q2 2015 Report.This Fields work well in the ​Preview Mode of your Stand-alone-designer.
However, when databound via code i get this error: "The expression contains object 'xxx' that is not defined in the current context".
Omitting both fields creates the report OK.
I am using the Fields like this:
[= "Name: " + Fields.​salutation + " " + Fields.​name]
where "Fields.salutation" would be a calculated field.
Is that not possible? Or am I doing something wrong?
Thanks for your Support!
I have a report that displays fine no matter the parameters that I put into it on my development machine. When I push it to production when I use a small date range it comes up fine. When I try to expand the date range it will display the attached image showing that it is fetching the records then it will just sit there in a non-selectable state for as long as you let it sit. Running SQL profiler, the query is executing in less than 8 seconds and is returning 15,500 rows so it is not a incredibly large amount of data.
I have a few other reports that are running fine it just a couple that seem to have this issue. Tried it on Chrome, IE, Safari and all seem to have the same problem.
Any ideas on where to go next?