Hello,
After installing the latest WinForms release, we are now getting an error when attempting to paste text into a cell.
The cell type = NumberCellType
We bind the grid to a datasource. Not all rows will have a value set for this column. If you try to paste a numeric value into one of the cells with no value, you will get the error isted below.
Error: {"Object reference not set to an instance of an object."}
Stack Trace:
at a1.a(String A_0, Int32 A_1, String A_2, Boolean A_3, String& A_4, Int32& A_5, Boolean& A_6)
at a1.a(String A_0, Int32 A_1, Int32 A_2, String A_3, String& A_4, Int32& A_5, Boolean A_6)
at FarPoint.Win.SuperEdit.SEditTextBox.PasteFromClipboard()
at FarPoint.Win.SuperEdit.SEditTextBox.ProcessAlphaNumericSysKey(Message& msg)
at FarPoint.Win.InputTextBox.ProcessAlphaNumericSysKey(Message& msg)
at FarPoint.Win.SuperEdit.SEditTextBox.ProcessWMKeyDownMsg(Message& msg)
at FarPoint.Win.InputTextBox.SEditProcessWmKeyDownMsg(Message& msg)
at FarPoint.Win.InputTextBox.ProcessKeyMessage(Message& msg)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at FarPoint.Win.SuperEdit.SEditTextBox.WndProc(Message& m)
at FarPoint.Win.InputTextBox.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.DebuggableCallback(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(Int32 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.Run(ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at JCP.Marketing.MPM.Presentation.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()