dotnetnuke - ClientAPI.AddButtonConfirm -


i ask how use confirmation message box (clientapi.addbuttonconfirm(webcontrol wc,string str)) in dotnetnuke.

my case have items in repeater control , have function select multiple items , delete when "delete selected" button clicked. function worked. show confirmation message before delete function trigger allow user cancel process.

thanks.

i got now. easy thing

in .ascx file code

asp:linkbutton id="btndelete" runat="server" onclick="btndelete_click" cssclass="dnnsecondaryaction" text="delete" visible="false"/>

and in .cs file

clientapi.addbuttonconfirm(btndelete, "are sure delete entry");

then when click button display dotnetnuke confirmation message box.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -