Project Description
The customize MessageBox, ConfirmBox and FrameBox controls was designed in which developers can easily prompt a message in the page whether they use it via server or client side without having much code and to present a user friendly message to end users.

The Idea:

As some of you may already know that displaying a pop-up message box has always been a pain for most developers in web programming. Everyone has probably used the Page.ClientScript.RegisterStartupScript or the ScriptManager.RegisterClientScriptBlock method to call the javaScript alert and confirm function for displaying a generic message box in the web page.

I was working with a project before that uses a lot of popup message to prompt the end user a message based on certain actions. First I simply used the JavaScript alert and confirm function to prompt them a message until I realized that using the simple JavaScript alert and confirm functions makes the page ugly in terms of "look-and-feel" because I can't customize it to conform with the web page color scheme. Another thing is that I need to prompt end users based on different operations like for example, I need to display a successful message pop-up if a successful operation happened and using the JavaScript alert for prompting successful message may confused end users because it uses the default warning image. To overcome those problem I can simply create a modal panel within the Webform and apply some css for setting up the look and feel of the message box but this is not a good approach for me. Why? Two main reasons: Maintainability and Re-usability. Since I need to have a popup message that can be reused across multiple applications and can be easily maintained so I decided to create these controls.

Main Features:

These controls was designed in which developers can easily prompt a message in the page whether they use it via server or client side without having much code and to present a user friendly message to end users.

These were created as a common control which can be reuse across applications. The maintenance for this control is much easier because any changes made from it would be reflected to all that uses it.

These controls provide options to developers to choose what type of message they want to show to the end user in which the standard JavaScript alert/confirm doesn't have. It also benefits the end users because these controls provide a user friendly interface and each message type are presented in a different color scheme and icon in which end users can easily recognize the message. These will help developers to have a consistent message box across applications and provide a fancier message box to end users.

The latest version of the controls allows you to modify the look and feel since it already has properties that you can set.

Download

How to use it?

Last edited Feb 7, 2013 at 2:03 PM by ProudMonkey, version 8