For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > October 2004 > Expert: How to check if an event handler has a delegate?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Expert: How to check if an event handler has a delegate?
Henri

2004-10-31, 3:57 pm

ASP controls such as TextBox seem to react to the presence of a deleguate
for the TextChanged eventhandler
so that text's value is saved in ViewState only when it's necessary (compare
new value to current value and raise TextChanged event when it's different)
I would like to implement the same feature in a server control I'm
designing.
But I don't know how to check whether a page or control is listening to my
control's event or not.
Can you help me?
Thanks

Henri



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com