MessageDialog in Windows 8 xaml -


my code:

            messagedialog msg = new messagedialog("are sure cancel booking?", "confirmation");             msg.commands.add(new uicommand("confirm", new uicommandinvokedhandler(commandhandler)));             msg.commands.add(new uicommand("cancel", new uicommandinvokedhandler(commandhandler)));             msg.defaultcommandindex = 1;             msg.cancelcommandindex = 1;             await msg.showasync();  private async void commandhandler(iuicommand command)     {         var commandlabel = command.label;         switch (commandlabel)         {             case "confirm":                 cancelbookingtickets();                 break;             case "cancel":                 break;          }       }   protected async void cancelbookingtickets()     {                        messagedialog msg1 = new messagedialog("the cancellation process complete", "complete");             await msg1.showasync();                 } 

i trying use nested messagedialog box in windows 8 xaml app when reach msg1.showasync(), fires exception saying "access denied".

can me out problem?

you facing problem of multiple messagedialog @ once.

how allow multiple popups @ once in winrt?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -