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.
Hello,
I wish to delete my Telerik account, Telerik Forums account and all of the data associated with this account. Please help me out with this.
Thanking You,
Regards,
Dalvir Singh
According to Google, they are going to deprecate Third-Party Cookies.
A customer is using telerik controls invoking libraries using CDN.
They found this cookies related to telerik marked as affected by this deprecation.
How can we avoid this situation?
thank you for your help
I am currently experiencing an I/O exception when trying to export the RadDocument to a byte array using the Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider.
Here is a code snippet of how am I using the Provider:
PdfFormatProvider pdfProvider = new PdfFormatProvider();
_printReportByteArray = pdfProvider.Export(_printReportDocument);
using (var memoryStream = new MemoryStream(_printReportByteArray))
{
this.PrintReportViewer.DocumentSource = new PdfDocumentSource(memoryStream);
}
The exception occurs at
pdfProvider.Export(_printReportDocument)
It appears that the provider is trying to load the font file from the Windows directory, but for some reason this particular file is causing the exception randomly on certain machines (not on all machines). I would like to know if there is a way to resolve this issue. Like loading the font file into the memory instead of relying on the Windows directory.
Note: the font file does exist at the provided path location, and is not missing.
Here is the full exception message:
System.IO.IOException: I/O error occurred while opening the file "C:\WINDOWS\FONTS\MSYH.TTC". at MS.Internal.FontCache.FileMapping.OpenFile(String fileName) at MS.Internal.FontCache.FontSource.GetUnmanagedStream() at System.Windows.Media.GlyphTypeface.ComputeSubset(ICollection`1 glyphs) at Telerik.Windows.Documents.FormatProviders.Pdf.Fonts.GlyphMappings.ComputeSubset(PdfFontKey key, ICollection`1 glyphs) at Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfFontFile2.CreateFileFontFile() at Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfFontFile2.WriteContents(PdfWriter writer) at Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfStream.WriteToCore(PdfWriter writer) at Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfObject.WriteTo(PdfWriter writer) at Telerik.Windows.Documents.FormatProviders.Pdf.RadPdf.PdfWriter.WritePdfObject(PdfObject obj) at Telerik.Windows.Documents.FormatProviders.Pdf.PdfDocumentExporter.Export() at Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider.Export(RadDocument document, Stream output) at Telerik.Windows.Documents.FormatProviders.DocumentFormatProviderBase.Export(RadDocument document) at Cairful.Desktop.Module.Care.NursingReports.NursingReports.Dialogs.PrintReportsDialogVM.PrintReportDocument() at Cairful.Desktop.Module.Care.NursingReports.NursingReports.Dialogs.PrintReportsDialog.PrintReportsDialog_OnLoaded(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Dear Telerik Community,
I hope this message finds you well. I am reaching out to seek assistance with an issue I am encountering in my Telerik WinForms application.
Problem Description: I have designed a Windows Form using Telerik controls, which includes a RadForm containing a RadGroupBox with various Telerik controls such as RadTextBoxes, RadDropDownList, and RadButton. However, when I run the application, I notice that the dimensions of the controls are automatically increasing, leading to inconsistent layout and undesired vertical spacing between controls. Snapshot for reference attached..
Steps Taken:
Expected Solution: I am seeking guidance on the settings or configurations that need to be implemented to ensure that the layout of the form remains consistent and does not automatically resize the controls.
I am using telerik version 2014.3.1024.45 with Asp.Net Webforms
I am using Telerik RadGrid. Columns are being sorted using string value. However if a particular column has integer values, it fails to sort properly. E.g. For the values 0, 1, 10, 2, 12, 3 It will sort as 0, 1, 10, 12, 2, 3
I tried setting DataType="System.Int32" for column but still it considers as string. This column has on the fly values so I can not sort at database also.
Would appreciate any suggestion here. Is there any way to do it ?
Thanks In advance