Telerik Forums
UI for WinForms Forum
0 answers
122 views

The following distribution changes will be announced as of 2025 Q2:

  • CHM and Help3 offline documentation resources will be discontinued. The Telerik UI for WinForms offline documentation will be available to download as a PDF file from your Telerik account: Download Product Files
  • Classes inside the Telerik.WinControls.Zip and Telerik.WinForms.Spreadsheet.Zip namespaces will be removed from the Telerik.WinControls and Telerik.WinControls.RadSpreadsheet assemblies. Please transition to System.IO.Compression or Telerik Document Processing libraries for continued Zip functionality.
  • .NET 6 distribution will be discontinued, following Microsoft's End of Support Policy for .NET 6.
Nadya | Tech Support Engineer
Telerik team
 updated question on 27 Feb 2025
1 answer
16 views

My users want a UI that looks like the screen capture below. They want to be able to drag squares from the top frame to the bottom (mutually exclusive) and reorder them within the bottom frame and then save/restore between editing sessions. Do you have a control designed for this?

Thanks

Carl

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Mar 2025
1 answer
20 views

I've just published all my .Net 9 apps using ClickOnce, all of them are now broken !

Using the following Nuget : UI.for.WinForms.AllControls.Net90 version 2025.1.211

 

They all crash on startup with the following error :

Application: MyApp.exe
CoreCLR Version: 9.0.225.6610
.NET Version: 9.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: Could not load file or assembly 'UIAutomationProvider, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Le fichier spécifié est introuvable.
File name: 'UIAutomationProvider, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Telerik.WinControls.UI.RadToggleSwitchElement.OnValueChanged()
   at Telerik.WinControls.UI.RadToggleSwitchElement.set_Value(Boolean value)
   at Telerik.WinControls.UI.RadToggleSwitchElement.InitializeFields()
   at Telerik.WinControls.RadElement..ctor()
   at Telerik.WinControls.VisualElement..ctor()
   at Telerik.WinControls.RadComponentElement..ctor()
   at Telerik.WinControls.RadItem..ctor()
   at Telerik.WinControls.UI.UIItemBase..ctor()
   at Telerik.WinControls.UI.LightVisualElement..ctor()
   at Telerik.WinControls.UI.RadToggleSwitchElement..ctor()
   at Telerik.WinControls.UI.RadRibbonBarElement.CreateButtons()
   at Telerik.WinControls.UI.RadRibbonBarElement.CreateChildElements()
   at Telerik.WinControls.RadElement.CallCreateChildElements()
   at Telerik.WinControls.RadElement.Construct()
   at Telerik.WinControls.RadElement..ctor()
   at Telerik.WinControls.VisualElement..ctor()
   at Telerik.WinControls.RadComponentElement..ctor()
   at Telerik.WinControls.RadItem..ctor()
   at Telerik.WinControls.UI.UIItemBase..ctor()
   at Telerik.WinControls.UI.LightVisualElement..ctor()
   at Telerik.WinControls.UI.RadRibbonBarElement..ctor()
   at Telerik.WinControls.UI.RadRibbonBar.CreateRibbonBarElement()
   at Telerik.WinControls.UI.RadRibbonBar.CreateChildItems(RadElement parent)
   at Telerik.WinControls.RadControl.Telerik.WinControls.IComponentTreeHandler.CreateChildItems(RadElement parent)
   at Telerik.WinControls.RadElementTree.InitializeRootElement()
   at Telerik.WinControls.RadControl.Construct()
   at Telerik.WinControls.RadControl..ctor()
   at Telerik.WinControls.RadNonClientUIControl..ctor()
   at Telerik.WinControls.UI.RadRibbonBar..ctor()
   at App.MainForm.InitializeComponent()
   at App.MainForm..ctor(IServiceProvider provider)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at App.Program.Main()

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Mar 2025
1 answer
22 views

Hello,  

I'd like the number of characters in the form title to be reduced when I reduce my form.

example with eclipse: (Width form: 1000)

projet_xxxxx - c:/mon_projet/srv/fichier/caracteristique/grid/form_caraterisque.cls - Progress Developper Studio

and after reduction of Form (width form 700)

projet_xxxxx - c:/mon_projet/srv/fichier/caracteristique/grid/form_caraterisque.cls - Progress ...

the title and ...

best regard.

Nadya | Tech Support Engineer
Telerik team
 answered on 27 Feb 2025
0 answers
21 views

Hi,

I am using Telerik Winforms for an MVVM application. 

I have created a small Winform example about how we are using MVVM to handle events with default Winform applications <Attach example of MVVM application >. Most notable about this example is that we are using RelayCommands to help with the separation of concerns between our view and viewmodel on the click event as outlined in this microsoft devblogs. Using Command Binding in Windows Forms apps to go Cross-Platform - .NET Blog

We would like to avoid using event listeners (+=) in our view for events, such as click, as it does not follow the MVVM pattern. In WPF, they have event binding built in and the microsoft blog post describes how we can perform something similar with RelayCommand. Both ways follow the MVVM design pattern. I would like to know if there was a built in Telerik way to perform event binding?

Thanks

Suresh
Top achievements
Rank 1
 updated question on 19 Feb 2025
2 answers
60 views

I have a grid with 60,000 records and I have the filter line at the top of the grid. When a user writes to the filter line, it takes a few minutes for the grid to be filtered.

Telerik version is 2021.2.511.40.

Are there any performance improvements in newer versions? Is there a guarantee that if we update the Telerik version this problem will be resolved?

F3M
Top achievements
Rank 2
Iron
Iron
 answered on 13 Jan 2025
2 answers
62 views

I have this code, and I just want to export all pages or a specific page from the loaded PDF in the RadPdfViewer, without saving the file to the computer.

The function RadPdfViewer.ExportPage returns a Bitmap, but when I assign the result of this function to a new variable of type Bitmap, an error occurs.

 

'1º Option - Work
            For i As Integer = 1 To RadPdfViewer1.Document.Pages.Count
                Dim guid As Guid = Guid.NewGuid

                RadPdfViewer1.ExportPage(i, "C:\temp\" & guid.ToString() & ".pdf", 1, True, ImageFormat.Png)

                Dim bitmap As Bitmap = New Bitmap("C:\temp\" & guid.ToString() & ".pdf")

                Dim reader As BarcodeReader = New BarcodeReader With {
                        .AutoRotate = True,
                        .TryInverted = True
                        }

                Dim result As Result = reader.Decode(bitmap)

                If result Is Nothing Then Continue For

                Dim decoded As String = result.ToString().Trim()

                If decoded Is Nothing Then Continue For

                If decoded <> TextBox1.Text Then TextBox1.Text = TextBox1.Text & vbNewLine & vbNewLine & decoded

                bitmap.Dispose()
                My.Computer.FileSystem.DeleteFile("C:\temp\" & guid.ToString() & ".pdf")
            Next

            '2 Option - Dont Work
            Dim bitmap As Bitmap = RadPdfViewer1.ExportPage(1, 1, False, ImageFormat.Png)

            '3º Option - Dont Work
            For Each bitmap As Bitmap In RadPdfViewer1.ExportPages(1, False, ImageFormat.Bmp)
                Dim reader As BarcodeReader = New BarcodeReader With {
                        .AutoRotate = True,
                        .TryInverted = True
                        }

                Dim result As Result = reader.Decode(bitmap)

                If result Is Nothing Then Continue For

                Dim decoded As String = result.ToString().Trim()

                If decoded Is Nothing Then Continue For

                If decoded <> TextBox1.Text Then TextBox1.Text = TextBox1.Text & vbNewLine & vbNewLine & decoded
            Next

F3M
Top achievements
Rank 2
Iron
Iron
 answered on 04 Dec 2024
1 answer
58 views

Hello,

 

I've benn experiencing extreme slowness in my ERP application. Not just when logging in but in any form window.

This only happens when the application is running on windows 11 from an application shortcut located on a remote server.  (The problem occurs on both desktop and notebook)

However, when running the same scenario on Windows 10, this slowdown does not occur.

Has anyone faced this problem with Windows 11 ?

 

Attached system configuration.

 

Thank You

 

obs: Running locally on both windows 11 and 10 there is no slowdown.

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Oct 2024
1 answer
108 views

Hi,

I have just updated to the latest version of UI WinForms, and can no longer compiler. RbgColor and RbgColors can no longer be used and ZipArchive.Read no longer exists.

No issues were reported when upgrading my application.

Have I done something wrong?

Kind regards

Toby

Toby
Top achievements
Rank 3
Iron
Iron
Iron
 updated answer on 26 Sep 2024
1 answer
112 views

Hello,

Visual Studio 2022 is still crashing in some situations like form renaming, saving assembly information or refactoring. In revision notes for main Telerik extensions, I can see some crashes were fixed in 2024.3.808 version. But it's still crashing, but in WinForms Converter extension, last version is 2024.3.805, and I don't see any update. I have disabled that extension for now, I am not using it, so it's not a problem for me. Will you update also this extension?

Vesko
Telerik team
 answered on 30 Aug 2024
Narrow your results
Selected tags
Tags
GridView
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?