AlertBox
The Wisej.NET AlertBox cannot be instantiated directly. Display messages by calling the static AlertBox.Show method, which accepts parameters for title, message, and icon configuration.
info
For a full list of properties, methods and events see the API documentation.
Features
Styles
The AlertBox supports several alert styles:
None: No icon displayedError: Red X or exclamation point indicating an errorStop: Stop sign iconHand: Raised hand iconQuestion: Question mark in circleWarning: Exclamation point in triangleInformation: Letter i in circle
-57dd63f7d99fed4d34bff084195a9593.png)
HTML Content
Enable HTML content in messages by setting the allowHtml parameter to true:
- C#
AlertBox.Show(@"<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>", allowHtml: true);
Advanced
JavaScript Widget
| Item | Description |
|---|---|
| Class name | "wisej.web.AlertBox" |
| Theme appearance | "alertbox", see Themes |
| Source code | https://github.com/iceteagroup/wisej-js |