|
ClientSideExtensionsMsgBox(Page, String, String, MsgBoxStyle, Boolean) Method
|
Shows a windows application style message box when the page has loaded.
Namespace: GSF.Web.UIAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax GSF.Web.UI.ClientSideExtensions.MsgBox = function(page, prompt, title, buttons, doPostBack);
View SourceParameters
- page Page
- Page that will show the message box when loaded.
- 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
Page. 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