J
js
I am adding a Label and a Textbox server controls to a cell in a table.
The code is in Page_Load event. In stead of getting one for each of
the controls, I am getting two for each. It seems that the event is
fired twice, because I put Response.Write() statement in there, they
are output twice. Where should I add the code to add dynamic control
ONLY ONCE? Thanks.
The code is in Page_Load event. In stead of getting one for each of
the controls, I am getting two for each. It seems that the event is
fired twice, because I put Response.Write() statement in there, they
are output twice. Where should I add the code to add dynamic control
ONLY ONCE? Thanks.