Telerik Forums
Community Forums Forum
0 answers
651 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
0 answers
3 views

Hi Telerik Team,

I've been using Telerik UI for ASP.NET MVC for a few months now, and overall, I’m really impressed with the seamless integration it offers for building rich, interactive web applications. However, I’ve run into a bit of a challenge regarding performance optimization when scaling my application for a larger user base, particularly with data-heavy grids and charts.

Given that I’m working with cloud infrastructure, I’m exploring ways to leverage Telerik’s features while ensuring the performance of my application remains optimal on a cloud server. My app is hosted on a cloud platform with dynamic scaling capabilities, but I’ve noticed that the user experience starts to degrade when multiple users query large datasets simultaneously.

Here are a few areas where I’d love some advice or best practices from others:

  1. Optimizing Telerik Grid for Large Datasets:
    The Telerik Grid is fantastic for handling dynamic data, but I’m wondering if there are any best practices for optimizing its performance when dealing with large datasets, especially when the data needs to be loaded in real-time from the cloud server. Should I be implementing virtual scrolling or pagination to reduce the initial load time?
  2. Caching Strategies:
    I’ve considered implementing server-side caching to reduce the load on the cloud server, but I’m unsure how best to integrate this with Telerik’s components. Has anyone successfully used Telerik controls with server-side cache, or do you recommend any caching techniques for grid or chart data?
  3. Cloud Server-Specific Tweaks:
    I’m using Azure as my cloud server platform, and I know there are some Azure-specific optimizations for ASP.NET MVC apps. Does Telerik offer any insights or pre-configured templates that might help streamline cloud server performance, particularly when working with their UI components?

Any feedback or recommendations would be greatly appreciated! I’m eager to continue improving the performance of my app, and it would be great to hear how other developers are integrating Telerik tools with cloud environments for better scalability and efficiency.

Thanks in advance for your help!

 

Arthur
Top achievements
Rank 1
 asked on 07 Nov 2024
0 answers
6 views

I have an old net 4.7 console app that creates a telerik grid object and fills it with data and then exports the result to excel.

I want to upgrade this app to net8.

I am a bit unsure this is possible so first ? is:

1] Can you have a net8 console app and use Telerik grids in them?

     something like: static Telerik.WinControls.UI.RadGridView objGrid = new Telerik.WinControls.UI.RadGridView();

2] If so what packages do you need installed and what using statements do you need?

3] If not, could you create a MAUI app with no forms , to act like a console app, and do it that way?

I have been all over the net looking and am just not finding a simple example. { So I am wonderiong if tis even possible now! }

 

Thanks in advance

Deasun.

Deasun
Top achievements
Rank 1
Iron
 asked on 06 Nov 2024
1 answer
17 views

Hi, 

I have been exploring on how to use ObjectDataSource and manage to make it work but I am encountering an error when passing parameter with Multi-value

HourlyTicketODS DataSource : Object must implement IConvertible.

I searched on online and based on the answers provided i should change the parameter type to object[] however it still doesn't work.  I tried string[], IEnumerable<string>, IEnumerable<object>, List<object> and List<string>  still the same.

Solutions i found on the internet but doesn't work:

https://docs.telerik.com/reporting/knowledge-base/object-must-implement-iconvertible

https://www.telerik.com/forums/objectdatasource-and-multivalue-parameter

 

Using =JOIN() and making the method's parameter as string works. Is it really doable to pass array? because on the documentation it states that

 "The Data Source Components are based on ADO.NET and ADO.NET does not allow a collection of values to be passed. The SqlDataSource Component however supports parametrized SQL queries by associating the report parameters with placeholders in the SelectCommand query. "

My config and code for reference

 

 

using System.ComponentModel; using System.Diagnostics; namespaceTelerikReportData { public class HourlyTicket { publicint Id { get; set; } publicstring Category { get; set; } = string.Empty; publicstring Status { get; set; } = string.Empty; } [DataObject] public class HourlyTickets { [DataObjectMethod(DataObjectMethodType.Select)] public List<HourlyTicket> GetHourlyTickets(DateTime from, DateTime to, object[] categories) { Debug.WriteLine($"HOURLY TICKET ODS | Date Range Params: From = {from.ToString()}, To = {to.ToString()}"); //Debug.WriteLine($"HOURLY TICKET ODS | Categories = {categories}");return [new HourlyTicket { Id = 1, Category = "Load Reprocessing", Status = "ongoing" }]; } } }

Ryan
Top achievements
Rank 1
 answered on 04 Nov 2024
1 answer
16 views
Good Day

We have an Angular frontend that is using version: "14.21.915" of the Angular Report Viewer:     "@progress/telerik-angular-report-viewer": "14.21.915".  Currently, we can't upgrade off over Angular v15-LTS because of that package, so our backend was thinking of upgrading their side to use R1 2019 SP1 (13.0.19.222).

What versions of the "@progress/telerik-angular-report-viewer" are compatible with that backend service?  If I try to up upgrade off the version we're currently using, I get an error when the report view tries to load, the version I attempted to use was: 16.22.804.

"Cannot access the Reporting REST service <address> Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)"

The CORS setting is completely open, so there is no CORS error.

But can move to Angular 16+, so we're hoping that backend service upgrade will resolve that issue.

Thanks
Dimitar
Telerik team
 answered on 24 Oct 2024
2 answers
13 views

Hello,

I have a web page with a number of elements, including labels, buttons, a file uploader, and some text boxes. Also, I'm using the RadAjaxManager and RadAjaxLabel. This is a picture of a few of the elements.

I need to update some of the elements, so I've set up my RadAjaxManager like this:


<telerik:RadAjaxManager ID="RadAjaxManager3" runat="server" >    
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadButtonCreate">
            <UpdatedControls>                    
                <telerik:AjaxUpdatedControl ControlID="RadLabel1" LoadingPanelID="RadAjaxLoadingPanel1"/>
                <telerik:AjaxUpdatedControl ControlID="RadAsyncUploadFile1" LoadingPanelID="RadAjaxLoadingPanel1"/>                 
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

This code doesn't impact my layout. However, when I added a the textbox to the UpdatedControls....


<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >    
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadButtonCreate">
            <UpdatedControls>                    
                <telerik:AjaxUpdatedControl ControlID="RadLabelTicketInfo" LoadingPanelID="RadAjaxLoadingPanel1"/>
                <telerik:AjaxUpdatedControl ControlID="RadAsyncUploadSARFile" LoadingPanelID="RadAjaxLoadingPanel1"/> 
                <telerik:AjaxUpdatedControl ControlID="RadTextBoxDescription" LoadingPanelID="RadAjaxLoadingPanel1"/>                    
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

...My website changes to this:

When I remove the <telerik:AjaxUpdatedControl ControlID="RadTextBoxDescription" LoadingPanelID="RadAjaxLoadingPanel1"/> element from the UpdatedControls, the layout goes back to what is shown in the first picture.

 

Can someone please explain why adding elements to the UpdatedControls section would affect the placement of the other webpage elements? I'd like to update the content of these textboxes, so how can I add them to the UpdateControls without distorting the layout?

 

Thanks,

Mike

 

Rumen
Telerik team
 answered on 22 Oct 2024
0 answers
16 views

I have a .NET 8 MVC Application where I am using Telerik Kendo UI for the Captcha implementation. It is working fine at my local machine. But after a publish on AWS Elastic Beanstalk on Linux it is not working. 

I got some details like Telerik Captcha is using System.Drawing package which is not supported on Linux.

Now, please help me to figure out how can I implement Telerik Captcha Support with Linux based Hosting.

Siddhant
Top achievements
Rank 1
 asked on 18 Oct 2024
2 answers
26 views
Is the NuGet feed down? I get a 503 error when browsing to https://nuget.telerik.com/ and my Azure pipeline builds are failing.

Plamen Mitrev
Telerik team
 answered on 17 Oct 2024
1 answer
9 views

Dear Telerik-Team,

please delete my acc with all informations u saved about me.

Thank u. 

Jennifer
Telerik team
 answered on 14 Oct 2024
0 answers
19 views

Hi Team,

We have legacy application which is currently running in Visual studio 2008. As EOL of VS 2008 we started to build the application in VS 2019 with .net framework 3.5.

Currently we are using RAD control which have separate dll for each control like RadEditor.Net2.dll, RadPanelbar.Net2.dll, RadWindow.Net2.dll 

as well as Telerik UI with Telerik.Web.UI.dll (version 2008.02.0826) 

 

Problem statement:-

While migrating application from VS2008 to VS2019 we are facing below error while debugging locally.


Uncaught Error: Unexpected ajax response was received from the server. This may be caused by one of the following reasons: - Server.Transfer. - Custom http handler. - Incorrect loading of an "Ajaxified" user control. Verify that you don't get a server-side exception or any other undesired behavior, by setting the EnableAJAX property to false. at _1.CheckContentType () at _1.HandleAsyncRequestResponse () at _4e.onreadystatechange ()

we are using rad:RadAjaxManager in our aspx page. 

by adding this property to the manager ajax mechanism will not work and page start post back in each call.

 

Any other solution do you have to overcome this.

 

 

 

 

 

Abhishek
Top achievements
Rank 1
 asked on 10 Oct 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?