Dialogue boxes are a fundamental part of any application, whether it be a desktop or web application. They provide a basic level of interaction between the application and the end user, allowing the user to control basic application flow through various messages.
Web applications in general often make it difficult to implement even basic functionality that is easily provided in the desktop world due to the single request/response methodology in a thin client/server model. To make matters worse, the ASP.NET postback pattern makes it even more difficult to customize page flow.
Although the postback pattern in ASP.NET has made a world of improvements in everyday basic development, it has also created several new shortcomings and limitations that require some trickery and creativity to make certain features work.
The 3 examples we will look at are as follows:
1) Alert information display
2) Confirmation conditional processing
3) Modal Dialogue Popup window with conditional processing
Note: Both VB.NET and C# examples are provided in this tutorial