Naseena P

Naseena P

  • NA
  • 11
  • 6.8k

user control in c# windows applications

Dec 12 2013 12:47 AM
when creating user control in window forms, generating following error.... how can solve it...

"Code generation for property 'SearchKey' failed.  Error was: 'Property accessor 'SearchKey' on object 'ucTextBox1' threw the following exception:'Object reference not set to an instance of an object.'"

'SearchKey' is property name added in the user control.
'ucTextBox1' is name of user control.

Answers (1)