How server attributes end up in the browser?
Example:
TextBox server control:
<asp:TextBox AccessKey=”a” BackColor=”Black” ForeColor=”White” Font-Size=”30px”
BorderColor=”Yellow” BorderStyle=”Dashed” BorderWidth=”4” CssClass=”TextBox”
Enabled=”True” Height=”40” Width=”200” TabIndex=”1” ToolTip=”Hover text here”
Visible=”True” ID=”TextBox1” runat=”server” Text=”Hello World”>
</asp:TextBox>
When you request the page with this control in the browser, you end up with the following HTML:
<input name=”TextBox1” type=”text” value=”Hello World” id=”TextBox1” accesskey=”a”
tabindex=”1” title=”Hover text here” class=”TextBox” style=”color:White;
background-color:Black;border-color:Yellow;border-width:4px;
border-style:Dashed;font-size:30px;height:40px;width:200px;” />
0 comments:
Post a Comment