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 3 933
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 programmaticall y). 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.mic rosoft.com> wrote in message
news:35******** *************** ***********@mic rosoft.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
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 programmaticall y). 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.mic rosoft.com> wrote in message news:35******** *************** ***********@mic rosoft.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
Well, "a lot" and "substantia l" 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.mic rosoft.com> wrote in message
news:7D******** *************** ***********@mic rosoft.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 programmaticall y). 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.mic rosoft.com> wrote in message news:35******** *************** ***********@mic rosoft.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 everytime i do this:
this.Controls.Add(SomeControl);
The html ends up after the </HTML> tag. Therefore it
doesn't work properly. What do i have to...
|
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 controls I created have been automatically defined for me in the
#Region " Web Form Designer Generated Code "
section
Later, when I add more controls...
|
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 I am hoping someone can help
clear up.
1. What is the difference between initializing a control in the
constructor, vs the OnInit(), vs the...
|
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") = ctrl2.Text
Session("Session3") = ctrl3.Text
Session("Session4") = ctrl4.SelectedValue
Session("Session5") = ctrl5.Text
Session("Session6") = ctrl6.Text
|
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 page.
2.) The identifier must be delcared with a minimum access of 'Protected' in
order to work.
If the above is indeed correct, then I have...
| |
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. When the user clicks the "Add another email" it
will call a client side JavaScript function, add_email, which will
dynamically add a new set of...
|
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 time. If I type the code
in the aspx manually it does get parsed correctly though.
This is an example of the aspx code that gets parsed...
|
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 controls the rendered names are changed and I appear to be
limited in what javascript events I can fire. I also can not seem to figure
out how to setup...
|
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
--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |