| |||||
Setting Web Forms Server Control PropertiesASP.NET Web Forms Web Forms Server Controls Programming Web Forms Server Controls Setting a control's properties defines its appearance and behavior. This topic addresses how to set control properties at design time. Setting Properties using ASP.NET SyntaxControl properties can be set as part of a control's declaration.
The following example sets the MaxLength property of an HtmlInputText HTML server control: <INPUT id="myTextBox" type=text runat=server maxlength=20> The following example sets the TextBoxMode property of TextBox ASP.NET control: <asp:TextBox Text="Hi" runat=server TextBoxMode=Multiline /> See AlsoSetting Web Server Control Properties Programmatically Setting HTML Server Control Properties Programmatically Web Forms Server Controls and CSS Styles |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme