Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm writing an ASP.NET (VB.NET) application. I have a situation where I need the user to respond to a prompt, but I need the code to stop executing until the user responds. If I use a ModalPopupExtender, the code continues executing and the prompt doesn't appear until the code is complete. I can't use a ConfirmButtonExtender because that is tied to a control and I need the user to be prompted without interaction on their part. Any ideas?
Posted

1 solution

Instead of interrupting the code that way you can use the Wizard control where you can dynamically create the next step based on the previous user input. Hope that helps.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 12-Apr-11 14:54pm    
This is one of the valid approaches, my 5.
What is the idea of "prompt"? Something from the habit of writing only console applications?
Looks like a nonsense.
--SA
Albin Abel 12-Apr-11 15:36pm    
Hi SAKryukov thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900