Unfortunately my code is at work. So I will check where I do it (load or preinit) tomorrow. I thing using some sort of state control might be complicated beyond my capabilities.
If I change the code to create a link with a value fixed to it, instead of a button causing a postback, would that work instead?
So have something like
www.whatever.co.uk/dosomething.aspx?id=control1
That might actually be easier.
Cheers
edit: removed linkyness
EDITED: 23 Jun 2010 19:53 by TWISTER