.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Post New Resource Bookmark and Share   

store password text in passoword textbox

Posted By:Hiren Soni       Posted Date: August 31, 2010    Points: 10    Category:    URL: http://www.dotnetspark.com  

in autopostback password textbox will be null. if you want to assign then you can use this:
 

in page_load:

txtpassword.Attributes.add("value","mypassword");



here i add value attribute because in html , there is value property not Text.


     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend