PC Review


Reply
Thread Tools Rate Thread

Datagrid cell delete/esc combinations yield dll null reference exception

 
 
=?Utf-8?B?SmFjayBIZXJy?=
Guest
Posts: n/a
 
      9th Feb 2004
I am using the process of posting back to the datasource as a device to catch certain errors made to the data in a datagrid. (The datagrid is linked to the corresponding datatable via a dataview.) Doing so seems to work, as the datagrid then shows the row highlighted by the "error provider" icon (red circle with exclamation mark). When I then double click on the cell to select its contents, press delete, then press escape, I get a System.Forms.Form.dll "NullReferenceException." I cannot find where to put the handler to catch this event. Does anyone have any ideas on this

Incidentally, other combinations of keystrokes and datagrid editing seem to work fine

Thank
Jack Herr
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out which ref-Variable is null, when exception is null reference Rolf Welskes Microsoft Dot NET Framework 2 26th Jan 2007 08:50 AM
Null Reference Exception Ganesh Palaniappan Microsoft ASP .NET 3 3rd Aug 2006 08:53 AM
Null Reference Exception john sutor Microsoft C# .NET 1 7th Jun 2004 08:25 PM
Null Reference Exception Help Matthew Sajdera Microsoft Dot NET Framework 1 20th May 2004 02:56 AM
Re: Null Reference Exception Chris Tacke, eMVP Microsoft Dot NET Compact Framework 0 13th Aug 2003 09:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:56 AM.