Click or drag to resize

ClientSideExtensions Class

Defines javascript client-side extensions for web controls.
Inheritance Hierarchy
SystemObject
  GSF.Web.UIClientSideExtensions

Namespace: GSF.Web.UI
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public static class ClientSideExtensions
View Source

The ClientSideExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodBringToFront Brings the page's browser window to the foreground.
Public Extension MethodClose(Control, String) Closes the current page when the control is clicked and returns the specified returnValue to the web page that opened it.
Public Extension MethodClose(Page, String) Closes the current page when it has finished loading in the browser and returns the specified returnValue to the web page that opened it.
Public methodStatic memberJavaScriptDecode Decodes JavaScript characters from given string.
Public methodStatic memberJavaScriptEncode Performs JavaScript encoding on given string.
Public Extension MethodMsgBox(Control, String, String, MsgBoxStyle, Boolean) Shows a windows application style message box when the control is clicked.
Public Extension MethodMsgBox(Page, String, String, MsgBoxStyle, Boolean) Shows a windows application style message box when the page has loaded.
Public Extension MethodPushToBack Pushes the page's browser window to the background.
Public Extension MethodRefresh(Control) Registers the control to perform a page refresh.
Public Extension MethodRefresh(Page, Boolean) Registers this page to perform a page refresh.
Public Extension MethodSetDefaultButton Registers a default button to be activated when the ENTER key is pressed inside this textbox.
Public Extension MethodSetSubmitOnce Registers the button to be disabled after one click to prevent multiple postbacks.
Public Extension MethodShow(Control, String, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean) Shows a modeless popup window for the specified web page url when the control is clicked.
Public Extension MethodShow(Page, String, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean) Shows a modeless popup window for the specified web page url when the page has loaded.
Public Extension MethodShowDialog(Control, String, Control, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean) Shows a modal popup window for the specified web page url when the control is clicked.
Public Extension MethodShowDialog(Page, String, Control, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean) Shows a modal popup window for the specified web page url when the page has loaded.
Public Extension MethodShowPopup(Control, String, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) Shows a popup for the specified web page url when the control is clicked.
Public Extension MethodShowPopup(Page, String, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) Shows a popup for the specified web page url when the page has loaded.
Top
See Also