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.
argument: object
Events
Adds a activate event handler for the radwindow
add_activate
The event handler function to attach
Adds a autoSizeEnd event handler for the radwindow
add_autoSizeEnd
The event handler function to attach
Adds a beforeClose event handler for the radwindow
add_beforeClose
The event handler function to attach
Adds a beforeShow event handler for the radwindow
add_beforeShow
The event handler function to attach
Adds a close event handler for the radwindow
add_close
The event handler function to attach
Adds a command event handler for the radwindow
add_command
The event handler function to attach
Adds a dragEnd event handler for the radwindow
add_dragEnd
The event handler function to attach
Adds a dragStart event handler for the radwindow
add_dragStart
The event handler function to attach
Adds a pageLoad event handler for the radwindow
add_pageLoad
The event handler function to attach
Adds a resizeEnd event handler for the radwindow
add_resizeEnd
The event handler function to attach
Adds a resizeStart event handler for the radwindow
add_resizeStart
The event handler function to attach
Adds a show event handler for the radwindow
add_show
The event handler function to attach
Removes a activate event handler from the radwindow
remove_activate
The event handler function to remove
Removes a autoSizeEnd event handler from the radwindow
remove_autoSizeEnd
The event handler function to remove
Removes a beforeClose event handler from the radwindow
remove_beforeClose
The event handler function to remove
Removes a beforeShow event handler from the radwindow
remove_beforeShow
The event handler function to remove
Removes a close event handler from the radwindow
remove_close
The event handler function to remove
Removes a command event handler from the radwindow
remove_command
The event handler function to remove
Removes a dragEnd event handler from the radwindow
remove_dragEnd
The event handler function to remove
Removes a dragStart event handler from the radwindow
remove_dragStart
The event handler function to remove
Removes a pageLoad event handler from the radwindow
remove_pageLoad
The event handler function to remove
Removes a resizeEnd event handler from the radwindow
remove_resizeEnd
The event handler function to remove
Removes a resizeStart event handler from the radwindow
remove_resizeStart
The event handler function to remove
Removes a show event handler from the radwindow
remove_show
The event handler function to remove
Methods
Adds a new shortcut for the command
addShortcut(String shortcutCommand, String shortcutString): void
shortcutCommand
shortcutStringStringshortcutString
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
autoSize(Boolean toAnimate): void
Returns a reference to the parent page's document. This is useful for calling functions on the parent page.
BrowserWindow(): void
Centers the RadWindow in the middle of the page
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
close(Object callBackFnArg): void
Argument of type Object that can be processed via the OnClientClose event handler.
Gets the animation value for the RadWindow
get_animation(): Telerik.Web.UI.WindowAnimation
Telerik.Web.UI.WindowAnimation
Gets animation duration value for the RadWindow. The default value is 500ms
get_animationDuration(): Number
Number
Gets a value which indicates whether the window will automatically resize itself according to its content page or not
get_autoSize(): Boolean
Boolean
Gets a reference to the RadWindow's parent [browser window] object
get_browserWindow(): Window
Window
CenterIfModal
get_centerIfModal(): void
Gets the content element when the RadWindow is used as controls container and not with NavigateUrl
get_contentElement(): Object
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
get_contentFrame(): Object
Object
Gets the class name specified in the CSSClass property
get_cssClass(): String
String
Gets a value indicating whether the RadWindow will be disposed and made inaccessible once it is closed
get_destroyOnClose(): Boolean
Boolean
Gets a value indicating whether the window should have a shadow.
get_enableShadow(): Boolean
Boolean
Gets the height of the RadWindow
get_height(): Number
Number
Gets the url of the icon in the upper left corner of the RadWindow titlebar
get_iconUrl(): String
String
Gets a value indicating whether the RadWindow will show in the visible viewport of the browser window
get_keepInScreenBounds(): Boolean
Boolean
Gets the horizontal offset relative to its offset element
get_left(): Number
Number
Gets the maximum height of the RadWindow
get_maxHeight(): Number
Number
Gets the maximum width of the RadWindow
get_maxWidth(): Number
Number
Gets the minimum height of the RadWindow
get_minHeight(): Number
Number
Gets the url of the minimized icon of the RadWindow
get_minimizeIconUrl(): String
String
Gets the id (ClientID if a runat=server is used) of an html element where the window object will be docked when minimized
get_minimizeZoneID(): String
String
Gets the minimum width of the RadWindow
get_minWidth(): Number
Number
Gets a value indicating whether the RadWindow is modal or not
get_modal(): Boolean
Boolean
RadWindow
get_name(): void
Returns the RadWindow's navigate URL
get_navigateUrl(): String
String
Gets the offset element ID [element according to which the RadWindow should be positioned relatively] - works together with the Top and Left properties
get_offsetElementID(): String
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
get_opacity(): Number
Number
Gets the OpenerElementId for the RadWindow
get_openerElementID(): String
String
Gets a value indicating whether the RadWindow has an overlay element.
get_overlay(): Boolean
Boolean
Gets a reference to the RadWindow's popup element (the wrapper DIV element)
get_popupElement(): Object
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
get_reloadOnShow(): Boolean
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
get_restrictionZoneID(): String
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
get_showContentDuringLoad(): Boolean
Boolean
Gets a value indicating whether the maximized RadWindow should be on top of the page's content
get_showOnTopWhenMaximized(): Boolean
Boolean
Gets current message in the status area of the window
get_status(): String
String
Gets the title of the RadWindow
get_title(): String
String
Gets the vertical offset relative to its offset element
get_top(): Number
Number
Gets a value indicating whether the RadWindow should have a visible statusbar
get_visibleStatusbar(): Boolean
Boolean
Gets a value indicating whether the RadWindow should have a visible titlebar
get_visibleTitlebar(): Boolean
Boolean
Gets the width of the RadWindow
get_width(): Number
Number
Returns a reference to the RadWindowManager. As an alternative you can use the ASP.NET AJAX convention and use $find()
get_windowManager(): Telerik.Web.UI.RadWindowManager
Telerik.Web.UI.RadWindowManager
Gets the z-index of the RadWindow
get_zindex(): Number
Number
Returns shortcut string for the command
getShortcutString(String shortcutCommand): String
shortcutCommand
Returns:String
Returns the size and position of the RadWindow
getWindowBounds(): Sys.UI.Bounds
Sys.UI.Bounds
Makes the RadWindow invisible
hide(): void
Indicates whether the RadWindow is currently active
isActive(): void
Indicates whether a certain autosize behavior is enabled for the RadWindow
isAutoSizeBehaviorEnabled(Telerik.Web.UI.WindowAutoSizeBehaviors oBehavior): void
Indicates whether a certain behavior is enabled for the RadWindow
isBehaviorEnabled(Telerik.Web.UI.WindowBehaviors oBehavior): void
Indicates whether the RadWindow is currently closed
isClosed(): void
Indicates whether the UI of the RadWindow is already created or not
isCreated(): void
Indicates whether a certain initial behavior is enabled for the RadWindow
isInitialBehaviorEnabled(Telerik.Web.UI.WindowBehaviors oBehavior): void
Indicates whether the RadWindow is currently maximized
isMaximized(): void
Indicates whether the RadWindow is currently minimized
isMinimized(): void
Indicates whether the RadWindow is modal
isModal(): void
Indicates whether the RadWindow is currently pinned
isPinned(): void
Returns a boolean value indicating whether a shortcut for this command exists
isShortcutAdded(String shortcutCommand): Boolean
shortcutCommand
Returns:Boolean
Indicates whether the RadWindow control is currently visible
isVisible(): void
Maximizes the RadWindow
maximize(): void
Minimizes the RadWindow
minimize(): void
Moves the RadWindow to the specified position
moveTo(Number x, Number y): void
Raises the Command event
raise_command(): void
Reloads the content page in the RadWindow. The page should come from the same server as is the parent page
reload(): void
Removes all shortcuts for the command
removeAllShortcutsCommand(String shortcutCommand): void
shortcutCommand
Removes shortcut for the command
removeShortcut(String shortcutCommand): void
shortcutCommand
Restores the RadWindow to its normal (no minimized or maximized) state
restore(): void
Sets animation value for the RadWindow
set_animation(Telerik.Web.UI.WindowAnimation value): void
Sets animation duration value for the RadWindow
set_animationDuration(Number value): void
Sets a value which indicates whether the window should automatically resize itself according to its content page or not
set_autoSize(Boolean value): void
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 )
set_autoSizeBehaviors(Telerik.Web.UI.WindowAutoSizeBehaviors value): void
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 )
set_behaviors(Telerik.Web.UI.WindowBehaviors value): void
CenterIfModal
set_centerIfModal(): void
Sets content element when the RadWindow is used as controls container and not with NavigateUrl
set_contentElement(Sys.UI.DomElement element): void
Sets a value indicating whether the RadWindow will be disposed and made inaccessible once it is closed
set_destroyOnClose(Boolean value): void
Sets a value indicating whether the window should have a shadow.
set_enableShadow(Boolean value): void
Sets new height to the window
set_height(Number value): void
Sets the url of the icon in the upper left rwCorner of the RadWindow titlebar
set_iconUrl(String value): void
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 )
set_initialBehaviors(Telerik.Web.UI.WindowBehaviors value): void
Sets a value indicating whether the RadWindow should show in the visible viewport of the browser window
set_keepInScreenBounds(Boolean value): void
Sets a new horizontal offset relative to its offset element
set_left(Number value): void
Sets new maximum height to the window
set_maxHeight(Number value): void
Sets new maximum width to the RadWindow
set_maxWidth(Number value): void
Sets new minimum height to the window
set_minHeight(Number value): void
Sets the url of the minimized icon of the RadWindow
set_minimizeIconUrl(String value): void
Sets the clientside id of an html element where the window object will be docked when minimized
set_minimizeZoneID(String value): void
Sets new minimum width to the RadWindow
set_minWidth(Number value): void
Sets a value indicating whether the RadWindow should be modal or not
set_modal(Boolean value): void
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.
set_navigateUrl(String value): void
Sets the offset element ID [element according to which the RadWindow should be positioned relatively] - works together with the Top and Left properties
set_offsetElementID(String value): void
Sets the value indicating the opacity of the RadWindow
set_opacity(Number value): void
Sets the OpenerElementId for the RadWindow
set_openerElementID(String value): void
Sets a value indicating whether the RadWindow should create an overlay element.
set_overlay(Boolean value): void
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
set_reloadOnShow(Boolean value): void
Sets the clientside id of an html element in which the window object will be able to move
set_restrictionZoneID(String value): void
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
set_showContentDuringLoad(Boolean value): void
Sets a message in the status area of the window
set_status(String message): void
Sets a new title to the RadWindow
set_title(String value): void
Sets a new vertical offset relative to its offset element
set_top(Number value): void
Sets a value indicating whether the RadWindow should have a visible statusbar
set_visibleStatusbar(Boolean value): void
Sets a value indicating whether the RadWindow should have a visible titlebar
set_visibleTitlebar(Boolean value): void
Sets new width to the RadWindow
set_width(Number value): void
Makes the RadWindow the active RadWindow on the page
setActive(Boolean bActivate): void
Sets new width and height to the RadWindow
setSize(Number width, Number height): void
Changes URL of RadWindow
setUrl(String url): void
Shows the RadWindow if it was invisible. If the RadWindow does not exist, show creates it
show(): void
Toggles whether the RadWindow is pinned
togglePin(): void