Click here to Skip to main content
12,755,775 members (36,772 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
if I copy the data from password text box and paste it in confirm password then it's not working fine
mean password and confirm password fields are mismatching y?
Posted 11-Nov-12 21:04pm
Updated 11-Nov-12 23:20pm
How can you create anything which would work fine, if you don't even understand that you did not provide any information needed to resolve your problem?
Anele Ngqandu 12-Nov-12 3:24am
And what do you want us to do?
OriginalGriff 12-Nov-12 3:26am
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Show us the code you use to check the two are the same, and we may be able to help! At the moment, we would have to guess - and that doesn't work too well with computers...
Use the "Improve question" widget to edit your question and provide better information.
Sanjay K. Gupta 12-Nov-12 4:29am
Is this the way.....
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

When you type password in password box the password is types but masked with * character. when you copy from that textbox the clipboard is able to copy only *s and not the actual password. so when you paste in re enter textbox you are actually pasting *s and not the actual password.

this is the case for security reasons, imagine a scenario where you could copy a masked password from a textbox and paste it in a notepad, you will then be able to see the real password . This would actually defeat the purpose of masking the password in the first place.
Sagar H Upadhyay 12-Nov-12 8:43am
You are right buddy, all the users think that the password box contain the password, but in background each time you press a key password box store it to another place and as its value field it shows only "*", and let me make you sure when you are retrieving, this password for conformation its not returning its the value field of password box it return the actual value what we had entered.
I thought all web developer knows this things but I proved as wrong...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think you are pasting after some space,can you check it properly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100