473,408 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

difference between htmlcontrols and web control.

Hi all,

can anyone tell me difference between htmlcontrols and web controls.

If i have table web control and table html controls which one should i
use. Because i can add runat tag to html controls. so what is exact
difference between these two.

any help will be truely appreciated.

thanks in advance.

Apr 9 '07 #1
5 2061
Many web controls (which, in turn, return HTML to the web browser) have
properties and methods added to them, which are unavailable in their HTML
counterparts. By adding and ID and a Runat=Server to html controls, you
essentially make it a generic html control, without the built in additions
of some of the ASP.NEt Server controls.

I use basic HTML for my tables most of the time, though a few times, I found
that I needed the added functionality of the server controls.

David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
"archana" <tr**************@yahoo.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
Hi all,

can anyone tell me difference between htmlcontrols and web controls.

If i have table web control and table html controls which one should i
use. Because i can add runat tag to html controls. so what is exact
difference between these two.

any help will be truely appreciated.

thanks in advance.

Apr 9 '07 #2
I've summarized the difference here:
http://SteveOrr.net/faq/3in1.aspx#HTMLvsWeb

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"archana" <tr**************@yahoo.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
Hi all,

can anyone tell me difference between htmlcontrols and web controls.

If i have table web control and table html controls which one should i
use. Because i can add runat tag to html controls. so what is exact
difference between these two.

any help will be truely appreciated.

thanks in advance.
Apr 11 '07 #3
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:2C**********************************@microsof t.com...
I've summarized the difference here:
http://SteveOrr.net/faq/3in1.aspx#HTMLvsWeb
Link is broken...
Apr 11 '07 #4
Seems to be working for me.
Perhaps there was a temporary glitch?

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:uG****************@TK2MSFTNGP05.phx.gbl...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:2C**********************************@microsof t.com...
>I've summarized the difference here:
http://SteveOrr.net/faq/3in1.aspx#HTMLvsWeb

Link is broken...
Apr 11 '07 #5
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netwrote in
message news:F8**********************************@microsof t.com...
Seems to be working for me.
Yes, fine now.
Perhaps there was a temporary glitch?
Doubtless.
Apr 11 '07 #6

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

Similar topics

0
by: dh | last post by:
As a simple example, I can't seem to be able to reference a label called "lblOutput" that exists in my test.aspx page from within a User control, TestControl.ascx. I am stumped. Any help is...
0
by: Jill Graham | last post by:
Hi folks, The pages of my website are built dynamically and are based on templates. A template can look like this : <table> <tr><td>This is the page header</td></tr> <tr><td>This is the...
3
by: Jill Graham | last post by:
Hi folks, The pages of my website are built dynamically and are based on templates. A template can look like this : <table> <tr><td>This is the page header</td></tr> <tr><td>This is the...
4
by: Henri | last post by:
For instance, when should I use HtmlControls.HtmlImage, and when should I use WebControls.Image ? And what is the difference between <img runat="server" /> and <asp:image runat="server" /> ?
8
by: Alan Silver | last post by:
Hello, ASP.NET newbie here so please be nice ;-) I'm reading ASP.NET Unleashed, following a recommendation here. I am a little confused about the difference between HTML controls and web...
4
by: SAI | last post by:
Both have "TextBox" element and "Runat server". I don't understand the difference. Please advise. Thanks.
3
by: Bob | last post by:
Hi, I 'm starting asp.net and i saw two ways to make buttons. Which way to use? Are the htmlbuttons in specific case better than webbuttons? Are there advantages? Thanks Bob htmlbutton:...
8
by: Nathan Sokalski | last post by:
I have a System.Web.UI.HtmlControls.HtmlInputFile control that I use to submit files. After the file is successfully submitted, I want the field to be reset so that the user knows the file was...
12
by: Eric Layman | last post by:
Hi, What's the difference between a normal web element: <input type="text" id="txtname" name="txtname" runat="server"> vs webcontrol text box: <asp:Textbox id="username" Columns="10"...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.