We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

an exception - Please have a look.

Thread ID:





28288 Apr 28,2005 12:57 PM UTC May 2,2005 03:15 PM UTC WinForms 1
Tags: GridControl
Maqsood Ahmed
Asked On April 28, 2005 12:57 PM UTC

I have implemented custom CellModel (using an example from syncfusion) a long time ago. I was playing around with the GridControl, in which the new CellModel is hosted. Playing around means.. right clicking and double clicking frequently. When I saw the application log, it was showing this exception. Please comment on it. Is their any workaround for it. ----------------------- System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.CanFloatCell (GridCellModelBase cellModel, Int32 rowIndex, Int32 colIndex, GridStyleInfo style, GridQueryFloatCell query) at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.FloatCell(Int32 rowIndex, Int32 colIndex, GridRangeInfo& boundsInfo) at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.EvalDelayedFloatCells (GridRangeInfo range, GridRangeInfo& boundsInfo) at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.EvaluateFloatingCells (GridRangeInfo range, GridRangeInfo& boundsInfo) at Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.EvaluateFloatingCells (GridRangeInfo range) at Syncfusion.Windows.Forms.Grid.GridControlBase.set_GridBounds(Rectangle value) at Syncfusion.Windows.Forms.Grid.GridControlBase.DrawGrid(Graphics g, Rectangle bounds, Boolean drawCurrentCell) at XTreme.BO.GUI.GridInCellRenderer.OnDraw(Graphics g, Rectangle clientRectangle, Int32 rowIndex, Int32 colIndex, GridStyleInfo style) ------------------------------------ I am using Syncfusion

Administrator [Syncfusion]
Replied On May 2, 2005 03:15 PM UTC

I searched both our forums and our Direct Trac database to see if anyone else has reported a callstack that included Syncfusion.Windows.Forms.Grid.GridModelFloatingCells.CanFloatCell, and could not find any hits on the method. If you are not using floating cells, then you can try explicitly setting Me.grid.FloatCellsMode = GridFloatCellsMode.None to see if that affects this problem. If you own our source code, you can use teh Assembly Manager to build debug versions of our libraries so you can step into our code to see exactly what is null in that method.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon