Groups | Blog | Home
all groups > visual studio .net general > february 2004 >

visual studio .net general : Check box AfterUpdate Event problem


Chan
2/27/2004 7:26:05 AM
I have a check box in my ASP.Net Web form
I have an AfterUpdate event for a check box
But When I check / uncheck that check box, AfterUpdate does not get invoked
Please let me know what causes this

Thanks in advanc
robgruen NO[at]SPAM online.microsoft.com
2/27/2004 8:24:26 PM
Chan,

Make sure the event is wired up. If you're using VB.NET check for the
Handles keyword and the event name at the end of the method declaration.
If you're using C# check the form designer generated code and see if the
Control.AfterUpdate += new AfterUpdateEvent(method name) line is in there.
Also, make sure you're using the right control as the CheckBox doesn't have
an AfterUpdate event.

Thanks! Robert Gruen
Microsoft, VB.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
AddThis Social Bookmark Button