E
elaine
I'm going to create a web form to show some textboxes to users, after
clicking the button, i will save whatever user inputed into database
and redirect to another page to display what the user just inputed into
some label controls. I'm thinking not using 2 pages but use panel
server control to group my textboxes and labels, before postback, i
will hide the panel with labels and show the panel with textboxes,
after postback, i will show the panel with labels and hide the panel
with textboxes.
The problem is, the textboxes and labels are generated in codebehind, i
don't know the control numbers will be end up with. I think for
performance purposes, i need to limit the number of the server controls
in my web form. My questions is hiding a lot of server controls will be
affect performance?
thanks,
Elaine
clicking the button, i will save whatever user inputed into database
and redirect to another page to display what the user just inputed into
some label controls. I'm thinking not using 2 pages but use panel
server control to group my textboxes and labels, before postback, i
will hide the panel with labels and show the panel with textboxes,
after postback, i will show the panel with labels and hide the panel
with textboxes.
The problem is, the textboxes and labels are generated in codebehind, i
don't know the control numbers will be end up with. I think for
performance purposes, i need to limit the number of the server controls
in my web form. My questions is hiding a lot of server controls will be
affect performance?
thanks,
Elaine