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.
Loading
Jaganathan BantheswaranPosted Dec 12, 2013, 2:24 AM
Do you have initialized all the controls in the UserControl?
Show us the code..