Monday, March 26, 2012

Web control Resources

Can anyone tell me, is there a table showing the relative hit a control makes to the web page.
I remember many years ago each control had a size, this was a help desigining a form as you could make very lightweight forms if required.

I would like to know, for example, if a DataList is lighter than a single column datagrid, is a labet lighter than a textBox etc etcYou can test this by enabling tracing on a web page:


<%@. Page Language="VB" Trace="true" %>

Look for theControl Tree section. It shows the rendered size for your controls as well as the veiwstate size.
Thanks I will give it a try, presumably it will work the same in c#
Yes.

0 comments:

Post a Comment