473,748 Members | 9,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<form> syntax

HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,

Apr 8 '07 #1
19 2153
The *asp.net html form control* reference, not the html form reference.

See :
http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
=============== =============== =====
"Coward 9" <Co*****@gmail. comwrote in message
news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,

Apr 8 '07 #2
"Coward 9" <Co*****@gmail. comwrote in message
news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?
http://msdn2.microsoft.com/en-us/lib...50(vs.71).aspx
Apr 8 '07 #3
runat= is not an HTML attribute. It is a special attribute used in HTML
that will be parsed by the ASP.NET prior to rendering to the client. Since
ASP.NET is server-side code, it is parsed on the server before sending
anything to the client. The client does not receive the runat= syntax.

"Coward 9" <Co*****@gmail. comwrote in message
news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,

Apr 8 '07 #4
If runat="server" is unfamiliar, then you should take some time to look here:

http://msconline.maconstate.edu/tuto...20/default.htm

"Coward 9" <Co*****@gmail. comwrote in message news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,

Apr 8 '07 #5
The ASP.NET Web Form Control, not *HTML Form Control*. If it's an ASP.NET
control, it's not (by definition) an HTML control as well.
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ei******** ********@TK2MSF TNGP02.phx.gbl. ..
The *asp.net html form control* reference, not the html form reference.

See :
http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
=============== =============== =====
"Coward 9" <Co*****@gmail. comwrote in message
news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
>HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,


Apr 8 '07 #6
re:
The ASP.NET Web Form Control, not *HTML Form Control*.
May I repeat my statement, so your mistaken impression is corrected ?

!The *asp.net html form control*

From the page link I sent :

http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx

You can indicate that an HTML element should be parsed and
treated as a server control by adding a runat="server" attribute.

Furthermore, the HtmlForm Control creates a server-side control that maps to the
<formHTML element and allows you to create a container for elements in a web page.

In essence, the "ASP.NET Web Form Control" is an HTML Form Control which,
by adding the runat="server" property, is processed server-side.

HTH...

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
=============== =============== =====
"Scott M." <s-***@nospam.nosp amwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
The ASP.NET Web Form Control, not *HTML Form Control*. If it's an ASP.NET control, it's not (by
definition) an HTML control as well.
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ei******** ********@TK2MSF TNGP02.phx.gbl. ..
>The *asp.net html form control* reference, not the html form reference.

See :
http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
============== =============== ======
"Coward 9" <Co*****@gmail. comwrote in message
news:11******* *************** @p77g2000hsh.go oglegroups.com. ..
>>HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,



Apr 8 '07 #7
I am well aware of how the rendering of server controls results in HTML, but
that has nothing to do with what to call the control in question. Your
terminology is what I'm questioning, not the rendering process.

May I repeat my statement so your incorrect statement can be corrected?

If "runat=serv er" is present, then the control can be programmed server-side
as an "ASP .NET Web Form Control", while "HTML controls" do not have this
capability. This is why VS .NET has two sections for standard page
controls, one is "HTML" and one is "Web Form".

If you take a normal HTML control and add "runat=serv er", you now have a
third category of control, the "HTML Server Control", not the "ASP .NET HTML
Server Control".

I'll refer to your presented article, which is entitled "HTML Server
Controls", not "ASP .NET HTML Controls". In fact, a search of that article
of the words "ASP .NET HTML" or "ASP.NET HTML" shows that no where in the
artcile are "ASP .NET" and "HTML" used next to each other.
HTH
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:%2******** *******@TK2MSFT NGP02.phx.gbl.. .
re:
>The ASP.NET Web Form Control, not *HTML Form Control*.

May I repeat my statement, so your mistaken impression is corrected ?

!The *asp.net html form control*

From the page link I sent :

http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx

You can indicate that an HTML element should be parsed and
treated as a server control by adding a runat="server" attribute.

Furthermore, the HtmlForm Control creates a server-side control that maps
to the
<formHTML element and allows you to create a container for elements in a
web page.

In essence, the "ASP.NET Web Form Control" is an HTML Form Control which,
by adding the runat="server" property, is processed server-side.

HTH...

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
=============== =============== =====
"Scott M." <s-***@nospam.nosp amwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>The ASP.NET Web Form Control, not *HTML Form Control*. If it's an
ASP.NET control, it's not (by definition) an HTML control as well.

>"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ei******* *********@TK2MS FTNGP02.phx.gbl ...
>>The *asp.net html form control* reference, not the html form reference.

See :
http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
============= =============== =======
"Coward 9" <Co*****@gmail. comwrote in message
news:11****** *************** *@p77g2000hsh.g ooglegroups.com ...
HI,

I saw in an example hello.aspx, there is a <form tagbeing used like

<form runat="server>

I search all html tag references and could NOT find "runat" attributes
for <formtag.

which reference should I use in order to find that?

Thanks,



Apr 9 '07 #8
"Scott M." <s-***@nospam.nosp amwrote in message
news:OZ******** ******@TK2MSFTN GP04.phx.gbl...
May I repeat my statement so your incorrect statement can be corrected?
Sigh...here he goes again...
Apr 9 '07 #9
re:
Your terminology is what I'm questioning, not the rendering process.
You can nitpick my terminology all you want to.

But you should not nitpick while posting mistaken information.
It makes you look like, well, a nitpicker, and opens the door for *you* to be nitpicked.

re:
!This is why VS .NET has two sections for standard page
!controls, one is "HTML" and one is "Web Form".

Let me nitpick you, now, for a bit, as an example.

It is not "VS.NET" which has those two sections, it's *ASP.NET* which has them.

....and those aren't the correct names for the two sections.

The correct name for them is "HTML Server Controls" and "Web Server Controls",
respectively, and the last one is not called "Web Form Controls, as you allege.

The "Web Form" is a *container* for Web Server Controls, not a web form control itself.

So, to make this abundantly clear, there's only *two* types of web forms, not three.
One is the HTML web form; the other is the ASP.NET web form.

The difference is that one has runat="server"
and the other one doesn't, but you knew that, right ?

Look, we can spend a few back-and-forths nitpicking each other,
or we can try not to nitpick senselessly.

You knew what I meant when I wrote :

!The *asp.net html form control* reference, not the html form reference.

....just as I knew what you meant about the "two sections" and "VS.NET",
even if what you stated was not precisely correct on two counts.

Professional programmers, unless there's clearly mistaken references,
should avoid nitpicking for nitpicking's sake.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
=============== =============== =====
"Scott M." <s-***@nospam.nosp amwrote in message news:OZ******** ******@TK2MSFTN GP04.phx.gbl...
>I am well aware of how the rendering of server controls results in HTML, but that has nothing to do
with what to call the control in question. Your terminology is what I'm questioning, not the
rendering process.

May I repeat my statement so your incorrect statement can be corrected?

If "runat=serv er" is present, then the control can be programmed server-side as an "ASP .NET Web
Form Control", while "HTML controls" do not have this capability. This is why VS .NET has two
sections for standard page controls, one is "HTML" and one is "Web Form".

If you take a normal HTML control and add "runat=serv er", you now have a third category of
control, the "HTML Server Control", not the "ASP .NET HTML Server Control".

I'll refer to your presented article, which is entitled "HTML Server Controls", not "ASP .NET HTML
Controls". In fact, a search of that article of the words "ASP .NET HTML" or "ASP.NET HTML" shows
that no where in the artcile are "ASP .NET" and "HTML" used next to each other.
HTH
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:%2******** *******@TK2MSFT NGP02.phx.gbl.. .
>re:
>>The ASP.NET Web Form Control, not *HTML Form Control*.

May I repeat my statement, so your mistaken impression is corrected ?

!The *asp.net html form control*

From the page link I sent :

http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx

You can indicate that an HTML element should be parsed and
treated as a server control by adding a runat="server" attribute.

Furthermore, the HtmlForm Control creates a server-side control that maps to the
<formHTML element and allows you to create a container for elements in a web page.

In essence, the "ASP.NET Web Form Control" is an HTML Form Control which,
by adding the runat="server" property, is processed server-side.

HTH...

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
============== =============== ======
"Scott M." <s-***@nospam.nosp amwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>>The ASP.NET Web Form Control, not *HTML Form Control*. If it's an ASP.NET control, it's not (by
definition) an HTML control as well.

>>"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ei****** **********@TK2M SFTNGP02.phx.gb l...
The *asp.net html form control* reference, not the html form reference.

See :
http://msdn2.microsoft.com/en-us/lib...zf(VS.71).aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
============ =============== ========
"Coward 9" <Co*****@gmail. comwrote in message
news:11***** *************** **@p77g2000hsh. googlegroups.co m...
HI,
>
I saw in an example hello.aspx, there is a <form tagbeing used like
>
<form runat="server>
>
I search all html tag references and could NOT find "runat" attributes
for <formtag.
>
which reference should I use in order to find that?
>
Thanks,
>





Apr 9 '07 #10

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

Similar topics

6
6193
by: Michael Hamm | last post by:
Hi, I'm trying to write a <form> whihc will retrieve a Web page on another server. I have (essentially) this: <form action="http://cgi.cs.indiana.edu/~oracle/digest.cgi"> <input type="submit"><select name="N"> <option value="1234#1234-01">foo <option value="1010#1010-02">bar <option value="1001#1001-03">baz
2
2601
by: Keiron Waites | last post by:
I have the following code: <input type="text" name="search" class="search_top"> <a href="" onclick="window.location='search.inc.php'+document..search. value; return false;" class="search_top">go</a> What do I put within to access the value of the input field search so I can access it's value? Thanks,
3
12936
by: Ben | last post by:
Here's my form: <form name="aForm" method='post'> <input type=file name=file1 onkeypress='KeyPress()'><br> <a id='attachMoreLink' href='javascript:AddFileInput()">Attach More Files </a> <input type=submit value='Done'> </form>
10
8942
by: Phlip | last post by:
HTMListas: (Apologies for I can't Google for this - too many common words.) I have a <form> tag. It thinks I want a <p> break before and after the form. I don't. (My forms are sneaky and inline.) How do I avoid paragraph breaks around a <form> tag?
6
3874
by: snacktime | last post by:
I've searched and searched and have not found a solution to suppress the margin on form or href tags so that there is no space before or after the tag. The only way I have found to do this is to place the tags one after another without any spaces between them. For example, a space gets rendered between these two href's when displayed in firefox or IE. <a href="#"><img border="0" height="10" src="test.gif" width="10" /></a>
4
3728
by: rob c | last post by:
This is a minor thing and only appears in IE (so far), but I'd like to know to correct it (if possible). Whenever I use a form on a webpage, Explorer always leaves a blank line following the </form> tag but Mozilla doesn't. Is there a way to supress the blank line? Thanks Rob www.rcp.ca
10
14172
by: neverquit | last post by:
hi , Iam Nagesh,Begineer in using Ajax,well i have been using ajax in application, i have faced a problem while placing the responseTEXT into the <div> tag positioned inside the <form> tag iam able to get the response in the <div> tag in mozilla (im takingthe HTML response), <script> function confirm() { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null)
0
8831
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9374
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 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...
1
9325
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
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 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...
0
6076
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();...
0
4607
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...
1
3315
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
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
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 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...

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.