I have created one report in standalone report designer (Report.trdp), using object data source (my custom CLR type). It´s possible to programmatically load the report file and set the data source like a report created in Visual Studio (Report.cs)?
Idea of code:
Report reportFromFile = new Report(@"c:\temp\Report.trdp");reportFromFile.DataSource = _repository.Query().ToList();
Regards,
André
Hi,
Cam Anyone please give me code example on how to assign report to HTML5 report viewerin ASP.Net.
For example, report1.trdp, i want to assign it to reportviewer1 in asp.net. And if possible how to also assign data source to report1.trdb.
Please help on this.
Many thanks,
Omar
I have a map which I need to put points very close to each other. The distance from each other should be less than 1 meter. The points must also overlap each other. However, I'm facing an issue which I cannot find a good logic on how it works.
The attached picture consists of 10 points with the same longitude, but only different latitude. Each has unique Id field. To each point has been added 0.0001 latitude (which translates as roughly 1.12meters). My issue is that points 1,2,5,6,9,10 look great. However 3,4 and 7,8 are grouped/combined/on top of each other. How is it determined which to group and how?
A little bit more relevant information:
I'm using PointMapSeries.
MarketMaxSize, MarketMinSize, MarketSize is set to 1mm/1px
The seriesGroups groups by Fields.Id and so does the geoLocationGroup.
My dataclass has only Lat, Long & id.
I can provide more information if needed.

Hello,
I have a text box on a form that I want to show when either or both of two conditions are true or selected in the UI. Visible is set to false.
Basically, when CustAcctHold is checked in the UI, I want to show the HOLD text box.
Also, if CustAcctTerms is set in the UI to HOLD, I want to show the HOLD text box.
I have tried = IsNull(Fields.CustAcctHold.Ticks, 0) with Operator = and Value 1 which I found on another thread, still did not work. Also tried, = IIf(IsNull(Fields.CustAcctHold, 0)= 0, 0,1)
I cannot figure out a string an expression that will make this work. Any help would be greatly appreciated!
Hi,
I'm using Telerik Reporting Tools version 3.44.1.0 on Visual Studio 2017.
I converted a few of my report parameter data sources from Current Data Sources to Report Data Sources by creating a class as described here (these are data sources that'll be used across multiple reports):
https://docs.telerik.com/reporting/data-source-how-to-add-project-data-source.
I used the Wizard to create the data source and the query works within the Wizard, but once I try to open the report I get the "ConnectionString property has not been initialized" error message.
I've verified the connection string is present in the app.config and I was using the same connection string within the Current Data Sources.
Example below:
namespace ReportLibrary
{
public partial class ExchangeDateDataSource : Telerik.Reporting.SqlDataSource
{
private void InitializeComponent()
{
//
// ExchangeDateDataSource
//
this.ConnectionString = "Reports.Properties.Settings.IOConnection";
this.SelectCommand = "dbo.uspSelectExchangeRatesLkUp";
this.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure;
}
}
}
Anything I'm doing wrong? Thanks.


I find the ability to create user functions so that the users of the designer can insert domain related content. However, there are some places where I would like to help them insert objects other than text.
Is it possible to provide a function that would return, say, a shape or other visual element?

Is it possible to access values that a sub report has within the parent report?
Example: My sub report query will return a calculated value (lets say I have an expression in the sub report that is just "1+1"). Within the parent report, I would like to have an expression of ....IIF(subreport.field) = 2, "You picked the value of 2", "you did not pick the value of 2").
In crystal reports, you would create a global variable and that variable could be used within the entire report structure.
Is such a think possible in the standalone application?
I have found references to this ReportItem.Report.ItemDefinition.MyFunction(args) but it does not really explain or show what it does.
Brian
