Ok, php guy who's *trying* to make the switch to ASP/VB.NET. Running into the normal snags, but all in all I'm muddling through. Currently however I'm hung up on how to add/specify the event handler for a programmatically created button.
According to MSDN I'm supposed to be able to identify the event handler function name in an OnCommand property/attribute for a button control. However, I can't seem to find such a public property/attribute in the Button's member list (there is a protected property by that name).
Is there a way to do this without creating a new button class that exposes a public OnCommand method and then calls the base class's method?
So far I'm finding a large number of tasks I used to be able to do easily in PHP to be difficult in ASP.NET. This is just another one of the straws on this camel's back.
Any help is GREATLY appreciated.
According to MSDN I'm supposed to be able to identify the event handler function name in an OnCommand property/attribute for a button control. However, I can't seem to find such a public property/attribute in the Button's member list (there is a protected property by that name).
Is there a way to do this without creating a new button class that exposes a public OnCommand method and then calls the base class's method?
So far I'm finding a large number of tasks I used to be able to do easily in PHP to be difficult in ASP.NET. This is just another one of the straws on this camel's back.
Any help is GREATLY appreciated.