Hello
Add something like this, to
Handler
:
Ext.Msg.Confirm("Are you sure?", new Coolite.Ext.Web.MessageBox.ButtonsConfig
{
No = new Coolite.Ext.Web.MessageBox.ButtonConfig
{
Text = Resources.HASResource.Yes,
Handler = "Coolite.AjaxMethods.MyMethod(myParameter)"
},
Yes = new Coolite.Ext.Web.MessageBox.ButtonConfig
{
Text = Resources.HASResource.No
}
}).Show();
Then add the method like this:
[AjaxMethod]
public void MyMethod(string parameter)
{
}
I think it works.