Hi,
I know this product is retired since long ago.
But in our 10 years old legacy code, we have now requirement to migrate few tables in MySQL from SQL server. This old code is using Telerik.OpenAccess Nuget version 2016.2.822.1 and there is complex business logic written using it.
It is hard to change that bulk of code to use Entity Framework, so we thought to use My SQL connector with Telerik ORM as explained here https://docs.telerik.com/data-access/developers-guide/database-specifics/database-specifics-mysql-overview
I've everything setup as per the Article above. But when I run this code, it throws error which says Connection option 'datasource' is duplicated.
The connection string is perfectly fine and nothing duplicated in it: DataSource=127.0.0.1;port=3306;database=dbname;user=root;password=******
In fact, anything I change in connection string, it complains with same kind of error. For example Server=127.0.0.1;port=3306;database=dbname;user=root;password=******
It shows Connection option 'Server' is duplicated.
Kindly please help if you have used Telerik ORM with MySQL previously.
Hi Telerik Team,
I’m working with Telerik Report Designer and using a Web Service Data Source that is protected with two-step authentication. In my report, I have three report parameters: ClientId
, Year
, and Month
. These parameters are passed to the API and are also used in three corresponding filters on the data source to dynamically fetch data for a crosstab.
From my understanding, when I click on the Preview button in the Report Designer:
The first API call is made to retrieve the schema of the web service (to understand the structure).
The second API call is made to fetch the actual data, using the parameter values I’ve provided.
Could you please confirm whether this is the expected behavior — i.e., that the Web Service Data Source initiates two separate API calls (one for schema, one for data), or it calls more than three times during preview?
I’m asking this to clarify internally, as I need to explain this behavior to my team.
Thank you in advance!
Best regards,
Prabesh Shrestha
Hi Telerik Team,
I’m designing a Telerik Report Designer report that includes a line chart with markers. I want to replicate a feature that exists in Kendo UI line charts, where:
Clicking on a legend item toggles (hides/shows) the corresponding series in the chart.
This is especially helpful when multiple lines are present, and users want to focus on specific data. Here’s an example screenshot of the chart I’m working with:
My questions:
Does Telerik Reporting support interactive legend click behavior similar to Kendo UI Charts?
If not directly supported, is there any workaround that can help achieve this functionality?
Regards,
Prabesh Shrestha
Hi,
After searching a forum, results are returned sorted by Relevancy. If the sort is changed to Last Modified, it seems an extra postback happens and the sort reverts to Relevancy. This happens in Chrome and Edge. I didn't try FireFox.
Hi Team,
I just got a email from g2.com, it said Telerik asked them to gather reviews.
email subject: "Review Progress Telerik, get a $25 Amazon gift card!"
how the g2 know who I am, my email, also know I bought Telerik Products.
didn't click any hyperlink within, but I really concern about the privacy.
I didn't remember any agreements with g2.
It's an officical activity, security incident or phishing ?
I'm looking forward to a official explaination.
Hi Team,
We are currently using the Telerik RadScheduler control in our ASP.NET Web Forms application. As part of a new requirement, we need to enable drag-and-drop functionality to move appointments between resources.
During this drag-and-drop operation, we would like to display a confirmation dialog with OK and Cancel buttons:
If the user clicks OK, the appointment move should proceed.
If the user clicks Cancel, the move should be cancelled without any changes.
We attempted to use radconfirm() within the OnClientAppointmentMoveEnd event to achieve a confirmation dialog similar to the native JavaScript confirm() function. However, we were unable to achieve the expected behavior.
Specifically, when handling the user response and attempting to proceed with the move via scheduler.moveAppointment(appointment, targetSlot);, we encountered the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'get_index')
Code tried:
function onAppointmentMoveEnd(sender, eventArgs) {
var appointment = eventArgs.get_appointment();
var targetSlot = eventArgs.get_targetSlot();
var scheduler = sender;
// Cancel the automatic move until user confirms
eventArgs.set_cancel(true);
radconfirm("Are you sure you want to move this appointment?", function (userConfirmed) {
if (userConfirmed) {
eventArgs.set_cancel(false);
// Manually perform the move
scheduler.moveAppointment(appointment, targetSlot);
}
// else: Do nothing (cancelled)
{
eventArgs.set_cancel(true);
}
}, 300, 150, null, "Confirm Move");
}
Could you please suggest the recommended approach to implement this behavior effectively with code samples or reference link ?
We appreciate your guidance on this.
Thanks
Sathyendranath.
Hi Telerik Team,
I am designing a report using Telerik Report Designer and have connected multiple Web Service Data Sources that require 2-step authentication.
The reports are stored on the Telerik Report Server and are displayed in my ASP.NET MVC project using report server credentials and the report path (Category/ReportName). I have created the following function to connect to the report server:
Scenario: My API domain is https://abcapi.com, which is used in every report under the "Configure Data Retrieval" window of the Web Service Data Source.
My Requirement: If the domain name changes, I have to manually update the domain in every report and each Web Service Data Source, which is time-consuming and inefficient.
Question:
Is there a way to set the domain name dynamically, so that I only need to update it in one place? Also, where is the configuration of each Web Service Data Source stored — is it in the database or somewhere else?
Regards,
Prabesh Shrestha
Package 'Telerik.Reporting.OpenXmlRendering 19.0.25.313' from source 'https://nuget.telerik.com/v3/index.json': This package is signed but not by a trusted signer.
I am trying to create reports programmatically and when I copied the code from the links there are errors. I am getting the following errors:
'Report' does not contain a constructor that takes 0 arguments
'DetailSection' does not contain a constructor that takes 0 arguments
How can the examples be updated?
Report report = new Report();
string selectCommand = @"SELECT * FROM Sales.Store";
string connectionString = "Data Source=(local)\\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=True";
Telerik.Reporting.SqlDataSource sqlDataSource = new Telerik.Reporting.SqlDataSource(connectionString, selectCommand);
report.DataSource = sqlDataSource;
DetailSection detail = new DetailSection();
this.detail.Height = new Telerik.Reporting.Drawing.Unit(3.0, Telerik.Reporting.Drawing.UnitType.Inch);
this.detail.Name = "detail";
report.Items.Add((ReportItemBase)detail);
Thank you.