Given the following
Then in my code behind LoadData() method I set TxtPassword.Text = dbStringValue, when the page loads, this field does not populate.
However, when I remove the TextMode="Password" it works just fine.
How can I get the password field to populate from the code behind?
Thanks.
Code:
<asp:TextBox ID="TxtPassword" runat="server" TextMode="Password" CssClass="input400"></asp:TextBox>
Then in my code behind LoadData() method I set TxtPassword.Text = dbStringValue, when the page loads, this field does not populate.
However, when I remove the TextMode="Password" it works just fine.
How can I get the password field to populate from the code behind?
Thanks.