Click here to Skip to main content
16,009,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Using AspxGridView, I want to implement aspxpopup to confirm updating record.
I need to do some server-side data check with what user input before updating, and I can check that in server side grid.RowValidating event. After checking, how do I launch a aspxpopup afterward to let user confirm updating the record?

In summary, after user click Update button in EditForm, is it possible to include a Aspxpopup to confirm the Update, and base on user input, decide to execute or not execute grid.RowUpdating/grid/RowInserting event code?

Thank you
Posted
Updated 7-Feb-14 17:57pm
v2

 
Share this answer
 
its help you

XML
<asp:TemplateField HeaderText="DELETE" HeaderStyle-BackColor="#8d3736"  HeaderStyle-CssClass="gridheader">
                             <ItemTemplate>
                                 <asp:ImageButton ID="ImageButton8" runat="server" CommandName="del"
                                     ImageUrl="~/Images/delete.png"
                                     onclientclick="return confirm('Do You Want To Delete?')"
                                     onclick="ImageButton8_Click" />
                             </ItemTemplate>
 
Share this answer
 
v2
Comments
Siva Hyderabad 8-Feb-14 0:24am    
hai,vignesh kumar..when i clike edit button ,then comes update ,cancel button..then i click on update button..but your code not clear..please how to do ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900