Telerik Forums
Community Forums Forum
0 answers
713 views

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.

Aron
Top achievements
Rank 2
 asked on 23 Jun 2021
1 answer
15 views

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.

Attila Antal
Telerik team
 answered on 22 Apr 2025
1 answer
17 views

 

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:

using System.Web;
using System.Web.Mvc;
using Telerik.Reporting;
using Telerik.ReportViewer.Mvc;
using System.Collections.Generic;
using System;

namespace Project.Extensions
{
    public static class ReportExtension
    {
        public static IReportViewerBuilder GetReportViewerConfig(this HtmlHelper htmlHelper, string reportId, string reportSource, Dictionary<string, string> reportParams)
        {
            var uriReportSource = new UriReportSource
            {
                Uri = reportSource
            };

            foreach (var param in reportParams)
            {
                uriReportSource.Parameters.Add(param.Key, param.Value);
            }

            return htmlHelper.TelerikReporting().ReportViewer()
                .Id(reportId)
                .ReportServer(new ReportServer()
                {
                    Url = ReadConfigData.REPORT_SERVER_URL,
                    Username = ReadConfigData.REPORT_SERVER_USERNAME,
                    Password = ReadConfigData.REPORT_SERVER_PASSWORD
                })
                .ReportSource(uriReportSource)
                .ViewMode(ViewMode.Interactive)
                .ScaleMode(ScaleMode.FitPageWidth)
                .PersistSession(false)
                .SendEmail(new SendEmail { Enabled = true })
                .Parameters(new Parameters
                {
                    Editors = new Editors
                    {
                        MultiSelect = EditorTypes.ComboBox,
                        SingleSelect = EditorTypes.ComboBox
                    }
                })
                .EnableAccessibility(false);
        }
    }
}


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

Petar
Telerik team
 answered on 09 Apr 2025
8 answers
215 views
Hello!

I would like to know how to delete the telerik user account I had to create in order to download a trial version a while ago. Unfortunately, I couldn't find any hints on how to do this. :-( Maybe someone here can help me to remove the account?

Any help appreciated.
Thanks in advance!
Missing User
 answered on 26 Mar 2025
1 answer
18 views
What is the code signing certificate that needs to be installed?  Getting the following message:
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.

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 Mar 2025
1 answer
24 views

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?

            https://docs.telerik.com/reporting/embedding-reports/program-the-report-definition/create-report-programmatically

            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;

 

            https://docs.telerik.com/reporting/embedding-reports/program-the-report-definition/create-sections-programmatically

            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.

Petar
Telerik team
 answered on 11 Mar 2025
1 answer
36 views

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

 

Emil
Telerik team
 answered on 11 Mar 2025
0 answers
24 views

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.

Satish
Top achievements
Rank 1
 asked on 05 Mar 2025
0 answers
15 views
how to add border in bottom all border are allready apply but bottom border not apply give me solution in this problem how to apply bottom boder
Priyanka
Top achievements
Rank 1
 asked on 28 Feb 2025
0 answers
16 views

1st sample which I did and 2nd  is the way i want to do it

Krushna
Top achievements
Rank 1
 asked on 28 Feb 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Iron
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Iron
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?