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 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.
Hy,
I want to customize the Kendo-theme-default (last version -> 10.3.1) in my blazor project.
To install npm package I followed the documentation: Telerik and Kendo UI Default Theme Overview | Design System Kit:
But when I import the package inside my scss file style, I have the following error and i can't compile the scss file:
The kendo-theme-default package is correctly located under node_modules.
My scss file:
My project files:
Can you help me?
Thanks
Dear Telerik Support Team,
I am encountering an issue where, after using the setOptions
method to update the grid configuration and then loading the grid using getOptions
, my custom events, functions, and the Telerik inbuilt editor on columns do not initialize properly. Additionally, the custom filter functionality in the column filter is no longer working after calling setOptions
.
I am trying to implement a feature where grid settings are saved on a per-user basis. However, after applying the new settings, the events and filters stop functioning as expected.
Could you please advise on the best solution to ensure that custom events, editors, and column filters are reinitialized properly after using setOptions
and getOptions
? I would appreciate any guidance on how to address this issue while saving user-specific grid settings.
1st sample which I did and 2nd is the way i want to do it