Tuesday, 23 July 2013
The MessageBox class can be used to add a custom modal box to your application. Because it's template based, you can use any existing modal box library. For example you can use Twitters modal box from the bootstrap. The class, allows you to configure the template, allowing you to set the modal box's title, message and buttons . You can even add your own custom variables on the template and use the class to assign it values.
Below is a list of class methods and properties.
|Buttons||Gets a button collection that represents child button controls.|
|Message||Sets or gets the modals message.|
|Template||Sets or gets the path to the template file.|
|Title||Sets or gets the modals title.|
|Variable||Gets a variable collection that represents user defined key/value variables.|