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'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:
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!
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.
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"
}];
}
}
}
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
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.
Dear Telerik-Team,
please delete my acc with all informations u saved about me.
Thank u.
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.
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.