Link to home
Start Free TrialLog in
Avatar of eddyperu
eddyperuFlag for United States of America

asked on

Problems calling a ASP button from Modal a pop up extender

Hi Experts
I have two asp buttons in myPage.aspx  Button1 and Button2.
In the  Button2 I  have set the attribute "enable" to false---->  "enable=false".

Now, When I click the Button1 a Modal pop up extender will pop up showing some text and a OkButton.

Question:
How can I  change the Button2 attribute  (enable="false" to "enable="true") using the click event from the button "OKButton" in the Modal Pop Up exnteder  ?
If you can show me with an example will be great. I am new in coding with C# and Ajax

Thanks
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

just add a standard asp button to the modal popup but dont set it as the ok button and in its event handler put the code to change the enabled state
Avatar of eddyperu

ASKER

Would you mind to send me an example how to do this?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
let me know if you have any questions
Thanks