Groups | Blog | Home
all groups > dotnet windows forms databinding > july 2005 >

dotnet windows forms databinding : type of EventHandler


Hans-Peter Haberlandner
7/1/2005 11:01:51 AM
We use customized types of EventHandlers with different EventArgs for the
"Changed" events in varoius classes that are databound. This seams to be a
problem: we get an exception in the internals of databinding saying that the
type could not be converted to the target type.
Using the system type EventHandler and EventArgs everything is fine. The
documentation does not say anything about the type of the event handler to
use.
What exactly is the problem and is there a way to use our customized event
handlers?

Thanx
Hans-Peter

v-kevy NO[at]SPAM online.microsoft.com
7/2/2005 12:00:00 AM
Hi,

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
v-jetan NO[at]SPAM online.microsoft.com (
7/4/2005 12:00:00 AM
Hi Peter,

Thanks for your post.

Can you provide us more information about your problem? The best way is
helping us to reproduce out your problem, then we can understand it better.

First, are you doing simple databinding or complex databinding? Which
control and datasource do you use? What event exactly does your "Changed"
event point to? I think some sample code snippet or a sample project may
help.

I will wait for your further feedback for these information. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button