473,480 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

asp controls vs html objects

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
Nov 19 '05 #1
3 929
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.

"Kurt Schroeder" <Ku***********@discussions.microsoft.com> wrote in message
news:35**********************************@microsof t.com...
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

Nov 19 '05 #2
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.

"Kevin Spencer" wrote:
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.

"Kurt Schroeder" <Ku***********@discussions.microsoft.com> wrote in message
news:35**********************************@microsof t.com...
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


Nov 19 '05 #3
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.

"Kurt Schroeder" <Ku***********@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
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.

"Kevin Spencer" wrote:
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.

"Kurt Schroeder" <Ku***********@discussions.microsoft.com> wrote in
message
news:35**********************************@microsof t.com...
> 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


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1346
by: Jax | last post by:
Lets say i have a list of objects of a variable size. What I would like to do is create controls and add them to the web page at run time that represent all the items in the list. Problem is...
4
2401
by: Boban Dragojlovic | last post by:
I create a new webform (I always use codebehind), and I insert some server-side controls into the form (the ASPX) Later, I switch to codeview, and I notice that some (sometimes all) of the...
3
1841
by: Ken Varn | last post by:
I am just starting the process of creating ASP.NET server controls. I have created controls for .NET applications, but have just started with ASP.NET. I am a little confused about some areas that...
9
3315
by: antonyliu2002 | last post by:
I want to create session objects for all web controls in a page. Right now, I am doing it in a dumb way like this (for example): Session("Session1") = ctrl1.Text Session("Session2") =...
3
1923
by: Mr Newbie | last post by:
I am messing around with Web User Controls at present and (think) I have discovered the following. 1.) The identifier for the control in the code behind must match the ID for the control on the...
5
3710
by: Dennis Fazekas | last post by:
Greetings, I am creating a web form which will all the user to add an unlimited number of email addresses. Basically I have 3 buttons, "Add Another Email", "-" to remove, and a "Save" button....
0
3230
by: Jeremy Chapman | last post by:
I have included below virtually all the code to a control I'm trying to build. My issue is that an array list property in my control does not get persisted properly to the aspx page code in design...
8
2333
by: =?Utf-8?B?U2hhd24gUmFtaXJleg==?= | last post by:
I am coming at the world from the standpoint of a veteran ASP Classic developer. I am not clear on the advantages of using the ASP.NET control over standard HTML control. With the ASP.NET...
9
2489
by: dhtml | last post by:
I have written an article "Unsafe Names for HTML Form Controls". <URL: http://jibbering.com/faq/names/ > I would appreciate any reviews, technical or otherwise. Garrett --...
0
7037
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6735
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6895
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5326
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
176
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.