Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ClientScriptResource("Telerik.Web.UI.RadContentTemplateTile", "Telerik.Web.UI.Tile.RadTileScripts.js")]
[TelerikToolboxCategory("Navigation")]
[ToolboxBitmap(typeof(RadContentTemplateTile), "Toolbox.Icons.TileList.png")]
public class RadContentTemplateTile : RadBaseTile, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IMarkableStateManager, IStateManager, IPostBackEventHandler, INamingContainer
Inheritance: objectControlWebControlRadWebControlRadBaseTileRadContentTemplateTile...
Implements:
Inherited Members
Constructors
Creates a RadTextTile tile.
public RadContentTemplateTile()
Properties
Gets the control, where the ContentTemplate will be instantiated in. You can add controls programmatically here.
[Browsable(false)]
public Panel 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(RadContentTemplateTile))]
[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.
Methods
protected virtual void InstantiateContentTemplate()
protected override void RenderTileBody(HtmlTextWriter writer)
Overrides:
protected override void RenderTileContent(HtmlTextWriter writer)
Overrides: