Skip to Content
Former Member
Oct 25, 2010 at 03:12 PM

How to change the button text with enable/disable feature on UI element


Hi Experts,

I have an requirement as sated below :

I have one label & input field and one button on my view. When I run this application , by default button name should come as Enable and also the input field should be enabled(editable). Now when I press 'Enable' button again the text of button should be changed to Disable also the input field should be non editable(disabled).

Any suggestion should be appreciated.

Thanks & Regards

Manish Gupta