Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi All,

 

A newbie to ASp.NET.

 

Today I just made a user management web site kinda thing. In this when I click on a link to edit prifile of a user, It opens up the page which is same as is used for adding a user with all the information filled up.

 

I can get all information from the database but not Password.

 

With the textmode of the textbox set to Password, it does not display the password as "*****" in the Password textbox.

 

 

Could someone tell me why is it so ?

 

 

Thanks in Advance

Ashutosh

Posted
Only thing I can think of is your dynamically changing the text mode and you're doing the change after the text box has fired it's events in which case the change won't take place right away.
Posted
Only thing I can think of is your dynamically changing the text mode and you're doing the change after the text box has fired it's events in which case the change won't take place right away.

 

 

No I am not changing it dynamically. It is set to Password at the design time only and is nmot changed since then.

 

Meanwhile instead of

txtPassword.text = ds.Tables(0).Rows(0)(1)

 

If i say

txtPassword.Attributes.Add("Value",ds.Tables(0).Rows(0)(1))

 

It works fine.

 

Could not understand why is it so.

 

 

Ashutosh

Posted

I think it is .net security control.

I also face the same, but i don't think it is problem for me.

Because normally change password is another screen called: change password.

 

To change user profile information, you should not allow them to change password there.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...