G
Guest
hi,
I have created usercontrol which is having combobox and command button.
my requirement is, If i select some particular item in combo box, I will do
some process and i will remove this user control from my screen. When I do
this, it is successfully removing that control, but once come out that
control it is displaying
"Object reference not set to instance of object" error. If i writtern this
code in Command button then it is working correctly. I don't understand this
concept.
How to handle this situation. Please help. It is very urgent.
I have created usercontrol which is having combobox and command button.
my requirement is, If i select some particular item in combo box, I will do
some process and i will remove this user control from my screen. When I do
this, it is successfully removing that control, but once come out that
control it is displaying
"Object reference not set to instance of object" error. If i writtern this
code in Command button then it is working correctly. I don't understand this
concept.
How to handle this situation. Please help. It is very urgent.