performance

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
 
S

Scott Allen

Hi Elaine:

Generally you have to test these types of scenarios in your
environment, with your expected production hardware and with the # of
concurrent users you expect your application to see. That is the only
way to tell for sure, but ...

I think you'll be find if you want to use panels and lots of server
controls on the web.form. The framework has a lot of work and
optimization in place to be fast for a wide variety of applications.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,096
Latest member
ThurmanCre

Latest Threads

Top