Advertisements

Sometimes you don't have a choice to use one (htmlfileinput) or the other
(datalist)...I like to think that HtmlControls are mostly there to help
people get their ASP/HTML pages quickly converted to ASP.Net (slap on a
runat="server" and an id and voila...)

"gabriel" <> wrote in message
news:42f09368$0$5048$...
> greetings,
>
> I understand the difference when the webcontrol generates its html with
> feeding its Text property but not the following :
>
> <input name="login" type="text" size="8" id="login" runat="server">
> <asp:textbox id="txtUserName" runat="server" width="160px">
>
>
> both run on the server, both have a protected field.
>
> Is it 2 ways of doing the same thing ???
>
> many thx !

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!