Hi,
The events need to be wired up at the correct place in execution
sequence.
ie. if you add the handler for the LinkButton_Click event in the code of
SomeOtherSub then the event isn't wired up when the .net engine looks for an
event handler for the linkbutton's click event:
Page_Load
LinkButton_Click
SomeOtherSub
Does this make sense? I'm sure that someone who knows their stuff could
explain this a lot better than I can - the basic point is that you need to
wire up your events dynamically before the event handler is called in the
sequence. Page_load is the obvious place to do this
Nick
"Eldon Ferran de Pol" <El**************@discussions.microsoft.com> wrote in
message news:EA**********************************@microsof t.com...
I'm trying the dynamically wire up events for a load of LinkButtons
contained within an <asp:Table>. For some reason if I try and do this outside the
Page_Load event my events simply don't fire despite the correct postback
code being added on the client and the postback taking place.
Can anyone help please?
Eldon