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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -