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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadWindow

Properties

argument

object

An arbitrary object that is often used to store a reference to some data when passing it between the main page and the content page. It is not used by RadWindow.

JS
argument: object

Events

Adds a activate event handler for the radwindow

JS
add_activate
Parameters:handlerFunction

The event handler function to attach

Adds a autoSizeEnd event handler for the radwindow

JS
add_autoSizeEnd
Parameters:handlerFunction

The event handler function to attach

Adds a beforeClose event handler for the radwindow

JS
add_beforeClose
Parameters:handlerFunction

The event handler function to attach

Adds a beforeShow event handler for the radwindow

JS
add_beforeShow
Parameters:handlerFunction

The event handler function to attach

Adds a close event handler for the radwindow

JS
add_close
Parameters:handlerFunction

The event handler function to attach

Adds a command event handler for the radwindow

JS
add_command
Parameters:handlerFunction

The event handler function to attach

Adds a dragEnd event handler for the radwindow

JS
add_dragEnd
Parameters:handlerFunction

The event handler function to attach

Adds a dragStart event handler for the radwindow

JS
add_dragStart
Parameters:handlerFunction

The event handler function to attach

Adds a pageLoad event handler for the radwindow

JS
add_pageLoad
Parameters:handlerFunction

The event handler function to attach

Adds a resizeEnd event handler for the radwindow

JS
add_resizeEnd
Parameters:handlerFunction

The event handler function to attach

Adds a resizeStart event handler for the radwindow

JS
add_resizeStart
Parameters:handlerFunction

The event handler function to attach

Adds a show event handler for the radwindow

JS
add_show
Parameters:handlerFunction

The event handler function to attach

Removes a activate event handler from the radwindow

JS
remove_activate
Parameters:handlerFunction

The event handler function to remove

Removes a autoSizeEnd event handler from the radwindow

JS
remove_autoSizeEnd
Parameters:handlerFunction

The event handler function to remove

Removes a beforeClose event handler from the radwindow

JS
remove_beforeClose
Parameters:handlerFunction

The event handler function to remove

Removes a beforeShow event handler from the radwindow

JS
remove_beforeShow
Parameters:handlerFunction

The event handler function to remove

Removes a close event handler from the radwindow

JS
remove_close
Parameters:handlerFunction

The event handler function to remove

Removes a command event handler from the radwindow

JS
remove_command
Parameters:handlerFunction

The event handler function to remove

Removes a dragEnd event handler from the radwindow

JS
remove_dragEnd
Parameters:handlerFunction

The event handler function to remove

Removes a dragStart event handler from the radwindow

JS
remove_dragStart
Parameters:handlerFunction

The event handler function to remove

Removes a pageLoad event handler from the radwindow

JS
remove_pageLoad
Parameters:handlerFunction

The event handler function to remove

Removes a resizeEnd event handler from the radwindow

JS
remove_resizeEnd
Parameters:handlerFunction

The event handler function to remove

Removes a resizeStart event handler from the radwindow

JS
remove_resizeStart
Parameters:handlerFunction

The event handler function to remove

Removes a show event handler from the radwindow

JS
remove_show
Parameters:handlerFunction

The event handler function to remove

Methods

Adds a new shortcut for the command

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

shortcutCommand

shortcutStringString

shortcutString

Changes RadWindow's size to fit the content page. It cannot be used with pages from other domains due to browsers" security restrictions. You can optionally call the method with argument true - this will make the autosizing perform an animation while adjusting the size

JS
autoSize(Boolean toAnimate): void
Parameters:toAnimateBoolean

Returns a reference to the parent page's document. This is useful for calling functions on the parent page.

JS
BrowserWindow(): void

Centers the RadWindow in the middle of the page

JS
center(): void

Closes the RadWindow. If argument is provided, it can be passed and extracted in the OnClientClose event by using the get_argument method

JS
close(Object callBackFnArg): void
Parameters:callBackFnArgObject

Argument of type Object that can be processed via the OnClientClose event handler.

Gets the animation value for the RadWindow

JS
get_animation(): Telerik.Web.UI.WindowAnimation
Returns:

Telerik.Web.UI.WindowAnimation

Gets animation duration value for the RadWindow. The default value is 500ms

JS
get_animationDuration(): Number
Returns:

Number

Gets a value which indicates whether the window will automatically resize itself according to its content page or not

JS
get_autoSize(): Boolean
Returns:

Boolean

Gets a reference to the RadWindow's parent [browser window] object

JS
get_browserWindow(): Window
Returns:

Window

CenterIfModal

JS
get_centerIfModal(): void

Gets the content element when the RadWindow is used as controls container and not with NavigateUrl

JS
get_contentElement(): Object
Returns:

Object

Returns a reference to RadWindow's content area (IFRAME). One possible use is to call a function that is declared in the RadWindow's page from the parent page. Another possible use is to modify the DOM

JS
get_contentFrame(): Object
Returns:

Object

Gets the class name specified in the CSSClass property

JS
get_cssClass(): String
Returns:

String

Gets a value indicating whether the RadWindow will be disposed and made inaccessible once it is closed

JS
get_destroyOnClose(): Boolean
Returns:

Boolean

Gets a value indicating whether the window should have a shadow.

JS
get_enableShadow(): Boolean
Returns:

Boolean

Gets the height of the RadWindow

JS
get_height(): Number
Returns:

Number

Gets the url of the icon in the upper left corner of the RadWindow titlebar

JS
get_iconUrl(): String
Returns:

String

Gets a value indicating whether the RadWindow will show in the visible viewport of the browser window

JS
get_keepInScreenBounds(): Boolean
Returns:

Boolean

Gets the horizontal offset relative to its offset element

JS
get_left(): Number
Returns:

Number

Gets the maximum height of the RadWindow

JS
get_maxHeight(): Number
Returns:

Number

Gets the maximum width of the RadWindow

JS
get_maxWidth(): Number
Returns:

Number

Gets the minimum height of the RadWindow

JS
get_minHeight(): Number
Returns:

Number

Gets the url of the minimized icon of the RadWindow

JS
get_minimizeIconUrl(): String
Returns:

String

Gets the id (ClientID if a runat=server is used) of an html element where the window object will be docked when minimized

JS
get_minimizeZoneID(): String
Returns:

String

Gets the minimum width of the RadWindow

JS
get_minWidth(): Number
Returns:

Number

Gets a value indicating whether the RadWindow is modal or not

JS
get_modal(): Boolean
Returns:

Boolean

RadWindow

JS
get_name(): void

Returns the RadWindow's navigate URL

JS
get_navigateUrl(): String
Returns:

String

Gets the offset element ID [element according to which the RadWindow should be positioned relatively] - works together with the Top and Left properties

JS
get_offsetElementID(): String
Returns:

String

Gets the value indicating the opacity of the RadWindow. The value should be between 0 and 100. The default value is 100 which is opaque

JS
get_opacity(): Number
Returns:

Number

Gets the OpenerElementId for the RadWindow

JS
get_openerElementID(): String
Returns:

String

Gets a value indicating whether the RadWindow has an overlay element.

JS
get_overlay(): Boolean
Returns:

Boolean

Gets a reference to the RadWindow's popup element (the wrapper DIV element)

JS
get_popupElement(): Object
Returns:

Object

Gets a value indicating whether the page that is loaded in the RadWindow should be loaded everytime from the server or will leave the browser default behaviour

JS
get_reloadOnShow(): Boolean
Returns:

Boolean

Gets the id (ClientID if a runat=server is used) of an html element in which the window object will be able to move

JS
get_restrictionZoneID(): String
Returns:

String

Gets a value indicating whether the page that is loaded in the RadWindow should be shown during the loading process or when it has finished loading

JS
get_showContentDuringLoad(): Boolean
Returns:

Boolean

Gets a value indicating whether the maximized RadWindow should be on top of the page's content

JS
get_showOnTopWhenMaximized(): Boolean
Returns:

Boolean

Gets current message in the status area of the window

JS
get_status(): String
Returns:

String

Gets the title of the RadWindow

JS
get_title(): String
Returns:

String

Gets the vertical offset relative to its offset element

JS
get_top(): Number
Returns:

Number

Gets a value indicating whether the RadWindow should have a visible statusbar

JS
get_visibleStatusbar(): Boolean
Returns:

Boolean

Gets a value indicating whether the RadWindow should have a visible titlebar

JS
get_visibleTitlebar(): Boolean
Returns:

Boolean

Gets the width of the RadWindow

JS
get_width(): Number
Returns:

Number

Returns a reference to the RadWindowManager. As an alternative you can use the ASP.NET AJAX convention and use $find()

JS
get_windowManager(): Telerik.Web.UI.RadWindowManager
Returns:

Telerik.Web.UI.RadWindowManager

Gets the z-index of the RadWindow

JS
get_zindex(): Number
Returns:

Number

Returns shortcut string for the command

JS
getShortcutString(String shortcutCommand): String
Parameters:shortcutCommandString

shortcutCommand

Returns:

String

Returns the size and position of the RadWindow

JS
getWindowBounds(): Sys.UI.Bounds
Returns:

Sys.UI.Bounds

Makes the RadWindow invisible

JS
hide(): void

Indicates whether the RadWindow is currently active

JS
isActive(): void

Indicates whether a certain autosize behavior is enabled for the RadWindow

JS
isAutoSizeBehaviorEnabled(Telerik.Web.UI.WindowAutoSizeBehaviors oBehavior): void
Parameters:oBehaviorTelerik.Web.UI.WindowAutoSizeBehaviors

Indicates whether a certain behavior is enabled for the RadWindow

JS
isBehaviorEnabled(Telerik.Web.UI.WindowBehaviors oBehavior): void
Parameters:oBehaviorTelerik.Web.UI.WindowBehaviors

Indicates whether the RadWindow is currently closed

JS
isClosed(): void

Indicates whether the UI of the RadWindow is already created or not

JS
isCreated(): void

Indicates whether a certain initial behavior is enabled for the RadWindow

JS
isInitialBehaviorEnabled(Telerik.Web.UI.WindowBehaviors oBehavior): void
Parameters:oBehaviorTelerik.Web.UI.WindowBehaviors

Indicates whether the RadWindow is currently maximized

JS
isMaximized(): void

Indicates whether the RadWindow is currently minimized

JS
isMinimized(): void

Indicates whether the RadWindow is modal

JS
isModal(): void

Indicates whether the RadWindow is currently pinned

JS
isPinned(): void

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

JS
isShortcutAdded(String shortcutCommand): Boolean
Parameters:shortcutCommandString

shortcutCommand

Returns:

Boolean

Indicates whether the RadWindow control is currently visible

JS
isVisible(): void

Maximizes the RadWindow

JS
maximize(): void

Minimizes the RadWindow

JS
minimize(): void

Moves the RadWindow to the specified position

JS
moveTo(Number x, Number y): void
Parameters:xNumberyNumber

Raises the Command event

JS
raise_command(): void

Reloads the content page in the RadWindow. The page should come from the same server as is the parent page

JS
reload(): void

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 RadWindow to its normal (no minimized or maximized) state

JS
restore(): void

Sets animation value for the RadWindow

JS
set_animation(Telerik.Web.UI.WindowAnimation value): void
Parameters:valueTelerik.Web.UI.WindowAnimation

Sets animation duration value for the RadWindow

JS
set_animationDuration(Number value): void
Parameters:valueNumber

Sets a value which indicates whether the window should automatically resize itself according to its content page or not

JS
set_autoSize(Boolean value): void
Parameters:valueBoolean

Sets the AutoSizeBehaviors property of the RadWindow object. Its argument must be a value or combination of values from the Telerik.Web.UI.WindowAutoSizeBehaviors enum. To set more than one behavior, use "+". Possible values are Width, WidthProportional, Height, HeightProportional, Default e.g: oWnd.set_autoSizeBehaviors( Telerik.Web.UI.WindowAutoSizeBehaviors.Width + Telerik.Web.UI.WindowAutoSizeBehaviors.Height )

JS
set_autoSizeBehaviors(Telerik.Web.UI.WindowAutoSizeBehaviors value): void
Parameters:valueTelerik.Web.UI.WindowAutoSizeBehaviors

Sets the Behaviors property of the RadWindow object. Its argument must be a value or combination of values from the Telerik.Web.UI.WindowBehaviors enum. To set more than one behavior, use "+". Possible values are None, Resize, Minimize, Close, Pin, Maximize, Move, Reload, Default e.g: oWnd.set_behaviors( Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close )

JS
set_behaviors(Telerik.Web.UI.WindowBehaviors value): void
Parameters:valueTelerik.Web.UI.WindowBehaviors

CenterIfModal

JS
set_centerIfModal(): void

Sets content element when the RadWindow is used as controls container and not with NavigateUrl

JS
set_contentElement(Sys.UI.DomElement element): void
Parameters:elementSys.UI.DomElement

Sets a value indicating whether the RadWindow will be disposed and made inaccessible once it is closed

JS
set_destroyOnClose(Boolean value): void
Parameters:valueBoolean

Sets a value indicating whether the window should have a shadow.

JS
set_enableShadow(Boolean value): void
Parameters:valueBoolean

Sets new height to the window

JS
set_height(Number value): void
Parameters:valueNumber

Sets the url of the icon in the upper left rwCorner of the RadWindow titlebar

JS
set_iconUrl(String value): void
Parameters:valueString

Sets the InitialBehaviors property of the RadWindow object. Its argument must be a value or combination of values from the Telerik.Web.UI.WindowBehaviors enum. To set more than one behavior, use "+". Possible values are None, Minimize, Pin, Maximize, Default e.g: oWnd.set_initialBehaviors( Telerik.Web.UI.WindowBehaviors.Pin + Telerik.Web.UI.WindowBehaviors.Maximize )

JS
set_initialBehaviors(Telerik.Web.UI.WindowBehaviors value): void
Parameters:valueTelerik.Web.UI.WindowBehaviors

Sets a value indicating whether the RadWindow should show in the visible viewport of the browser window

JS
set_keepInScreenBounds(Boolean value): void
Parameters:valueBoolean

Sets a new horizontal offset relative to its offset element

JS
set_left(Number value): void
Parameters:valueNumber

Sets new maximum height to the window

JS
set_maxHeight(Number value): void
Parameters:valueNumber

Sets new maximum width to the RadWindow

JS
set_maxWidth(Number value): void
Parameters:valueNumber

Sets new minimum height to the window

JS
set_minHeight(Number value): void
Parameters:valueNumber

Sets the url of the minimized icon of the RadWindow

JS
set_minimizeIconUrl(String value): void
Parameters:valueString

Sets the clientside id of an html element where the window object will be docked when minimized

JS
set_minimizeZoneID(String value): void
Parameters:valueString

Sets new minimum width to the RadWindow

JS
set_minWidth(Number value): void
Parameters:valueNumber

Sets a value indicating whether the RadWindow should be modal or not

JS
set_modal(Boolean value): void
Parameters:valueBoolean

Sets the URL RadWindow will navigate to. Does not create the markup of the dialog or load the content page. To load the content page and show the dialog use setUrl and show respectively.

JS
set_navigateUrl(String value): void
Parameters:valueString

Sets the offset element ID [element according to which the RadWindow should be positioned relatively] - works together with the Top and Left properties

JS
set_offsetElementID(String value): void
Parameters:valueString

Sets the value indicating the opacity of the RadWindow

JS
set_opacity(Number value): void
Parameters:valueNumber

Sets the OpenerElementId for the RadWindow

JS
set_openerElementID(String value): void
Parameters:valueString

Sets a value indicating whether the RadWindow should create an overlay element.

JS
set_overlay(Boolean value): void
Parameters:valueBoolean

Sets a value indicating whether the page that is loaded in the RadWindow should be loaded everytime from the server or will leave the browser default behaviour

JS
set_reloadOnShow(Boolean value): void
Parameters:valueBoolean

Sets the clientside id of an html element in which the window object will be able to move

JS
set_restrictionZoneID(String value): void
Parameters:valueString

Sets a value indicating whether the page that is loaded in the RadWindow should be shown during the loading process or when it has finished loading

JS
set_showContentDuringLoad(Boolean value): void
Parameters:valueBoolean

Sets a message in the status area of the window

JS
set_status(String message): void
Parameters:messageString

Sets a new title to the RadWindow

JS
set_title(String value): void
Parameters:valueString

Sets a new vertical offset relative to its offset element

JS
set_top(Number value): void
Parameters:valueNumber

Sets a value indicating whether the RadWindow should have a visible statusbar

JS
set_visibleStatusbar(Boolean value): void
Parameters:valueBoolean

Sets a value indicating whether the RadWindow should have a visible titlebar

JS
set_visibleTitlebar(Boolean value): void
Parameters:valueBoolean

Sets new width to the RadWindow

JS
set_width(Number value): void
Parameters:valueNumber

Makes the RadWindow the active RadWindow on the page

JS
setActive(Boolean bActivate): void
Parameters:bActivateBoolean

Sets new width and height to the RadWindow

JS
setSize(Number width, Number height): void
Parameters:widthNumberheightNumber

Changes URL of RadWindow

JS
setUrl(String url): void
Parameters:urlString

Shows the RadWindow if it was invisible. If the RadWindow does not exist, show creates it

JS
show(): void

Toggles whether the RadWindow is pinned

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