<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
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