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

Telerik RadWindowManager

You can find information on the Server-side API of RadWindowManager at .

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[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: IAttributeAccessorIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIParserAccessorIPostBackDataHandlerIScriptControlISkinnableControlIUrlResolutionService...

Inherited Members WebControl.AddAttributesToRender(HtmlTextWriter)WebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.RenderContents(HtmlTextWriter)WebControl.SaveViewState()WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.TagKeyWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RadWindowManager()

Properties

This property allows to specify the HTML for the RadAlert popup

C#
[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

C#
[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.

C#
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public bool PreserveClientState { get; set; }

This property allows to specify the HTML for the RadPrompt popup

C#
[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.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public WindowCollection Windows { get; }

Methods

Shows a RadAlert dialog when the page is loaded on the client.

C#
public void RadAlert(string text, int? width, int? height, string title, string callBackFnName, string imgUrl)
Parameters:textstring

The text that will be shown in the dialog

widthint?

The width of the dialog.

heightint?

The height of the dialog.

titlestring

The title of the dialog.

callBackFnNamestring

The name of the JavaScript function that will be called when the dialog is closed. Passing an empty string will not require a callback function.

imgUrlstring

The 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.

C#
public void RadAlert(string text, int? width, int? height, string title, string callBackFnName)
Parameters:textstring

The text that will be shown in the dialog

widthint?

The width of the dialog.

heightint?

The height of the dialog.

titlestring

The title of the dialog.

callBackFnNamestring

The 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.

C#
public void RadConfirm(string text, string callBackFnName, int? width, int? height, object callerObject, string title, string imgUrl)
Parameters:textstring

The text that will be shown in the dialog.

callBackFnNamestring

The 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.

callerObjectobject

Must be null/Nothing.

titlestring

The title of the dialog.

imgUrlstring

The 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.

C#
public void RadConfirm(string text, string callBackFnName, int? width, int? height, object callerObject, string title)
Parameters:textstring

The text that will be shown in the dialog.

callBackFnNamestring

The 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.

callerObjectobject

Must be null/Nothing.

titlestring

The 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.

C#
public void RadPrompt(string text, string callBackFnName, int? width, int? height, object callerObject, string title, string initialValue)
Parameters:textstring

The text that will be shown in the dialog.

callBackFnNamestring

The 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.

callerObjectobject

Must be null/Nothing.

titlestring

The title of the dialog.

initialValuestring

The default value in the input field.