Tuesday, September 27, 2011

some textbox properties

 <asp:TextBox ID="txtSourceName"  runat="server" AutoCompleteType="Disabled"  TabIndex="1" MaxLength="50" onFocus="this.select()" ></asp:TextBox>


AutoCompleteType="Disabled" ---> this is used to remove the history of the textbox in browser

onFocus="this.select()"  ---> this is used to select the entire text in textbox



No comments:

Post a Comment