|
ClientSideExtensionsMsgBox(Control, String, String, MsgBoxStyle, Boolean) Method
|
Shows a windows application style message box when the control is clicked.
Namespace: GSF.Web.UIAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax GSF.Web.UI.ClientSideExtensions.MsgBox = function(control, prompt, title, buttons, doPostBack);
View SourceParameters
- control Control
- Control that will show the message box when clicked.
- prompt String
- Text that is to be displayed in the message box.
- title String
- Title of the message box.
- buttons MsgBoxStyle
- Buttons to be displayed in the message box.
- doPostBack Boolean (Optional)
- True if a post-back is to be performed when either OK, Retry, or Yes buttons are clicked in the message box, otherwise False.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also