Click or drag to resize

ClientSideExtensions Methods

The ClientSideExtensions type exposes the following members.

Methods
  Name Description
Public Extension Method BringToFront Brings the page's browser window to the foreground.
Public Extension Method Close(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 Method Close(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 method Static member JavaScriptDecode Decodes JavaScript characters from given string.
Public method Static member JavaScriptEncode Performs JavaScript encoding on given string.
Public Extension Method MsgBox(Control, String, String, MsgBoxStyle, Boolean) Shows a windows application style message box when the control is clicked.
Public Extension Method MsgBox(Page, String, String, MsgBoxStyle, Boolean) Shows a windows application style message box when the page has loaded.
Public Extension Method PushToBack Pushes the page's browser window to the background.
Public Extension Method Refresh(Control) Registers the control to perform a page refresh.
Public Extension Method Refresh(Page, Boolean) Registers this page to perform a page refresh.
Public Extension Method SetDefaultButton Registers a default button to be activated when the ENTER key is pressed inside this textbox.
Public Extension Method SetSubmitOnce Registers the button to be disabled after one click to prevent multiple postbacks.
Public Extension Method Show(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 Method Show(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 Method ShowDialog(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 Method ShowDialog(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 Method ShowPopup(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 Method ShowPopup(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