Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

How to enable/disable a text box on clicking a button

, 13 Nov 2012 CPOL
1) Add a click handler to your code behind and tie it to your Button control.2) In the click handler, write something like YourTextBox.readonly = false3) That's it.Cheers.Edit: After seeing your answer that this is a web app, See ryan's answer as the way to go.

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 13-Nov-12 10:24 Available fjdiewornncalwe
Updates in content. 72 changes had been made.
1 No 13-Nov-12 9:57 Available fjdiewornncalwe

License

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

Share

About the Author

fjdiewornncalwe
Software Developer (Senior)
Canada Canada
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.1411028.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by fjdiewornncalwe
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid