M
Mark Broadbent
I had a requirement to code dynamic delegates, so they attach detach from
the button as needed ... then after time realised that the button is not
retaining it's click handlers. To circumvent this I am saving a enum value
to viewstate to tell the load event what delegates handlers to attach on
each postback.
As far as I am concerned I shouldn't need to do this. The button should
retain the state of what handlers have been assigned to it.
Anyone else agree?
Br,
Mark.
the button as needed ... then after time realised that the button is not
retaining it's click handlers. To circumvent this I am saving a enum value
to viewstate to tell the load event what delegates handlers to attach on
each postback.
As far as I am concerned I shouldn't need to do this. The button should
retain the state of what handlers have been assigned to it.
Anyone else agree?
Br,
Mark.