New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWindowTelerik.Web.UI.RadWindowManager

Methods

Adds a new shortcut for the command

JS
addShortcut(String shortcutCommand, String shortcutString): void
Parameters:shortcutCommandString

shortcutCommand

shortcutStringString

shortcutString

Cascades the window objects

JS
cascade(): void

Clears cached properties of the manager. This property should be used when a setting of the manager is changed on the client and the change should be applied to new dynamically created windows.

JS
clearCloneCache(): void

Close the active window

JS
closeActiveWindow(): void

Closes all windows

JS
closeAll(): void

Returns a reference to the array of RadWindow objects managed by the RadWindowManager

JS
get_windows(): Array
Returns:

Array

Returns a reference to the current active window

JS
getActiveWindow(): Telerik.Web.UI.RadWindow
Returns:

Telerik.Web.UI.RadWindow

Returns shortcut string for the command

JS
getShortcutString(String shortcutCommand): String
Parameters:shortcutCommandString

shortcutCommand

Returns:

String

Returns a reference to a RadWindow. The Id is the window's server-side Id property

JS
getWindowById(String id): Telerik.Web.UI.RadWindow
Parameters:idStringReturns:

Telerik.Web.UI.RadWindow

Returns a reference to a RadWindow. The Name is the window's server-side Id property

JS
getWindowByName(String name): Telerik.Web.UI.RadWindow
Parameters:nameStringReturns:

Telerik.Web.UI.RadWindow

Returns a boolean value indicating whether a shortcut for this command exists

JS
isShortcutAdded(String shortcutCommand): Boolean
Parameters:shortcutCommandString

shortcutCommand

Returns:

Boolean

Maximizes all windows

JS
maximizeAll(): void

Minimizes the currently active window

JS
minimizeActiveWindow(): void

Minimizes all windows

JS
minimizeAll(): void

Opens a new or existing window. Can be used to change the URL of existing window as well. If an external page is loaded, do not provide content element. Otherwise, do not provide url. If both are provided, the url has priority

JS
open(String url, String wndName, String contentElement): Telerik.Web.UI.RadWindow
Parameters:urlStringwndNameStringcontentElementStringReturns:

Telerik.Web.UI.RadWindow

The RadWindow instance

Displays a RadAlert dialog with the specified content.

JS
radalert(String text, Number oWidth, Number oHeight, String oTitle, Function callbackFn, String imgUrl): Telerik.Web.UI.RadWindow
Parameters:textString

Content to show in the RadAlert dialog.

oWidthNumber

Width of the RadAlert dialog.

oHeightNumber

Height of the RadAlert dialog.

oTitleString

Title of the RadAlert dialog.

callbackFnFunction

Callback function that will be called after closing the dialog.

imgUrlString

The URL to replace the image for the RadAlert dialog.

Returns:

Telerik.Web.UI.RadWindow

The RadWindow instance

Displays a RadConfirm dialog with the specified content.

JS
radconfirm(String text, Function callBackFn, Number oWidth, Number oHeight, Object callerObj, String oTitle, String imgUrl): Telerik.Web.UI.RadWindow
Parameters:textString

Content to show in the RadConfirm dialog.

callBackFnFunction

Callback function that will be called after closing the dialog. The results of the user's action (OK or Cancel) can be processed here.

oWidthNumber

Width of the RadConfirm dialog.

oHeightNumber

Height of the RadConfirm dialog.

callerObjObject

Backwards compatibility. Set to Null.

oTitleString

Title of the RadConfirm dialog.

imgUrlString

Optional image to be shown in the RadConfirm dialog.

Returns:

Telerik.Web.UI.RadWindow

The RadWindow instance

Displays a RadPrompt dialog with the specified content.

JS
radprompt(String text, Function callBackFn, Number oWidth, Number oHeight, Object callerObj, String oTitle, String initialValue): Telerik.Web.UI.RadWindow
Parameters:textString

Content to show in the RadPrompt dialog.

callBackFnFunction

Callback function that will be called after closing the dialog. The results of the user's action (the text inserted) can be processed here.

oWidthNumber

Width of the RadPrompt dialog.

oHeightNumber

Height of the RadPrompt dialog.

callerObjObject

Backwards compatibility. Set to Null.

oTitleString

Title of the RadPrompt dialog.

initialValueString

Optional value to be shown in the textbox of the displayed RadPrompt dialog.

Returns:

Telerik.Web.UI.RadWindow

The RadWindow instance

Removes all shortcuts for the command

JS
removeAllShortcutsCommand(String shortcutCommand): void
Parameters:shortcutCommandString

shortcutCommand

Removes shortcut for the command

JS
removeShortcut(String shortcutCommand): void
Parameters:shortcutCommandString

shortcutCommand

Restores the active window

JS
restoreActiveWindow(): void

Restores all windows

JS
restoreAll(): void

Shows all windows

JS
showAll(): void

Tiles the window objects

JS
tile(): void
Not finding the help you need?
Contact Support