Telerik Forums
Reporting Forum
5 answers
881 views

Hello,

In our company, we have a lot of Telerik reporting templates, created with the visual studio designer tool and used for generating PDF.

These reports contain several cultures support (localization) and images. We also have custom c# code in several events (ex: NeedDataSource event)

We are migrating to .net core all our projects.

I’ve tried a fist attempt to migrate to .net core, but I faced several issues:
-The designer doesn’t work, but it’s “normal” as noted here…: https://docs.telerik.com/reporting/ui-report-designer
-Localization doesn’t work. Surely linked to resource management change in .net core.
-I had to remove images from the report template to avoid exception at runtime (because the designer embeds them into resx file)

Before digging in more, Which is the best recommended way to migrate legacy report to .NET Core ? (And still have localization and custom code on events)

When the .net core designer will be available?

Thanks in advance,

Neli
Telerik team
 answered on 16 Apr 2021
4 answers
1.3K+ views

Hi everyone,

I have a value with format: <div> Hello world! Just bonus some special chars: < > & ! </div>

Expected result: Hello world! Just bonus some special chars: < > & ! 

I've tried to use the HtmlEncode but it displays as "<div> Hello world! Just bonus some special chars: < > & ! </div>"

Can you guys support this issue?

Using Telerik Report Designer and programming language C#

Thanks,

 

Hung
Top achievements
Rank 1
 answered on 16 Apr 2021
1 answer
138 views

I have a report which includes some parameters.  One parameter pulls a list of organizations for which to pull data into the report.  There is another parameter which populates depending on which/how many organizations are chosen.  When all organizations are chosen, the second parameter will cause a time out because there can be a lot of values that are returned.

Is there a way to load these values in batches so that there is no wait time in loading of parameter values?

One idea I was thinking was to load in batches (although this may not be an option).

Any ideas will be much appreciated.

Todor
Telerik team
 answered on 15 Apr 2021
7 answers
2.6K+ views
After I upgrade from R3 2018 to R1 2019. I can't see Reporting toolbox in Toolbox of VS 2017. When I click to show all. I can see toolbox of R3 2018, but  I can't use it because my reporting Version is R1 2019.

Anyone can help me?
Keith
Top achievements
Rank 2
 answered on 15 Apr 2021
3 answers
391 views

Hello,

I want to display all the data of the table by default without selecting any option from dropdown filtering.

Or add a option "ALL" to the dropdown list to select all the data from the dropdown filtering.

Neli
Telerik team
 answered on 15 Apr 2021
1 answer
152 views
In ReportViewer Scroll Event - Not Firing
Todor
Telerik team
 answered on 15 Apr 2021
1 answer
325 views

I just try Telerik Reporting and try to connect to my index in Elasticsearch.

I use WebService Data Source and use this url

http://localhost:9200/[indexname]/_search?pretty=true&q=*:*

But got no document in my Data explorer
Dimitar
Telerik team
 answered on 15 Apr 2021
6 answers
633 views

I am using the Telerik standalone Report designer - and connecting to SQL database. Tried to link to a stored procedure with dynamic query. The stored procedure executes fine and returns the results in SQL database.

 

Even "Execute Query" on the Telerik report wizard works fine and returns data rows.

When trying to add as a Telerik datasource it fails throwing the following error

 System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near the keyword 'UNION'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   at Telerik.Reporting.Processing.Data.SqlSchemaAdapter.<GetFields>d__1.MoveNext()
   at Telerik.Reporting.Processing.Data.SimpleSchemaAdapter.Fill(SimpleDataModel model)
   at Telerik.Reporting.Processing.Data.SimpleDataProvider`1.GetSchemaCore()
   at Telerik.Reporting.Processing.Data.DataProvider`1.Telerik.Reporting.Processing.Data.IDataProvider.GetSchema()
   at Telerik.Reporting.Data.Design.DataSourceDesignerBase.Telerik.Reporting.Design.Interfaces.IDataSchemaProvider.GetSchema()
   at Telerik.Reporting.Data.Design.DataSourceService.GetSchemaFromContext(Object context)
   at Telerik.Reporting.Design.DataExplorerControl.<>c__DisplayClass2.<RefreshDataSource>b__0()
ClientConnectionId:b24a70f0-fdac-4dda-94a8-a732936c2ad9
Error Number:156,State:1,Class:15

Roberto
Top achievements
Rank 1
 answered on 14 Apr 2021
2 answers
262 views
In ReportViewer how do I change backcolor of textbox based on the value inside it? 
Neli
Telerik team
 answered on 14 Apr 2021
3 answers
576 views

How can I determine if the Parameters Area is visible on the HTML5 ReportViewer using javascript?

I know how to toggle it but I need to check if it is visible first before toggling.

Gabriel
Top achievements
Rank 2
 answered on 13 Apr 2021
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?