Home Forums WinForms controls Xceed Grid for WinForms Creating an ComboxEditor Reply To: Creating an ComboxEditor

User (Old forums)
Member
Post count: 23064

i always get the following error

 

{Xceed.Grid.GridInternalException}
 HelpLink:   
 InnerException:  
 Message:   Impossible to bind the grid to the specified data source and member.
 Source:   Xceed.Grid
 TargetSite.Name:  BindToDataSource
 TargetSite.MemberType: Method
 StackTrace:     bij Xceed.Grid.DataManager.BindToDataSource(Object dataSource, String dataMember, Boolean onlyWhenNotSameList, Boolean& dataChanged)
   bij Xceed.Grid.DataManager.ForceDataBinding(Object dataSource, String dataMember, Boolean onlyWhenNotSameList, Boolean createDataRows)
   bij Xceed.Grid.DataManager.SetDataBinding(Object dataSource, String dataMember)
   bij Xceed.Grid.DetailGrid.SetDataBinding(Object dataSource, String dataMember)
   bij Xceed.Grid.GridControl.SetDataBinding(Object dataSource, String dataMember)
   bij Xceed.Editors.WinComboBox.SetDataBinding(Object dataSource, String dataMember)
   bij Xceed.Editors.WinComboBox..ctor(Type callerType, EnhancedBorderStyle borderStyle, Object dataSource, String dataMember, String valueMember)
   bij Xceed.Grid.Editors.ComboBoxEditor..ctor(Object dataSource, String dataMember, String valueMember)
   bij Compufit.ResourceManagement.OptionsForm.setEditType(Cell pCell, RMSettingTypeSettingInfo pRMSettingTypeSetting, CellEditorManager& pCellEditorManager, CellViewerManager& pCellViewerManager) in C:\SourceCode\Oxygen\trunk\Compufit ResourceManagement\Compufit.ResourceManagement\OptionsForm.cs:regel 2679
   bij Compufit.ResourceManagement.OptionsForm.setEditTypes(DataRow pDataRow, RMSettingTypeSettingInfo pRMSettingTypeSetting) in C:\SourceCode\Oxygen\trunk\Compufit ResourceManagement\Compufit.ResourceManagement\OptionsForm.cs:regel 2448
   bij Compufit.ResourceManagement.OptionsForm.fillSettingsGrid() in C:\SourceCode\Oxygen\trunk\Compufit ResourceManagement\Compufit.ResourceManagement\OptionsForm.cs:regel 1130
   bij Compufit.ResourceManagement.OptionsForm.tab_SelectedTabChanged(Object sender, TabEventArgs e) in C:\SourceCode\Oxygen\trunk\Compufit ResourceManagement\Compufit.ResourceManagement\OptionsForm.cs:regel 773
   bij Janus.Windows.UI.Tab.UITab.OnSelectedTabChanged(TabEventArgs e)
   bij Janus.Windows.UI.Tab.UITab.set_SelectedTab(UITabPage value)
   bij Janus.Windows.UI.Tab.UITab.OnMouseDown(MouseEventArgs e)
   bij System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   bij System.Windows.Forms.Control.WndProc(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bij System.Windows.Forms.Application.Run(Form mainForm)
   bij Test.Start.Main(String[] args) in C:\SourceCode\Oxygen\trunk\Compufit ResourceManagement\Test\Start.cs:regel 51

Imported from legacy forums. Posted by Insider (had 491 views)