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. 5 2071
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.comwro te in message
news:11******** *************@n 59g2000hsh.goog legroups.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.
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.comwro te in message
news:11******** *************@n 59g2000hsh.goog legroups.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.
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:2C******** *************** ***********@mic rosoft.com...
I've summarized the difference here: http://SteveOrr.net/faq/3in1.aspx#HTMLvsWeb
Link is broken...
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**@markNOSPA Mrae.netwrote in message
news:uG******** ********@TK2MSF TNGP05.phx.gbl. ..
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:2C******** *************** ***********@mic rosoft.com...
>I've summarized the difference here: http://SteveOrr.net/faq/3in1.aspx#HTMLvsWeb
Link is broken...
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:F8******** *************** ***********@mic rosoft.com...
Seems to be working for me.
Yes, fine now.
Perhaps there was a temporary glitch?
Doubtless. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 appreciated.
Thanks.
The error I get when I compile is...
"The type or namespace name 'lblOutput' could not be found (are you
|
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 page content</td></tr>
<tr><td>This is the page footer</td></tr>
|
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 page content</td></tr>
<tr><td>This is the page footer</td></tr>
|
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" /> ?
|
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
controls. Obviously there are web controls that don't have any relation
to HTML controls (like the calendar), but the basic web controls that
produce links, labels, etc seem to do the same as the HTML controls (or
vice-versa).
| |
by: SAI |
last post by:
Both have "TextBox" element and "Runat server". I don't understand the
difference. Please advise. Thanks.
|
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:
<script runat="server">
|
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 submitted. However, ASP.NET
does not let you change the Value property of an HtmlInputFile control. How
can I reset the HtmlInputFile control to it's original state? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
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" runat="server">
</asp:TextBox>
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |