The problem is not really in handling blocking dialogs, but the way that you 
are approaching the problem.

If you have ten records to delete and MUST have confirmation for each one, 
delete them one by one and ask for each one, but don't try to delete a record 
until the previous one has been confirmed or rejected. You need to make the 
code wait for confirmation of deletion before trying to delete the next record. 
Usually this will require the code to use event handlers to queue the deletion. 
It all depends what your code looks like.

Asking a user to approve deletion of multiple records one at a time, is not 
likely to lead to a good user experience. It would be better to ask in one 
dialog if the ten records can be deleted (you can even create a datagrid 
showing the records and and allow the user to uncheck ones they don't want 
deleted). Think hard about how you are handling this - users don't always like 
being repeatedly asked the same question over and over again.

How would your user feel if they changed their mind after seeing the first 
confirmation dialog but then had to be asked the same question another nine 
times over?

Paul
  ----- Original Message ----- 
  From: Parkash 
  To: [email protected] 
  Sent: Wednesday, June 11, 2008 8:05 AM
  Subject: [flexcoders] Blocking Dialog In Felx


  Hi All

   

  I have created a custom yes/no dialog using TileWindow and I am displaying it 
with the help of Popup Manager. Note this is Modal Dialog.

  Now I am deleting ten records all at once so this dialog opens up and ask for 
user confirmation r you sure you delete this record, but the problem is this 
dialog in non-blocking dialog and displays all ten confirmation message at the 
same time, please tell me how to create blocking Dialog in flex . 

  Is multithreading is allowed in flex or can callLater () method is a solution 
of this problem if yes please tell me how >.

  Thanks 

  Parkash Arjan

   

Reply via email to