asp:TextBox TextMode='Password'

K

Kumar

Hello All,

I am trying the following in one of the DataGrid column. The intent is to
enable users to edit their password without actually displaying it.

<asp:TextBox id='Password' Text='<%#DataBinder.Eval(Container.DataItem,
"Password")%>' Runat='server' TextMode='Password'/>
<asp:TextBox id='ConfirmPassword'
Text='<%#DataBinder.Eval(Container.DataItem, "Password")%>' Runat='server'
TextMode='Password'/>

But the resultant editbox is just blank, its not retrieving the value from
the binding I specified "<%#DataBinder.Eval(Container.DataItem,
"Password")%>".
If I remove TextMode='Password' the data is retrieved but is displayed to
the user.

Any one ran into this issue? Any tips/hints appreciated.

Thanks,
Ray.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top