Click here to Skip to main content
Rate this: bad
good
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 20:04pm
Edited 11-Nov-12 22:20pm
v2
Comments
Sergey Alexandrovich Kryukov at 12-Nov-12 2:48am
   
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?
--SA
Anele Ngqandu at 12-Nov-12 3:24am
   
And what do you want us to do?
OriginalGriff at 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 at 12-Nov-12 4:29am
   
y?
Is this the way.....
Rate this: bad
good
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.
  Permalink  
Comments
Sagar H Upadhyay at 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
good
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 OriginalGriff 383
1 Richard Deeming 180
2 ChauhanAjay 176
3 Sergey Alexandrovich Kryukov 171
4 Yogesh Kumar Tyagi 165
0 Sergey Alexandrovich Kryukov 6,252
1 OriginalGriff 5,498
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2014
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