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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataGridComboBoxColumn refresh

Thread ID:




10145 Jan 23,2004 07:17 AM UTC WinForms 0
Tags: FAQ
Asked On January 23, 2004 07:17 AM UTC

Hi there, I have two problems concerning DataGrid. First goes like this: i fill a the grid through a table; suppose the table has 3 cols x 4 rows; i click the grid on the third col, forth row; then i move the focus on another control and i clear the table. Next time the grid receives the focus, a "Index was outside the bounds of the array." error message. Inspecting the CurrentCell property of the DataGrid, you will see that it is the same when the grid had last time the focus. In our case (3,4); but since the grid has no rows... I have tried setting the CurrentCell manually to (0, 0), but still the same message. The second goes like this: I have a DataGrid filled through a DataTable; i enter the grid to edit some values; while i'm still editing the values, i move the focus to another control and clear the underlying DataTable. At this moment, a "Object reference not set to an instance of an object." error appears. Thanks in advance for any reply ! Leo


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

Live Chat Icon For mobile
Live Chat Icon