DataGridTextBox

  • Thread starter Thread starter Brandon Owensby
  • Start date Start date
B

Brandon Owensby

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
 
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.
 
Back
Top