c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -


i have aspxgridview includes new , delete button. delete button includs gv_rowdeleting event. want show aspxpopupcontrol (id="pupconfirm"). want user have confirm password delete item. tried:

protected void gv_rowdeleting(object sender, devexpress.web.data.aspxdatadeletingeventargs e) {     pupconfirm.showonpageload = true; } 

but nothing happened. please me. !!!

you can create template column javascript prompt confirmation.

<itemtemplate>     <asp:linkbutton id="btndelete" runat="server" text="delete" commandname="delete"                      onclientclick="javascript:if(!confirm('are sure want delete record?')){return false;}">     </asp:linkbutton> </itemtemplate> 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -