首页 > 代码库 > ArtDialog实现Windows.Confirm询问功能

ArtDialog实现Windows.Confirm询问功能

string strJS = "art.dialog({icon:‘question‘,title:‘询问‘,content:‘您确定要删除吗?‘,ok:function(){__doPostBack(‘" + btnDelete.ID + "‘,‘‘);},okVal:‘确定‘,cancel:true,cancelVal:‘取消‘}); return false;";

btnDelete.Attributes["onclick"] = strJS;