eddyperu
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
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
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
ASKER
Would you mind to send me an example how to do this?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
let me know if you have any questions
ASKER
Thanks