The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Why would CurrentCell.MoveTo be throwing a ''Object reference not set to an instance of an object.'' exception? I am doing a Rows.InsertRange(1, 1) and then trying to do a MoveTo(1, 1).
ADAdministrator Syncfusion Team May 4, 2004 01:15 PM UTC
Are you working with a GridControl? (For a GridDataBoundBound, you would add rows to the DataSource, an dnot use Rows.Insert).
You might try calling grid.CurrentCell.EndEdit just to make sure you do not have an open edit before you call Insert.
Can you post the CallStack when the exception is thrown? That might give some hints as to why something is null.
GWGreg WrightMay 4, 2004 02:43 PM UTC
I found the problem Clay. Thanks for the quick reply.