473,765 Members | 2,159 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
19 2155
Oh, you must be referring to Juan, since he is the one who used it first. If
you are not, then I think you are being a bit hipocritical (he can use it,
but not you).
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
"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 #11
Actually, I said :

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

Compare that to your statement that :
!>May I repeat my statement so your incorrect statement can be corrected?

....with which you were, clearly, attempting to subvert what I said.

I said that you had a "mistaken impression"; you said I had posted an "incorrect statement".

There's an enormous difference between those two statements,
particularly since it was *you* who posted the incorrect statements which I explained.

But, never mind...

Mark was spot-on with his assessment.

If you keep up the nitpicking, I may take further action...like blocking your posts.
That will take care of your persisting argumentative stance, AFAIC.

If you continue to bug others here, who come for either help or to assist others,
it's going to be their problem...due to your problem, but at least I won't be involved.

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:uk******** *****@TK2MSFTNG P05.phx.gbl...
Oh, you must be referring to Juan, since he is the one who used it first. If you are not, then I
think you are being a bit hipocritical (he can use it, but not you).
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message news:u7******** ******@TK2MSFTN GP04.phx.gbl...
>"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 #12
"Scott M." <s-***@nospam.nosp amwrote in message
news:uk******** *****@TK2MSFTNG P05.phx.gbl...
Oh, you must be referring to Juan, since he is the one who used it first.
If you are not, then I think you are being a bit hipocritical (he can use
it, but not you).
I've had enough of you now - bye.

<plonk>
Apr 9 '07 #13
Juan, you are not reading my replies correctly, your are mistaken in your
replies to me and you are being uneccesarially rude. If you take the time
to read carefully what I'm saying inline, and really try to put your ego
aside, you will see that I have provided proof (not my opinions) about why
you are mistaken about telling me I'm wrong AND the terminology you are
using.

See inline....
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uq******** ******@TK2MSFTN GP03.phx.gbl...
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.
That's simply not true for VS .NET 2002 & 2003 (the category names are, in
fact, "Web Forms" and "HTML" as I stated). I am looking at it right now!
It is true that in the 2005 Toolbox, the categories are "Standard" & "HTML",
but my initial point is still true that there is no category called "ASP.NET
HTML".
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.
Again, open the software (with your eyes open) and look. You are wrong.
The HTML category is for standard HTML markup, not server anyting. You are
confusing the "HTML Server Controls" with the HTML controls and that is not
an incosequential error to make, it is simply NOT nit-picking.
The "Web Form" is a *container* for Web Server Controls, not a web form
control itself.
I know that, (which is why you can't create a new one from the Toolbox and
why your initial term "ASP.NET HTML Form Control" is incorrect). The term
"ASP.NET HTML Form Control" is incorrect becaus no such thing exists.
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.
NOT TRUE!!! It's abundantly clear that you don't know what you are talking
about! Read on for my facts proving this, not my wild assumptions.

There is only ONE type of form available in an ASP.NET page. There are 3
(THREE) categories of controls, but where forms are concerned, only ONE (not
two) is applicable and it is NOT an "ASP.NET HTML Form Control" (my whole
point here!).

Only controls that have "<asp:" in their name are "Web Forms" ('02, '03) or
"Standard" ('05) controls and these are written (at design-time) as
"<asp:controlTy pe>". The form tag, which we are discussing does not start
with "<asp:" and is NOT of the ASP.NET type.

<FORM <-- HTML Form Tag (markup - not
ASP.NET anything and not allowed in an .aspx file)
<FORM runat="server" <-- HTML Server Control (the only way to use
a form in .aspx pages)
The difference is that one has runat="server"
and the other one doesn't, but you knew that, right ?
Yes, but neither of these syntaxes are written as "<asp:controlTy pe". It
appears that *you* apparently don't know that because you are stilll
ignoring this 3rd, and most common category of controls. And, it is still
incorrect to call it an "ASP.NET HTML Form Control" (as ASP.NET and HTML are
contradictory).
Look, we can spend a few back-and-forths nitpicking each other,
or we can try not to nitpick senselessly.
So, you see no difference between the following or you believe the
difference is trivial and nit-picking, right?

1. <INPUT TYPE="TEXT" NAME="txtUser" />
2. <INPUT TYPE="TEXT" NAME="txtUser" runat="server" />
3. <asp:TextBox id="txtUser" runat="server" />

Please note that these constitue the 3 (yes, three, not two) categories of
controls available to use and where forms are concerned, only the #2 version
is applicable in an ASP.NET page (try using #1 with a form tag and you'll
get a runtime exception).

- Item #1 is a standard piece of "HTML markup" or even "HTML Form Control"
if you like, but it has extremly limited server-side representation (and not
accesible by the developer via server-side code).
- Item #2 is an "HTML Server Control" and is represented in ASP.NET by an
"HTMLGenericCon trol" class. It has limited server-side functionality.
- Item #3 is an "ASP.NET Web Forms Control" or just "Server Control" and is
represented (in a very rich and specific way) via a "Textbox" class. This
category is the most rich form of control, as it has the widest range of
server-side coding possibilites (events, properties & methods).

Again, I will conceed that where forms are concerned, only #2 is available
in ASP.NET, but #2 is NOT referred to as an "ASP.NET HTML Form Control",
that's just wrong. I just demonstrated that very clearly. Why can't you
acknowledge there are non-trivial differences between them? What you have
been incorrectly referring to is actually an "HTML Server Control", not an
"ASP.NET HTML Form Control".
You knew what I meant when I wrote :

!The *asp.net html form control* reference, not the html form reference.
No, I didn't because you've listed the 2 out of 3 categories that are not
applicable. Your fist term is non-existant and your second descriptive term
is just incorrect.
Also, based on the original post, it's clear that "Coward 9" wouldn't have
figured that out. This is why I added a polite correction of your
terminology. I wan't rude and, as I've now shown, the differences are not
trivial.

But thanks for finally conceding that your terminology was bogus.
...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.
Well, that's the difference between our posts, you are flat out wrong about
those items....

I'm correct when I say that there are TWO sections of the VS .NET toolbox
(in all VS.NET versions) that distinguish standard HTML markup from "<asp:"
("Web Forms" or "Standard") controls. Are you really going to keep pushing
that incorrect statement?

But, now you admit that you used the incorrect terminology, which is all I
was trying to point out.
Professional programmers, unless there's clearly mistaken references,
should avoid nitpicking for nitpicking's sake.
Yes, I absolutley agree (and not responding to your implied insult). But,
as I wrote earlier, if you really believe there are no important differences
in the THREE categories of controls, you must just be upset about someone
politely correcting you, because I know you are smart enough to understand
that there are HUGE implications to your application by using the wrong
category of control.
>


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******* ********@TK2MSF TNGP02.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****** **********@TK2M SFTNGP06.phx.gb l...
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***** ***********@TK2 MSFTNGP02.phx.g bl...
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.c om...
>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"
>attribut es
>for <formtag.
>>
>which reference should I use in order to find that?
>>
>Thanks,
>>
>
>





Apr 9 '07 #14
Now you are just being troll-like Juan. PLEASE DO "TAKE FURTHER ACTION" and
BLOCK ME so I won't have to deal with your insanity.

It's clear you are irrational on all fronts. You can call me wrong, but I
can't disagree and call you wrong in response? You said it first, so I must
be wrong because I said it second? You opinion carries more weight that
mine? PLEASE!

Your rebuttles to my posts, have in no way clarified how you are correct.
If you read my other latest post, you'll see I have incontravertly proven
your statements to be flat out wrong.

As far as your "lecture" on how to provide help to others, I think the best
thing to do is provide *facts*, be prepared to defend your position and be
willing to concede when you have been *proven* wrong (which you have not
done [read my other latest post] and I have). You have provided nothing but
incorrect statments, been rude (yeah that's a great quality to bring to the
table in a newsgroup) and no facts to *prove* your point.

As a matter of *fact*, you have already admitted you used the wrong
terminology, but yet, you continue to persist that the terminology you used
was correct? Do you not see the contradiction here?

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:us******** ******@TK2MSFTN GP02.phx.gbl...
Actually, I said :

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

Compare that to your statement that :
!>May I repeat my statement so your incorrect statement can be
corrected?

...with which you were, clearly, attempting to subvert what I said.

I said that you had a "mistaken impression"; you said I had posted an
"incorrect statement".

There's an enormous difference between those two statements,
particularly since it was *you* who posted the incorrect statements which
I explained.

But, never mind...

Mark was spot-on with his assessment.

If you keep up the nitpicking, I may take further action...like blocking
your posts.
That will take care of your persisting argumentative stance, AFAIC.

If you continue to bug others here, who come for either help or to assist
others,
it's going to be their problem...due to your problem, but at least I won't
be involved.

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:uk******** *****@TK2MSFTNG P05.phx.gbl...
>Oh, you must be referring to Juan, since he is the one who used it first.
If you are not, then I think you are being a bit hipocritical (he can use
it, but not you).

>"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:u7******* *******@TK2MSFT NGP04.phx.gbl.. .
>>"Scott M." <s-***@nospam.nosp amwrote in message
news:OZ****** ********@TK2MSF TNGP04.phx.gbl. ..

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

Sigh...here he goes again...


Apr 9 '07 #15
You leave me no choice.

<plonk>


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. ..
Juan, you are not reading my replies correctly, your are mistaken in your replies to me and you
are being uneccesarially rude. If you take the time to read carefully what I'm saying inline, and
really try to put your ego aside, you will see that I have provided proof (not my opinions) about
why you are mistaken about telling me I'm wrong AND the terminology you are using.

See inline....
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uq******** ******@TK2MSFTN GP03.phx.gbl...
>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.

That's simply not true for VS .NET 2002 & 2003 (the category names are, in fact, "Web Forms" and
"HTML" as I stated). I am looking at it right now! It is true that in the 2005 Toolbox, the
categories are "Standard" & "HTML", but my initial point is still true that there is no category
called "ASP.NET HTML".
>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.

Again, open the software (with your eyes open) and look. You are wrong. The HTML category is for
standard HTML markup, not server anyting. You are confusing the "HTML Server Controls" with the
HTML controls and that is not an incosequential error to make, it is simply NOT nit-picking.
>The "Web Form" is a *container* for Web Server Controls, not a web form control itself.

I know that, (which is why you can't create a new one from the Toolbox and why your initial term
"ASP.NET HTML Form Control" is incorrect). The term "ASP.NET HTML Form Control" is incorrect
becaus no such thing exists.
>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.

NOT TRUE!!! It's abundantly clear that you don't know what you are talking about! Read on for my
facts proving this, not my wild assumptions.

There is only ONE type of form available in an ASP.NET page. There are 3 (THREE) categories of
controls, but where forms are concerned, only ONE (not two) is applicable and it is NOT an
"ASP.NET HTML Form Control" (my whole point here!).

Only controls that have "<asp:" in their name are "Web Forms" ('02, '03) or "Standard" ('05)
controls and these are written (at design-time) as "<asp:controlTy pe>". The form tag, which we
are discussing does not start with "<asp:" and is NOT of the ASP.NET type.

<FORM <-- HTML Form Tag (markup - not ASP.NET anything and not
allowed in an .aspx file)
<FORM runat="server" <-- HTML Server Control (the only way to use a form in .aspx pages)
>The difference is that one has runat="server"
and the other one doesn't, but you knew that, right ?

Yes, but neither of these syntaxes are written as "<asp:controlTy pe". It appears that *you*
apparently don't know that because you are stilll ignoring this 3rd, and most common category of
controls. And, it is still incorrect to call it an "ASP.NET HTML Form Control" (as ASP.NET and
HTML are contradictory).
>Look, we can spend a few back-and-forths nitpicking each other,
or we can try not to nitpick senselessly.

So, you see no difference between the following or you believe the difference is trivial and
nit-picking, right?

1. <INPUT TYPE="TEXT" NAME="txtUser" />
2. <INPUT TYPE="TEXT" NAME="txtUser" runat="server" />
3. <asp:TextBox id="txtUser" runat="server" />

Please note that these constitue the 3 (yes, three, not two) categories of controls available to
use and where forms are concerned, only the #2 version is applicable in an ASP.NET page (try using
#1 with a form tag and you'll get a runtime exception).

- Item #1 is a standard piece of "HTML markup" or even "HTML Form Control" if you like, but it has
extremly limited server-side representation (and not accesible by the developer via server-side
code).
- Item #2 is an "HTML Server Control" and is represented in ASP.NET by an "HTMLGenericCon trol"
class. It has limited server-side functionality.
- Item #3 is an "ASP.NET Web Forms Control" or just "Server Control" and is represented (in a very
rich and specific way) via a "Textbox" class. This category is the most rich form of control, as
it has the widest range of server-side coding possibilites (events, properties & methods).

Again, I will conceed that where forms are concerned, only #2 is available in ASP.NET, but #2 is
NOT referred to as an "ASP.NET HTML Form Control", that's just wrong. I just demonstrated that
very clearly. Why can't you acknowledge there are non-trivial differences between them? What you
have been incorrectly referring to is actually an "HTML Server Control", not an "ASP.NET HTML Form
Control".
>You knew what I meant when I wrote :

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

No, I didn't because you've listed the 2 out of 3 categories that are not applicable. Your fist
term is non-existant and your second descriptive term is just incorrect.
Also, based on the original post, it's clear that "Coward 9" wouldn't have figured that out. This
is why I added a polite correction of your terminology. I wan't rude and, as I've now shown, the
differences are not trivial.

But thanks for finally conceding that your terminology was bogus.
>...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.

Well, that's the difference between our posts, you are flat out wrong about those items....

I'm correct when I say that there are TWO sections of the VS .NET toolbox (in all VS.NET versions)
that distinguish standard HTML markup from "<asp:" ("Web Forms" or "Standard") controls. Are you
really going to keep pushing that incorrect statement?

But, now you admit that you used the incorrect terminology, which is all I was trying to point
out.
>Professional programmers, unless there's clearly mistaken references,
should avoid nitpicking for nitpicking's sake.

Yes, I absolutley agree (and not responding to your implied insult). But, as I wrote earlier, if
you really believe there are no important differences in the THREE categories of controls, you
must just be upset about someone politely correcting you, because I know you are smart enough to
understand that there are HUGE implications to your application by using the wrong category of
control.
>>


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****** *********@TK2MS FTNGP02.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.

Furthermor e, 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***** ***********@TK2 MSFTNGP06.phx.g bl...
The ASP.NET Web Form Control, not *HTML Form Control*. If it's an ASP.NET control, it's not
(by
definitio n) an HTML control as well.
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ei**** ************@TK 2MSFTNGP02.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*** *************** ****@p77g2000hs h.googlegroups. 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 #16
Yes, because you are unwilling to look at facts that clearly prove you
wrong. We can't have any of those pesky *fact* triumphing over insults and
mis-statements now can we?

But, as I said before, thanks for filtering me. Now there is one less idiot
to waste keystrokes on.

I hope, despite Juan's troll-like responses, you are clear on the .NET
control categories Coward 9.

-Scott

"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:ud******** ******@TK2MSFTN GP05.phx.gbl...
You leave me no choice.

<plonk>


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. ..
>Juan, you are not reading my replies correctly, your are mistaken in your
replies to me and you are being uneccesarially rude. If you take the
time to read carefully what I'm saying inline, and really try to put your
ego aside, you will see that I have provided proof (not my opinions)
about why you are mistaken about telling me I'm wrong AND the terminology
you are using.

See inline....
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:uq******* *******@TK2MSFT NGP03.phx.gbl.. .
>>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.

That's simply not true for VS .NET 2002 & 2003 (the category names are,
in fact, "Web Forms" and "HTML" as I stated). I am looking at it right
now! It is true that in the 2005 Toolbox, the categories are "Standard" &
"HTML", but my initial point is still true that there is no category
called "ASP.NET HTML".
>>The correct name for them is "HTML Server Controls" and "Web Server
Controls",
respectivel y, and the last one is not called "Web Form Controls, as you
allege.

Again, open the software (with your eyes open) and look. You are wrong.
The HTML category is for standard HTML markup, not server anyting. You
are confusing the "HTML Server Controls" with the HTML controls and that
is not an incosequential error to make, it is simply NOT nit-picking.
>>The "Web Form" is a *container* for Web Server Controls, not a web form
control itself.

I know that, (which is why you can't create a new one from the Toolbox
and why your initial term "ASP.NET HTML Form Control" is incorrect). The
term "ASP.NET HTML Form Control" is incorrect becaus no such thing
exists.
>>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.

NOT TRUE!!! It's abundantly clear that you don't know what you are
talking about! Read on for my facts proving this, not my wild
assumptions.

There is only ONE type of form available in an ASP.NET page. There are 3
(THREE) categories of controls, but where forms are concerned, only ONE
(not two) is applicable and it is NOT an "ASP.NET HTML Form Control" (my
whole point here!).

Only controls that have "<asp:" in their name are "Web Forms" ('02, '03)
or "Standard" ('05) controls and these are written (at design-time) as
"<asp:controlT ype>". The form tag, which we are discussing does not
start with "<asp:" and is NOT of the ASP.NET type.

<FORM <-- HTML Form Tag (markup - not
ASP.NET anything and not allowed in an .aspx file)
<FORM runat="server" <-- HTML Server Control (the only way to
use a form in .aspx pages)
>>The difference is that one has runat="server"
and the other one doesn't, but you knew that, right ?

Yes, but neither of these syntaxes are written as "<asp:controlTy pe". It
appears that *you* apparently don't know that because you are stilll
ignoring this 3rd, and most common category of controls. And, it is still
incorrect to call it an "ASP.NET HTML Form Control" (as ASP.NET and HTML
are contradictory).
>>Look, we can spend a few back-and-forths nitpicking each other,
or we can try not to nitpick senselessly.

So, you see no difference between the following or you believe the
difference is trivial and nit-picking, right?

1. <INPUT TYPE="TEXT" NAME="txtUser" />
2. <INPUT TYPE="TEXT" NAME="txtUser" runat="server" />
3. <asp:TextBox id="txtUser" runat="server" />

Please note that these constitue the 3 (yes, three, not two) categories
of controls available to use and where forms are concerned, only the #2
version is applicable in an ASP.NET page (try using #1 with a form tag
and you'll get a runtime exception).

- Item #1 is a standard piece of "HTML markup" or even "HTML Form
Control" if you like, but it has extremly limited server-side
representati on (and not accesible by the developer via server-side code).
- Item #2 is an "HTML Server Control" and is represented in ASP.NET by an
"HTMLGenericCo ntrol" class. It has limited server-side functionality.
- Item #3 is an "ASP.NET Web Forms Control" or just "Server Control" and
is represented (in a very rich and specific way) via a "Textbox" class.
This category is the most rich form of control, as it has the widest
range of server-side coding possibilites (events, properties & methods).

Again, I will conceed that where forms are concerned, only #2 is
available in ASP.NET, but #2 is NOT referred to as an "ASP.NET HTML Form
Control", that's just wrong. I just demonstrated that very clearly. Why
can't you acknowledge there are non-trivial differences between them?
What you have been incorrectly referring to is actually an "HTML Server
Control", not an "ASP.NET HTML Form Control".
>>You knew what I meant when I wrote :

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

No, I didn't because you've listed the 2 out of 3 categories that are not
applicable. Your fist term is non-existant and your second descriptive
term is just incorrect.
Also, based on the original post, it's clear that "Coward 9" wouldn't
have figured that out. This is why I added a polite correction of your
terminology. I wan't rude and, as I've now shown, the differences are
not trivial.

But thanks for finally conceding that your terminology was bogus.
>>...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.

Well, that's the difference between our posts, you are flat out wrong
about those items....

I'm correct when I say that there are TWO sections of the VS .NET toolbox
(in all VS.NET versions) that distinguish standard HTML markup from
"<asp:" ("Web Forms" or "Standard") controls. Are you really going to
keep pushing that incorrect statement?

But, now you admit that you used the incorrect terminology, which is all
I was trying to point out.
>>Professiona l programmers, unless there's clearly mistaken references,
should avoid nitpicking for nitpicking's sake.

Yes, I absolutley agree (and not responding to your implied insult).
But, as I wrote earlier, if you really believe there are no important
differences in the THREE categories of controls, you must just be upset
about someone politely correcting you, because I know you are smart
enough to understand that there are HUGE implications to your application
by using the wrong category of control.
>>>


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****** ********@TK2MSF TNGP04.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***** **********@TK2M SFTNGP02.phx.gb l...
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**** ************@TK 2MSFTNGP06.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*** *************@T K2MSFTNGP02.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** *************** *****@p77g2000h sh.googlegroups .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"
>>>attribut es
>>>for <formtag.
>>>>
>>>which reference should I use in order to find that?
>>>>
>>>Thanks ,
>>>>
>>>
>>>
>>
>>
>
>





Apr 9 '07 #17
re:
!I've had enough of you now - bye.
!<plonk>

There must be something in the air.

In the last 10 years of trying to help people in these newsgroups,
I'd only plonked two people, separated by a few years.

This *week* I've plonked two.

I bet Scott couldn't resist the temptation to post a zinger or two,
*after* knowing that he's been plonked, all the time alleging that
it's not him, but us, who are behaving like trolls.

The more life changes, the more it's the same thing.


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/
=============== =============== =====
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message news:OH******** ******@TK2MSFTN GP05.phx.gbl...
"Scott M." <s-***@nospam.nosp amwrote in message news:uk******** *****@TK2MSFTNG P05.phx.gbl...
>Oh, you must be referring to Juan, since he is the one who used it first. If you are not, then I
think you are being a bit hipocritical (he can use it, but not you).

I've had enough of you now - bye.

<plonk>

Apr 10 '07 #18
LOL - No zingers needed, you've proven you level of knowledge in the area
and your willingness to deal in fact, rather than fiction.

Like when you said there is nothing in the Toolbox called "Web Forms" or
"HTML", when in fact, there is.

Or, when you say there are only two categories of ASP.NET controls (instead
of the 3 that I showed you).

Or, when you admit you used the wrong terminology, so you changed your whole
point from you using a term that doesn't exist and conveys an incorrect
meaning to me "nit-picking".

Or, when I backed up my statements with provable and checkable facts and you
provided none of either.

Or when you started throwing insults when no one provoked you to do so.

Yes, I really need a "zinger" to show how wrong you've been. Actually, I
think everyone who doesn't like a discussion which includes facts to dispute
fiction should also filter me. Then I can converse with the other crazy
folks like myself.


"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:OI******** ******@TK2MSFTN GP06.phx.gbl...
re:
!I've had enough of you now - bye.
!<plonk>

There must be something in the air.

In the last 10 years of trying to help people in these newsgroups,
I'd only plonked two people, separated by a few years.

This *week* I've plonked two.

I bet Scott couldn't resist the temptation to post a zinger or two,
*after* knowing that he's been plonked, all the time alleging that
it's not him, but us, who are behaving like trolls.

The more life changes, the more it's the same thing.


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/
=============== =============== =====
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:OH******** ******@TK2MSFTN GP05.phx.gbl...
>"Scott M." <s-***@nospam.nosp amwrote in message
news:uk******* ******@TK2MSFTN GP05.phx.gbl...
>>Oh, you must be referring to Juan, since he is the one who used it
first. If you are not, then I think you are being a bit hipocritical (he
can use it, but not you).

I've had enough of you now - bye.

<plonk>


Apr 10 '07 #19
"Juan T. Llibre" <no***********@ nowhere.comwrot e in message
news:OI******** ******@TK2MSFTN GP06.phx.gbl...
In the last 10 years of trying to help people in these newsgroups,
I'd only plonked two people, separated by a few years.

This *week* I've plonked two.
I have a feeling a third came dangerously close too... :-)

Just be thankful you're not an MVP in one of the Vista forums at the
moment... ;-) All is most certainly not pax et harmonium over there...
I bet Scott couldn't resist the temptation to post a zinger or two,
*after* knowing that he's been plonked, all the time alleging that
it's not him, but us, who are behaving like trolls.
Who cares - neither of us will see it... :-)
Apr 10 '07 #20

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
2603
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
8944
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
3875
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
14173
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
9568
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, 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...
0
9398
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,...
1
9951
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,...
1
7375
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
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
5275
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...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
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
3
2805
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.