With C# you have this ability:
private event EventHandler m_myEvent;
public event EventHandler MyEvent
{
add{
m_myEvent += value;
}
remove{
m_myEvent -= value;
}
}
with vb.net, you don't get this. ( why? who knows? microsoft doesn't
allow the add or remove event. ... which is a serious deficiency in my book)
See
http://www.developer.com/net/vb/article.php/2172721
"Karch" <no****@absotutely.comwrote in message
news:Ow**************@TK2MSFTNGP06.phx.gbl...
I have an event that is not being raised on postback from client script.
It
DOES get raised during a "normal" postback. The event is wired up in the
Page Init. I have traced through and my event target looks correct in both
scenarios.
How can I determine the current list of delegates to see where I am losing
my event when posting back from client script? Or, is there a better way?
Thanks!