我想知道Html控件Html控件和asp.net网页控件
和asp.net网页控件究竟有何区别。为什么我们需要这两种类型的控制?
我已经把我的网页上一个HTML输入文本,HTML按钮和asp.net文本框和ASP.NET按钮
<input id="Text1" type="text" />
<input id="Button2" type="button" value="button" />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" />
当我拿查看源代码,两者都同样呈现
<input id="Text1" type="text" />
<input id="Button2" type="button" value="button" />
<input name="TextBox1" type="text" id="TextBox1" />
<input type="submit" name="Button1" value="Button" id="Button1" />
网页控制优于HTML控件。
我在互联网上的一些环节,但尚不清楚究竟
他们正在使用的东西。
http://www.extremeexperts.com/Net/FAQ/DiffBetweenServerandHTMLControls.aspx。
请问任何人请解释这两个控件之间的区别。