G
Guest
We are starting to standardize what we have been doing with our web
applications and I have a “cost-benefit†question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /> and <div> vs <aspanels> for current static
information.
In my view if we go ahead and make all things static into server controls
anyway then we have the advantage of things like localization, skins and
generally being able to program to them should the spec’s change.
This in general (plus general consistency) seems to outweigh the performance
concerns. Not to mention a server side control could just have viewstate off
and I am willing to bet it will be exactly like any literal control once it
gets to the client.
applications and I have a “cost-benefit†question when it comes to some
server controls.
Main two examples is
Plain text vs. <asp:label /> and <div> vs <aspanels> for current static
information.
In my view if we go ahead and make all things static into server controls
anyway then we have the advantage of things like localization, skins and
generally being able to program to them should the spec’s change.
This in general (plus general consistency) seems to outweigh the performance
concerns. Not to mention a server side control could just have viewstate off
and I am willing to bet it will be exactly like any literal control once it
gets to the client.