Telerik Forums
UI for WinForms Forum
1 answer
731 views

Hi!

Can you please tell me how can I change the background color of dropdown list item with SetThemeValueOverride when the item is in mouseOver state?

And how can I identify the elements, primitives, properties in every case if I need to change something with SetThemeValueOverride? Is there a generic guideline?

Until now I used your Visual Style Builder, but in some specific cases it doesn't help.

e.g.: DropDownList has a ListView, but how can I access ListItems and their states (default, mouseOver, Disabled etc.) through the DropDownList element?

 

Thank you,
Sandor

Hristo
Telerik team
 answered on 12 Feb 2019
5 answers
184 views
So, I've been saving my Visual Studio Settings for years now, and the usual size  of the file is ~300kb
On Visual Studio 2019, when exporting the settings, the file created is now 20MB, a substantial difference to say the least.

Now, I can't confirm that this is Telerik's doing, but upon inspecting the endless lines of XML, one thing has remained the same... Telerik references.

You can access a zipped version of it here: https://www.dropbox.com/s/51ves9qq7ui02sl/2019-02-04%20Default%20VB.rar?dl=1
If this has nothing to do with Telerik, I apologise for having wasted your time.

Best regards,
Ioannis Mamalikidis
Ioannis
Top achievements
Rank 2
 answered on 11 Feb 2019
6 answers
274 views

Hello,

Please advise whteher there is an available code sample on how to use the following specified method in winforms

IImageExporter..::..ExportToImage Method 

http://doc.evget.com/HelpDocument/RadControlsForWpf/html/M_Telerik_Windows_Controls_GanttView_IImageExporter_ExportToImage.htm

or any alternative routine to achieve the same desired effect.

Many thanks

Dimitar
Telerik team
 answered on 11 Feb 2019
1 answer
175 views

Hi,

After enabling spell check on richtexteditior (IsSpellCheckingEnabled = true;). no spell checking is detected. the default English is not working.

Is there something else need to be done on top of   (IsSpellCheckingEnabled = true;)?

Regards,

Omar

 

Hristo
Telerik team
 answered on 11 Feb 2019
13 answers
318 views
Hy, I wanted to know how to edit the Grid Grouping Panel and the elements within this element, such as the buttons ?
I hope a reply, thanks
Dimitar
Telerik team
 answered on 11 Feb 2019
1 answer
105 views

Hi,

My start time is 01/03/2018, and my end time in 09/02/2019.

I would like to zoom in the time line so that I can see all the tasks within one page, is that possible?

Regards,

Omar

Omar
Top achievements
Rank 1
 answered on 09 Feb 2019
2 answers
76 views

Hi,

Is it possible to make the GanttView read only, that is no update is allowed.

 

Also, is it possible to make the left side panel fixed?

 

Regards,

Omar

Omar
Top achievements
Rank 1
 answered on 09 Feb 2019
3 answers
1.2K+ views

Hi finally ended with the proyect, the problem now  is when the user of the app try to use with .exe, show this error

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinForms.Controls.Spreadsheet.Worksheets.Commands.Descriptors.WorksheetCommandDescriptors.<.ctor>b__6d()
   at Telerik.WinForms.Controls.Spreadsheet.Commands.Descriptors.CommandDescriptor.<>c__DisplayClass2.<.ctor>b__0()
   at Telerik.Windows.Documents.Spreadsheet.Utilities.DelayedExecution.ExecuteAction(Boolean asynch)
   at Telerik.Windows.Documents.Spreadsheet.Utilities.DelayedExecution.Timer_Tick(Object sender, EventArgs e)
   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   at System.Windows.Forms.Control.WndProcException(Exception e)
   at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at SPL.MDIMain.ShowFormGeneraPlantilla(Object sender, EventArgs e) in C:\Users\502699069\Documents\SPL Con Telerik_1\SPL\MDIMain.cs:line 115
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SPL
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/SPL.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3314.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1590.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SPL_EntityLibrary
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/SPL_EntityLibrary.DLL
----------------------------------------
Telerik.WinControls.UI
    Assembly Version: 2018.3.1016.40
    Win32 Version: 2018.3.1016.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
    Assembly Version: 2018.3.1016.40
    Win32 Version: 2018.3.1016.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.WinControls.DLL
----------------------------------------
Oracle.DataAccess
    Assembly Version: 4.112.3.0
    Win32 Version: 4.112.3.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Oracle.DataAccess/v4.0_4.112.3.0__89b483f429c47342/Oracle.DataAccess.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Data.Entity
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1590.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
TelerikCommon
    Assembly Version: 2018.3.1016.40
    Win32 Version: 2018.3.1016.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Telerik.Windows.Documents.Spreadsheet
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Documents.Spreadsheet.DLL
----------------------------------------
Telerik.WinControls.RadSpreadsheet
    Assembly Version: 2018.3.1016.40
    Win32 Version: 2018.3.1016.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.WinControls.RadSpreadsheet.DLL
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
Telerik.Windows.Documents.Core
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Documents.Core.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf.DLL
----------------------------------------
Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.DLL
----------------------------------------
Telerik.Windows.Documents.Fixed
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Documents.Fixed.DLL
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
Telerik.Windows.Zip
    Assembly Version: 2018.3.1010.40
    Win32 Version: 2018.3.1010.40
    CodeBase: file://app_dt/App-DIS/Apl/Exes_Desa/SPL/Aplicaci%C3%B3n/Ejecutable/Telerik.Windows.Zip.DLL
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 

 

*****************************************************************************

 

the compilation was on Release of the solution 

 

 

 

 

 

Hristo
Telerik team
 answered on 08 Feb 2019
20 answers
647 views
There is no CellContentClick in RadGridView Compare to dataGridView. is there another way to implement event in radgridview just like CellContentClick?

Thanks
Pedro Filipe
Top achievements
Rank 1
 answered on 07 Feb 2019
1 answer
259 views

Hello,

 

I am trying to style a RadDropDownButton in a winform, and am having difficulty determining where or how to edit the dropdown item list.

I've edited the shape of the RadDropDownButton by changing the ActionButton, ArrowButton and BorderElement to rounded corners, but now it looks slightly odd when the button is clicked (see pic attached).  

I would like to move the menu to be centered below the button text to the right of the rounded corners, and maybe try rounding the corners and changing the backcolor of the menu items as well.  I am not sure how to access the visual elements of the items, or dropdown menu list.

How / where can this be done?

Thanks

 

 

Dimitar
Telerik team
 answered on 07 Feb 2019
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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
CollapsiblePanel
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?