asp controls vs html objects

G

Guest

I'm starting to use asp.net objects more often than html object just because
thay are easer to change in VS.net My question is do they add a substantial
amount of weight to a web page nd should i be avoiding asp controls when
possible?

thanks
kes
 
K

Kevin Spencer

Anything that has process and data will add to the resource usage of the
page. HTML is compiled into a LiteralControl, which has no process (you
can't work with it programmatically). So, raw HTML is going to be the most
light-weight Control you can have.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
G

Guest

Thank you for answering,
I knew it added to over head, but i'm concerned that it adds a lot to a
page. I've done a lot with java objects and i've only used them when ever
absolutly necessary. True, asp.net is server side, and java is client, but
i'm starting to build asp.net pages like i build VB pages.
 
K

Kevin Spencer

Well, "a lot" and "substantial" are unfortunately subjective terms, relative
to nothing as they stand. I couldn't possibly tell you that.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 

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

Top