tag:blogger.com,1999:blog-5393314821758606758.post7996043934462306430..comments2024-02-03T04:23:18.758-05:00Comments on Vince Xu's Blog: Conditionally display ConfirmButtonExtenderVince Xuhttp://www.blogger.com/profile/15254497683121341347noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5393314821758606758.post-3210272624159837392011-08-09T15:51:30.491-04:002011-08-09T15:51:30.491-04:00Interesting example, however there is a much easie...Interesting example, however there is a much easier way to handle this. <br /><br />Consider you have your aspx mark-up as you have in your example. <br /><br />For the "ModalPopupExtender1" remove the OKButtonID Property. Since the Extender is Targeting the hidden button, you can programmatically handle the opening of the Pop-up, which means that you just need to trigger ModalPopupExtender1.Show() in the CodeBehind on the Click event for "Button". <br /><br />Then, simply write what you are wanting the Form to do into the Click Event of the "ButtonOK".<br /><br />Here, validation (no matter how many groups you have) can take its normal course and the actual form submission is triggered by the ok button in the pop-up.beauXjameshttps://www.blogger.com/profile/04521631962732892665noreply@blogger.comtag:blogger.com,1999:blog-5393314821758606758.post-60796080513538350862011-05-12T14:46:15.611-04:002011-05-12T14:46:15.611-04:00Having problens inside a master pageHaving problens inside a master pageO Marronzistahttps://www.blogger.com/profile/02240933632526585094noreply@blogger.comtag:blogger.com,1999:blog-5393314821758606758.post-30089567882311037112009-09-29T13:52:49.083-04:002009-09-29T13:52:49.083-04:00Hi Vince,
It's an excellent article. I am usi...Hi Vince,<br /><br />It's an excellent article. I am using ConfirmButtonExtender in a asp repeater. How do i find the 'ConfirmButtonBehavior' for a specific ConfirmButtonExtender control in checkSubmit().<br /><br />Thanks for your help in advance.<br />sri.srihttps://www.blogger.com/profile/00030213851577287782noreply@blogger.comtag:blogger.com,1999:blog-5393314821758606758.post-56835337858578525812009-09-23T15:13:11.613-04:002009-09-23T15:13:11.613-04:00It doesn't work if I have 2 validation groups....It doesn't work if I have 2 validation groups. The validation for both groups will show when I clicked on a buttonAnonymousnoreply@blogger.com