S
Steve Caliendo
Hi,
Does anyone know why I can't do a Server.Transfer in a dynamically generated
button?
It always works just fine if I place the button on the webform at design
time, but if I add the button at runtime and I add a handler for it, I get
"Object reference not set to an instance of an oject".
Other code in the button executes just fine. I just NEED to leave this page
and I can't find a way to do it with dynamically created controls.
Response.Redirect doesn't work either.
Any ideas?
Thanks,
Steve
Does anyone know why I can't do a Server.Transfer in a dynamically generated
button?
It always works just fine if I place the button on the webform at design
time, but if I add the button at runtime and I add a handler for it, I get
"Object reference not set to an instance of an oject".
Other code in the button executes just fine. I just NEED to leave this page
and I can't find a way to do it with dynamically created controls.
Response.Redirect doesn't work either.
Any ideas?
Thanks,
Steve