confirmbutton

How do I disable my ASP.NET AJAX ConfirmButtonExtender when page validation fails?

I've got a submit button using Microsoft's ConfirmButton extender to ask "Are you sure?". However it fires regardless of whether or not the page passes client-side validation. <asp:TextBox ID="TextBox1" runat="server" /> <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBox1" runat="server" ControlToValidate="TextBox1" ...

Why does my ConfirmButtonExtender cause full postbacks after I've toggled its parent usercontrol's visibility?

Hello all, I have a series of usercontrols on a page that are displayed based on a selection. Each usercontrol contains a Delete button with a ConfirmButton/ModalPopupExtender combo attached to it. This works great when first loading any of the usercontrols--clicking delete shows my Confirm Modal popup and hitting yes or no causes an ...

ConfirmButtonExtender using ModalPopupExtender fails in UpdatePanel after partial postback?

Hello, We're trying to add a more fancy looking confirm messages than the regular JavaScript-confirm message to our delete-buttons in a list of comments on our site. To accomplish this we're trying to use the ConfirmButtonExtender together with a ModalPopupExtender. The comments are displayed using a ListView inside a UpdatePanel so th...

User Confirmation in MVP Pattern with Passive View

How would you handle calling a user confirmation dialog before continuing with a task in a web-based MVP pattern implementation? It'll have to do a postback in between and the confirmation would go out of the scope of the presenter function that called it. I'd prefer to keep to a pure MVP implementation but is it even possible? ...

JavaScript Confirm boxes with custom buttons

can i write custom confirm box in javascript.Instead of 'OK' and 'CANCEL' buttons i want to show 'SAVE' and 'DELETE' buttons. ...