RadWindow
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadWindow), "Toolbox.Icons.Window.png")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadWindow))]
public class RadWindow : RadWindowBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, INamingContainer, IMarkableStateManager, IStateManager
Inheritance: objectControlWebControlRadWebControlRadWindowBaseRadWindow...
Implements:
Inherited Members
Constructors
public RadWindow()
Properties
Gets the control, where the ContentTemplate will be instantiated in. You can add controls programmatically here.
[Browsable(false)]
public SingleTemplateContainer ContentContainer { get; }
You can use this property to programmatically add controls to the content area. If you add controls to the ContentContainer the NavigateUrl property will be ignored.
Gets or sets the System.Web.UI.ITemplate that contains the controls which will be placed in the control content area.
[TemplateContainer(typeof(SingleTemplateContainer))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateInstance(TemplateInstance.Single)]
[Browsable(false)]
[Bindable(false)]
public ITemplate ContentTemplate { get; set; }
You cannot set this property twice, or when you added controls to the ContentContainer. If you set ContentTemplate the NavigateUrl property will be ignored.
Specifies the URL that will originally be loaded in the RadWindow (can be changed on the client).
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public string NavigateUrl { get; set; }
The default is an empty string - "".
Gets or sets the id (ClientID if a runat=server is used) of a html element that will open the RadWindow when clicked.
[ClientControlProperty]
public string OpenerElementID { get; set; }
Methods
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides: