Calling UserControl public method

A

Ashutosh

HI Friends,

I have a usercontol where i have one public which i want to call in
wizard.....

in in wizard second page i have implemented a usercontrol and on last page
of wizard i have to call that usercontrol method....but i m getting an error
"Object reference not set to an instance of an object"

So any solution???
 
E

Ed Kaim [MSFT]

That exception means that you're trying to do something with a null object.
Use the debugger to find out which object method call is throwing the
exception in order to track down why it isn't getting initialized or why
it's getting set to null intentionally.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top