Telerik Forums
UI for WinForms Forum
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
634 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
251 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
5 answers
348 views

Dears,

I am using Telerik Windows form with below version.

Telerik.WinControls.UI version - 2013.2.724.40
.NET Framework version - 4

I have a strange problem, the text of all the rad controls was omitted and being displayed as Ellipsis (...) even though the control width is greater than the control content(text) width.

 

am facing this issue from the last 3 days but before that same RadForm displayed all the text normally. 

I don't understand the exact problem, whether  some setting are creating the problem or build issues or cache issues or what ??..

I have checked the properties like width, Autosize & Font size  and tried in different ways but find no clue :(

any suggestions.

Thank you.

Dimitar
Telerik team
 answered on 07 Feb 2019
1 answer
105 views
A table has two dialogs that can modify the way the table looks, Table properties and Table borders. Both can be open from context menu, but only table properties can be open from ribbon bar as well. Is this a bug or a feature?
Dimitar
Telerik team
 answered on 07 Feb 2019
5 answers
205 views

Hi,

I have cardView that I am filling it with data manually (no data-binding).

I have problem in using text wrapping. See attached image.

as you can see the blue test is clipped, I need to display the entire test lets say in two line not one line. Can this be done?

Many thanks in advance.

Omar

 

 

Omar
Top achievements
Rank 1
 answered on 06 Feb 2019
1 answer
244 views

Is there a way to make border for Chart?

Example in attachment 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2019
11 answers
11.2K+ views
Hello,

On my gridviews, I'd like to be able to fill the entire width of the screen (for exmaple, using Autosize = true or

GridViewAutoSizeColumnsMode.Fill

but also, set the BestFitColumns, so they are not all the same size.

Is there a way to do this or am I stuck with having to do one or the other?

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2019
1 answer
124 views
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2019
1 answer
116 views

During localization it may happen that some buttons should become wider. In my case changing ColorDialogLocalizationProvider.CurrentProvider is not enough. For most dialogs that can appear from rich text editor I can replace them with inherited class and play with this.Controls property. But I don't see a way to do that for color dialog.

I could override three event handlers (ButtonBackColor_Click, ButtonForeColor_Click, ButtonParagraphBackColor_Click) of RichTextEditorRibbonBar and take and tweak the code that is there, but that feels like a kludge. What is the proper way to tweak control sizes in color dialogs created from rich text editor?

Hristo
Telerik team
 answered on 06 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
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?