Aug 06, 2009, 2:35 AM
[CLOSED] Message box confirm dialogue handling
Hi,
I want to know the return value of the confirm dialogue(Yes, No or Cancel) and need to do some bussiness logic depending on the use click.
I am trying following code but could not catch the user input(Yes, No or Cancel)
How to achive this ?
I want to know the return value of the confirm dialogue(Yes, No or Cancel) and need to do some bussiness logic depending on the use click.
I am trying following code but could not catch the user input(Yes, No or Cancel)
How to achive this ?
MessageBox mbConfirm;MessageBox mbConfirm;
mbConfirm=Ext.Msg.Confirm("Title", "Do you want to continue").Show();
string st=mbConfirm.ButtonText.ToString();
if(st=="Yes")
{
}
else if(st=="No")
{
}