Home - Forums-.NET - FlyGrid.Net (Windows Forms) - exception in flygrid

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

exception in flygrid
Link Posted: 24-Nov-2005 03:42
Hi,
I have a lookuplist column in my grid bound to a datatable.
The datasource of the column is nothing (as there is no value in the database). If I double click on the combobox, it raises the following exception:

An unhandled exception of type 'System.IndexOutOfRangeException' occurred in ninerays.flygrid.columns.dll

Additional information: Index was outside the bounds of the array


Can you help?

Thanks
Link Posted: 23-Jan-2006 04:04
I've never had any reply for this issue. It is still happening   . Can you help?
Thanks
Link Posted: 23-Jan-2006 13:42
Can you provide me with stack trace of this exception?
Link Posted: 23-Jan-2006 22:32
Stack trace is:

System.IndexOutOfRangeException was unhandled
  Message="Index was outside the bounds of the array."
  Source="NineRays.FlyGrid.Columns"
  StackTrace:
       at NineRays.Windows.Forms.Grids.LookupListColumn.IncrementValue(NodeBase node, IServiceProvider provider)
       at NineRays.Windows.Forms.FlyGrid.DoubleClickRow(Int32 row, Boolean toggleExpand, Int32 col)
       at NineRays.Windows.Forms.FlyGrid.OnNodeDoubleClick(FlyGridViewPort port, NodeBase node, Int32 col)
       at NineRays.Windows.Forms.FlyGrid.OnMouseClick(FlyGridViewPort port, NodeBase node, Int32 col, Int32 x, Int32 y, Int32 count, MouseButtons button)
       at NineRays.Windows.Forms.FlyGrid.OnMouseUp(MouseEventArgs me)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at NineRays.Windows.Forms.FlyGrid.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(Form mainForm)
       at AdminSystem.Global.main() in C:\Documents and Settings\samuel\My Documents\Visual Studio 2005\Projects\ADMINSYSTEM\Business Logic\Global.vb:line 125
       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()
Link Posted: 24-Jan-2006 08:49
Thanks for the stack trace, this problem will solved to the nearest FlyGrid.Net update.