G
Guest
Hi there,
I am using asp.net with c#. I created a web user control "MyControl". When I
click a button, page creates an instance of "MyControl" and loads it at run
time. It is good. And the "MyControl" has a button in it which can do some
magic work. But when I click this button in MyControl, page reloads and
"MyControl" disappears. I know "Mycontrol" is created at run time and when
page reloads, the creating event is not triggered. It is right.
My question is: how to retain this dynamic control over pages? Is it possible?
thanks,
Karl
I am using asp.net with c#. I created a web user control "MyControl". When I
click a button, page creates an instance of "MyControl" and loads it at run
time. It is good. And the "MyControl" has a button in it which can do some
magic work. But when I click this button in MyControl, page reloads and
"MyControl" disappears. I know "Mycontrol" is created at run time and when
page reloads, the creating event is not triggered. It is right.
My question is: how to retain this dynamic control over pages? Is it possible?
thanks,
Karl