I have made one windowscontrollibrary,in that i created one function fun1() in which i created one thread,this thread call another function fun2().

Now this function fun2() contain event.

Now when i am using this dll in webpage in client side,and handling the event,i am getting this error that System.reflection.targetException and object does not match target type.

Plz anybody help me

Recommended Answers

All 2 Replies

can you please post the code for these two methods?

My Problem is Solved Now,Thanks a lot for ur reply

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.