This blog will explain you how to change the first charterer of a text-box to capital when focus goes out from the text-box.
Use following function inside textbox. It will change the first letter of text-box to capital when focus goes out from text-box.
onblur="this.value = this.value.substr(0, 1).toUpperCase() + this.value.substr(1);"
Example <asp:TextBox ID="txtuser" runat="server" placeholder="User Name" autocomplete="off" onblur="this.value = this.value.substr(0, 1).toUpperCase() + this.value.substr(1);"></asp:TextBox>