extjs - Ext.Net - Create Ext.MessageBox.confirm in code behind -
there way create ext.messagebox.confirm in code behind?
try:
public void myfunction() { x.msg.confirm("message", "it'ok??", new messageboxbuttonsconfig { yes = new messageboxbuttonconfig { handler = "companyx.it_s_ok()", text = "ok" }, no = new messageboxbuttonconfig { handler = "companyx.it_s_ko()", text = "ko" } }).show(); } [directmethod(namespace = "companyx")] public void it_s_ok() { //your ok function } [directmethod(namespace = "companyx")] public void it_s_ko() { //your ko function }
Comments
Post a Comment