Telerik Forums
Reporting Forum
3 answers
190 views

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.

Ivan Hristov
Telerik team
 answered on 20 Jun 2018
0 answers
393 views

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!



 

Ryan
Top achievements
Rank 1
 asked on 18 Jun 2018
3 answers
809 views

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.

Todor
Telerik team
 answered on 18 Jun 2018
4 answers
463 views
For the application we're currently developing we'd like to use the Telerik Reporting.These last days I was testing it and how well it would suit our needs. Our application is running in WPF on .NET 4.0 and has its own look and feel. Now I was searching your forum on how to apply changes to the ReportViewer class and I came to know that you have to change the style of the ReportViewer itself, which wouldn't be a big deal. Since our application has its own Ribbonbar, we wanted to remove the Toolbar from the ReportViewer and integrate it into our application. Now I've figured out that the ReportViewer has no commands which support the functionality identical to those of the integrated Toolbar. On the forum you could find out that the ReportViewer was implemented using the MVVM-pattern.
So I'd like to know if there is a way to accomplish the needed task? Am I able to access the commands of the ReportViewerModel from ReportViewer (e.g. MoveToNextPageCommand, etc.) or do I have to write my own UserControl that has a ViewModel inheriting from ReportViewerModel?
An answer to this cause would be appreciated.

Regards
Alen
Todor
Telerik team
 answered on 18 Jun 2018
3 answers
108 views

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?

Ivan Hristov
Telerik team
 answered on 15 Jun 2018
1 answer
628 views

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

Nasko
Telerik team
 answered on 15 Jun 2018
3 answers
1.0K+ views
hi,
I'm using Telerik report table to display more than 500 rows of data (may vary) but I was unable to provide pagination to the table. 
Can you suggest an example or a way to implement it or where to find the pagination in Telerik report table wizard?
Rick
Telerik team
 answered on 14 Jun 2018
1 answer
647 views

Hi,

How can we sort a table data clicking on a header and without making a backend API call Telerik report table.? Please provide an example solution for this.

Todor
Telerik team
 answered on 14 Jun 2018
1 answer
176 views

Hi,

Our software enables the enduser to add 'Fee fields' to entities. This takes form as a list of 'key' and 'value' pairs in the data class.

A colleague of mine already asked about it here: https://www.telerik.com/forums/dynamic-properties-in-object-data-source

It is very important that the designer shows the available free fields with the name chosen by the enduser. I want to ask again, is it possible in some way?

I tried dynamic compilation of a DLL, but the ObjectDatasource sometimes becomes blank in the designer.

I tried a DataTable and the free fields show up correclty in the designer but i can only feed one DataTable as the root datasource. I can not create multiple DataTables as datasources in the Report before saving it to a file and then showing it in the designer. I also dont know how a DataTable deals with related entities and collections.

I tried a DataSet but that just gives 'can not find a parameterless constructor' error in the designer.

Are we out of options here?

 

Milen | Product Manager @DX
Telerik team
 answered on 13 Jun 2018
10 answers
468 views

Hi,

 

I'm trying out Telerik Reporting for .NET Core and I'm having an issue configuring the export device settings for CSV I've added the app.config file specified at the bottom of: http://docs.telerik.com/reporting/html5-report-viewer-asp-net-core

 

This app.config is being picked up by the program because it allowed me to input the connection string and run up the report.

 

After this I tried adding in extension settings as detailed in your support blog: http://www.telerik.com/support/kb/reporting/details/configuring-the-csv-rendering-extension

 

My implementation is below: 

<configuration>
  <configSections>
    <section
            name="Telerik.Reporting"
            type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=10.2.16.914, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
            allowLocation="true"
            allowDefinition="Everywhere"/>
  </configSections>
 
  <Telerik.Reporting>
    <Extensions>
      <Render>
        <Extension name="CSV">
          <Parameters>
            <Parameter name="NoHeader" value="true"/>
            <Parameter name="NoStaticText" value="true"/>
          </Parameters>
        </Extension>
      </Render>
    </Extensions>
  </Telerik.Reporting>
 
  <connectionStrings>
    <add name="XXX" connectionString="XXX security=True;MultipleActiveResultSets=True;App=EntityFramework;Asynchronous Processing=true" providerName="System.Data.SqlClient" />
  </connectionStrings>
</configuration>

 

I'm wondering if:

  1. This implementation still works for .NET Core (I assume it does because the connection string does.)
  2. If you can see any issues with my above code.
  3. Where do these settings actually get pushed in to the report viewer template, I've searched through all the related code I can find and can't find any references to the export settings.

Thanks,

Josh

Nasko
Telerik team
 answered on 13 Jun 2018
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?