Telerik Forums
UI for WinForms Forum
1 answer
36 views

We have a form in our application with just a RadSpreadsheet element that loads a local Excel file. 

It works fine on the machine we developed the appplication on. After we installed it on our machine for testing we get the following error when opening the form (full exception in attachments):

"Type 'Telerik.WinControls.UI.RadButtonAccessibleObject' has a ComVisible(false) parent 'System.Windows.Forms.Control+ControlAccessibleObject' in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed."

The spreadsheet is then also crossed out in red.

 

Is there maybe something we are missing here?

 

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Mar 2025
1 answer
27 views
How can I prevent the controls at the top of the form from spacing out when the form is larger than my design size? I would prefer that the tabbedgroup at the bottom just expand to fill the available space, but I cannot seem to make that work.
Dinko | Tech Support Engineer
Telerik team
 answered on 14 Mar 2025
1 answer
36 views

Hello,

is there any alternate available to apply specific theme directly on win form controls other than making a change in stylesheet (to apply different colors and appearance?) basically, for specific theme user wants to apply different color. one option is to create .tsp file and add it to resource. so is there any other way possible where user don't need to create. tsp or any other file and by using direct property he can achieve the same.  (controls like date time picker, calendar, tree view, Rad buttons etc.)

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 13 Mar 2025
1 answer
39 views

We set AllowDeleteRow = true, but this doesn't seem to do anything.

What is the default capability for deleting rows/records in the GridView?

Is there a default 'delete'-button or context menu we can show, or do we need to implement it oursleves? The documentation is quite lacking here...

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Mar 2025
1 answer
32 views

We want to switch the gridview to german. 

This article suggests we have to provide our own translations: Localization - UI for WinForms Documentation - Telerik UI for WinForms

We actually would prefer not to do that...

Are there any default translations we can use? If so, how would we integrate them?

If not; where exactly does the provider class reside in our application, and where do we need to set the CurrentProvider?

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Mar 2025
1 answer
23 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
0 answers
30 views

I've been looking at the release notes and i can see that a selection checkbox has been added since we last updated which is great.  I can also see as per the release notes that there is a "New mode for selecting rows only via the selection checkboxes".  Does anyone know how to configure this?

 

Cheers!

Alex
Top achievements
Rank 1
 asked on 07 Mar 2025
1 answer
31 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
41 views

I want to set the selected date of the Calendar, like with the DateTimePicker.

The SelectedDate property, which allegedly has a getter and setter, does not seem to work.

radDateTimePicker1.Value = DateTime.Now.AddDays(-3);  // This works great. The picker displays the date from three days ago.

radCalendar1.SelectedDate = DateTime.Now.AddDays(-3); // This shows today's date.

What am I missing?

TIA!

 

Nadya | Tech Support Engineer
Telerik team
 answered on 06 Mar 2025
1 answer
33 views
We have a screen with two RadPageViews side by side. We need to allow page items to be reordered within each page view AND to allow page items to be dragged between the two page views.

We have implemented the dragging between the two page views using this approach: https://www.telerik.com/forums/dragdrop-between-radpageviews

However, when we set the ItemDragMode to facilitate the reordering it has no effect. https://docs.telerik.com/devtools/winforms/controls/pageview/drag-and-drop/radpageviewdragdropservice

Is it possible to get these two behaviours to work at the same time?
Dinko | Tech Support Engineer
Telerik team
 answered on 27 Feb 2025
Narrow your results
Selected tags
Tags
GridView
General Discussions
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?