RadWindowManager
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ClientScriptResource("Telerik.Web.UI.RadWindowManager", "Telerik.Web.UI.Window.RadWindowManager.js")]
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadWindowManager), "Toolbox.Icons.Window.png")]
public class RadWindowManager : RadWindowBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadWindowBaseRadWindowManager...
Implements:
Inherited Members
Constructors
public RadWindowManager()
Properties
This property allows to specify the HTML for the RadAlert popup
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ITemplate AlertTemplate { get; set; }
Fore more information see this KB article: http://www.telerik.com/support/kb/aspnet-ajax/window/change-the-templates-of-the-predefined-dialogs-radalert-radconfirm-and-radprompt.aspx.
This property allows to specify the HTML for the RadConfirm popup
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ITemplate ConfirmTemplate { get; set; }
Fore more information see this KB article: http://www.telerik.com/support/kb/aspnet-ajax/window/change-the-templates-of-the-predefined-dialogs-radalert-radconfirm-and-radprompt.aspx.
Gets or sets a value indicating whether the RadWindow objects' state (size, location, behavior) will be persisted in a client cookie to restore state over page postbacks/visits.
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public bool PreserveClientState { get; set; }
This property allows to specify the HTML for the RadPrompt popup
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public ITemplate PromptTemplate { get; set; }
Fore more information see this KB article: http://www.telerik.com/support/kb/aspnet-ajax/window/change-the-templates-of-the-predefined-dialogs-radalert-radconfirm-and-radprompt.aspx.
Gets the collection of RadWindow objects the RadWindowManager has.
[PersistenceMode(PersistenceMode.InnerProperty)]
public WindowCollection Windows { get; }
Methods
Shows a RadAlert dialog when the page is loaded on the client.
public void RadAlert(string text, int? width, int? height, string title, string callBackFnName, string imgUrl)
The text that will be shown in the dialog
widthint?The width of the dialog.
heightint?The height of the dialog.
titlestringThe title of the dialog.
callBackFnNamestringThe name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.
imgUrlstringThe URL to the new image that will appear on the left side of the dialog. An empty string will remove the image, null/Nothing will keep the original image
Shows a RadAlert dialog when the page is loaded on the client.
public void RadAlert(string text, int? width, int? height, string title, string callBackFnName)
The text that will be shown in the dialog
widthint?The width of the dialog.
heightint?The height of the dialog.
titlestringThe title of the dialog.
callBackFnNamestringThe name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.
Shows a RadConfirm dialog when the page is loaded on the client.
public void RadConfirm(string text, string callBackFnName, int? width, int? height, object callerObject, string title, string imgUrl)
The text that will be shown in the dialog.
callBackFnNamestringThe name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.
widthint?The width of the dialog.
heightint?The height of the dialog.
callerObjectobjectMust be null/Nothing.
titlestringThe title of the dialog.
imgUrlstringThe URL to the new image that will appear on the left side of the dialog. An empty string will remove the image, null/Nothing will keep the original image
For more information see the following help article: http://www.telerik.com/help/aspnet-ajax/window-dialogs-confirm.html.
Shows a RadConfirm dialog when the page is loaded on the client.
public void RadConfirm(string text, string callBackFnName, int? width, int? height, object callerObject, string title)
The text that will be shown in the dialog.
callBackFnNamestringThe name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.
widthint?The width of the dialog.
heightint?The height of the dialog.
callerObjectobjectMust be null/Nothing.
titlestringThe title of the dialog.
For more information see the following help article: http://www.telerik.com/help/aspnet-ajax/window-dialogs-confirm.html.
Shows a RadPrompt dialog when the page is loaded on the client.
public void RadPrompt(string text, string callBackFnName, int? width, int? height, object callerObject, string title, string initialValue)
The text that will be shown in the dialog.
callBackFnNamestringThe name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.
widthint?The width of the dialog.
heightint?The height of the dialog.
callerObjectobjectMust be null/Nothing.
titlestringThe title of the dialog.
initialValuestringThe default value in the input field.