Showing posts with label field. Show all posts
Showing posts with label field. Show all posts

Monday, March 26, 2012

ConfirmButtonExtender NOT Working in Gridview Template Field since BETA1

Here is the Code for the Template Field in the Gridview exactly as it is documented:

Am I missing something or just more AJAX BETA woes?

<asp:TemplateFieldShowHeader="False">

<ItemTemplate>

<asp:ImageButtonID="ImageButtonDelete"runat="server"CausesValidation="False"CommandName="Delete"ImageUrl="~/App_Themes/Sameday/Images/DeleteX.gif"/>

<cc3:ConfirmButtonExtenderID="ConfirmButtonExtenderDelete"ConfirmText="Are you sure you want to Delete?"runat="server"TargetControlID="ImageButtonDelete">

</cc3:ConfirmButtonExtender>

</ItemTemplate>

</asp:TemplateField>

Please try this:http://forums.asp.net/thread/1441672.aspx

Saturday, March 24, 2012

Confirm button extender and validation controls

Hi,

I am using the confirm button extender in conjunction with some required field validators. Is there any way to stop the extender popping up if the page isn't valid? They are clearly both fired at the same time client-side from the button click event.

Andy

Im wondering this too...did you find a solution?

I only want a confirmation dialog if it passes all validation first.