Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Differences between using controls and form tags...


Message #1 by "Oliver, Wells" <WOliver@l...> on Thu, 10 Oct 2002 13:17:19 -0700
Is there a real difference between:

<asp:TextBox id="inputText" runat="server" />

and

<input type="text" id="inputText" runat="server" />

?

One of the key differences, it seems, is that I can put a value attribute in
the latter tag.

Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com

Message #2 by "Carole D. Sullivan" <carolesullivan@e...> on Fri, 11 Oct 2002 00:54:37
Yes, but can't you put text= in the <asp:  version?

> Is there a real difference between:

<asp:TextBox id="inputText" runat="server" />

and

<input type="text" id="inputText" runat="server" />

?

One of the key differences, it seems, is that I can put a value attribute 
in
the latter tag.

Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com

Message #3 by "Dev" <devendra_vyawahare@p...> on Fri, 11 Oct 2002 12:24:43 +0530
Yeap, there is a difference between two,
The HtmlInputText control does not not provide a built-in way to post back
to the server. You must provide another control on the Web page that
supports posting to the server

& another difference We can say is that HtmlInputText doesn't support
multiline, you have to use HtmlTextArea

----- Original Message -----
From: "Oliver, Wells" <WOliver@l...>
To: "ASP+" <aspx@p...>
Sent: Friday, October 11, 2002 1:47 AM
Subject: [aspx] Differences between using controls and form tags...


> Is there a real difference between:
>
> <asp:TextBox id="inputText" runat="server" />
>
> and
>
> <input type="text" id="inputText" runat="server" />
>
> ?
>
> One of the key differences, it seems, is that I can put a value attribute
in
> the latter tag.
>
> Wells Oliver
> Web Application Programmer
> Leviton Voice & Data
> xxx-xxx-xxxx
> http://www.levitonvoicedata.com
>
>
> ---
>
> ASP.NET 1.0 Namespace Reference with C#
> http://www.wrox.com/acon11.asp?ISBN=1861007442
>
> ASP.NET 1.0 Namespace Reference with VB.NET
> http://www.wrox.com/acon11.asp?ISBN=1861007450
>
> These books are a complete reference to the ASP.NET namespaces
> for developers who are already familiar with using ASP.NET.
> There is no trivial introductory material or useless .NET
> hype and the presentation of the namespaces, in an easy-to use
> alphabetical order ensures a user-friendly reference format.
> We provide in-depth coverage of all the major ASP.NET classes,
> giving you those real-world tips that the documentation doesn't
> offer, and demonstrating complex techniques with simple
> examples.
>
> ---
>


  Return to Index