PC Review


Reply
Thread Tools Rate Thread

DataGridTextBox

 
 
Brandon Owensby
Guest
Posts: n/a
 
      15th Aug 2003
I am working on some of my own column styles. I want them to use the
DataGridTextBox control so I don't have to rewrite the guts of it. Whenever
I do use it though I get an exception when I try and type in it. The
exception occurs in the OnKeyPress method of the DataGridTextBox. I cannot
see the code that is written there so unfortunatly I can figure out what
reference is missing. The exception is "Object reference not set to an
instance of an object". Thanks in advance for any help you can provide.

Brandon


 
Reply With Quote
 
 
 
 
Brandon Owensby
Guest
Posts: n/a
 
      15th Aug 2003
I found out what my problem was. If anyone else out there has run into to
this its a matter of running the SetDataGrid method on the DataGridTextBox.
It has to have the reference to the datagrid to work properly. Thanks again
and sorry if I got anyone looking around.


 
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 set DataGridTextBox.TabStop ? =?Utf-8?B?U2hhcm9u?= Microsoft C# .NET 2 13th Dec 2005 02:21 AM
DataGridTextBox =?Utf-8?B?Q29mZmVlIGd1eQ==?= Microsoft C# .NET 1 25th Dec 2004 06:49 PM
DataGridTextBox OnKeyPress Shravan Microsoft C# .NET 0 28th Oct 2003 12:06 PM
Re: Wordwrap on DataGridTextBox Ulrich Sprick Microsoft Dot NET Framework Forms 0 10th Sep 2003 05:36 PM
datagridtextbox columnn formating ?? John Shaw Microsoft ADO .NET 0 4th Aug 2003 02:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:44 AM.