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

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TelerikToolboxCategory("Data")]
[RequiredScript(typeof(Core), 1)]
[RequiredScript(typeof(jQueryPlugins), 2)]
[RequiredScript(typeof(ImageAnimations), 3)]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadLightBox))]
[RequiredScript(typeof(MaterialRipple))]
[ClientScriptResource("Telerik.Web.UI.RadLightBox", "Telerik.Web.UI.LightBox.RadLightBoxScripts.js")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadGrid))]
[EmbeddedSkin("LightBox")]
[EmbeddedSkin("LightBox", "Default")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadLightBox))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Mobile, typeof(RadLightBox))]
public class RadLightBox : RadDataBoundControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, INamingContainer, IPostBackEventHandler

Inheritance: objectRadDataBoundControlRadLightBox

Implements: IControlIControlResolverIFeatureGroupINamingContainerIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControl...

Inherited Members RadDataBoundControl.ResolveRenderMode()RadDataBoundControl.CanRenderInMode(RenderModeBrowserAdaptor, RenderMode)RadDataBoundControl.PreferredRenderMode(RenderModeBrowserAdaptor)RadDataBoundControl.GetSkinSuffix()RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)RadDataBoundControl.ControlPreRender()RadDataBoundControl.RenderSmartPasteDescriptionAttribute()RadDataBoundControl.ConfigureCombinedScriptFile()RadDataBoundControl.ConfigureCombinedBaseSkinFile()RadDataBoundControl.RegisterScriptControl()RadDataBoundControl.RegisterCssReferences()RadDataBoundControl.RegisterScriptDescriptors()RadDataBoundControl.LoadClientState(Dictionary<string, object>)RadDataBoundControl.SaveClientState()RadDataBoundControl.RenderClientStateField(HtmlTextWriter)RadDataBoundControl.RenderEndTag(HtmlTextWriter)RadDataBoundControl.RenderScriptsNoScriptManager(HtmlTextWriter)RadDataBoundControl.RenderDescriptorsNoScriptManager(HtmlTextWriter)RadDataBoundControl.ApplyConditionalRendering(HtmlTextWriter)RadDataBoundControl.RenderClassic(HtmlTextWriter)RadDataBoundControl.RenderLite(HtmlTextWriter)RadDataBoundControl.RenderNative(HtmlTextWriter)RadDataBoundControl.InitializeRenderMode()RadDataBoundControl.OnInit(EventArgs)RadDataBoundControl.DescribeRenderingMode(IScriptDescriptor)RadDataBoundControl.DescribeProperty<T>(IScriptDescriptor, string, T, T)RadDataBoundControl.DescribeEvent(IScriptDescriptor, string, string)RadDataBoundControl.GetEmbeddedSkinNames()RadDataBoundControl.CreateControlRenderer()RadDataBoundControl.GetScriptDescriptors()RadDataBoundControl.GetScriptReferences()RadDataBoundControl.GetViewScriptReference()RadDataBoundControl.LoadPostData(string, NameValueCollection)RadDataBoundControl.RaisePostDataChangedEvent()RadDataBoundControl.GetViewStateValue<T>(string, T)RadDataBoundControl.DescribeClientProperties(IScriptDescriptor)RadDataBoundControl.DescribeClientEvents(IScriptDescriptor)RadDataBoundControl.FeatureGroupIDRadDataBoundControl.RegisterWithScriptManagerRadDataBoundControl.SkinRadDataBoundControl.EnableRippleEffectRadDataBoundControl.EnableEmbeddedScriptsRadDataBoundControl.EnableEmbeddedSkinsRadDataBoundControl.EnableEmbeddedBaseStylesheetRadDataBoundControl.ODataDataSourceIDRadDataBoundControl.ClientDataSourceIDRadDataBoundControl.DataModelIDRadDataBoundControl.RuntimeSkinRadDataBoundControl.EnableAjaxSkinRenderingRadDataBoundControl.ClientStateFieldIDRadDataBoundControl.RenderModeRadDataBoundControl.ResolvedRenderModeRadDataBoundControl.SupportsAdaptiveRenderingRadDataBoundControl.SupportsNativeRenderingRadDataBoundControl.SupportsLightweightRenderingRadDataBoundControl.DefaultCssClassRadDataBoundControl.IsRenderModeSetRadDataBoundControl.IsBoundUsingODataRadDataBoundControl.IsBoundUsingClientDataSourceRadDataBoundControl.RenderingCompatibilityRadDataBoundControl.ClientIDModeRadDataBoundControl.ScriptManagerRadDataBoundControl.RadScriptManagerRadDataBoundControl.RadStyleSheetManagerRadDataBoundControl.RendererRadDataBoundControl.AccessKeyRadDataBoundControl.BackColorRadDataBoundControl.BorderColorRadDataBoundControl.BorderStyleRadDataBoundControl.BorderWidthRadDataBoundControl.CssClassRadDataBoundControl.EnabledRadDataBoundControl.EnableThemingRadDataBoundControl.ForeColorRadDataBoundControl.FontRadDataBoundControl.HeightRadDataBoundControl.SkinIDRadDataBoundControl.VisibleRadDataBoundControl.WidthRadDataBoundControl.ToolTipRadDataBoundControl.DataMemberRadDataBoundControl.DataSourceRadDataBoundControl.DataSourceIDRadDataBoundControl.EnableViewState...

Constructors

C#
public RadLightBox()

Fields

C#
public const string NavigateToCommandName = "NavigateTo"

Properties

C#
public bool AppendDataBoundItems { get; set; }
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public LightBoxClientSettings ClientSettings { get; }
C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

C#
public CultureInfo Culture { get; set; }
C#
public int CurrentItemIndex { get; set; }
C#
public string DataDescriptionField { get; set; }
C#
public string DataImageUrlField { get; set; }
C#
public string DataImageUrlFormatString { get; set; }
C#
public string DataNavigateUrlField { get; set; }
C#
public string DataTargetControlIDField { get; set; }
C#
public string DataTitleField { get; set; }
C#
public LightBoxDescriptionPosition DescriptionPosition { get; set; }
C#
public bool EnableAriaSupport { get; set; }
C#
public bool EnableGlowEffect { get; set; }
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public RadLightBoxItemCollection Items { get; }
C#
[Browsable(false)]
public int ItemsCount { get; }
C#
public string ItemsCounterFormatString { get; set; }
C#
[Browsable(false)]
public PlaceHolder LightBoxDescriptionContainer { get; set; }
C#
[Browsable(false)]
public PlaceHolder LightBoxItemContainer { get; set; }
C#
[Browsable(false)]
public PlaceHolder LightBoxTitleContainer { get; set; }
C#
public string LocalizationPath { get; set; }
C#
public bool LoopItems { get; set; }
C#
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public bool Modal { get; set; }
C#
public bool PreserveCurrentItemTemplates { get; set; }
C#
public bool ShowCloseButton { get; set; }
C#
[Browsable(true)]
[Bindable(false)]
public bool ShowLoadingPanel { get; set; }
C#
public bool ShowMaximizeButton { get; set; }
C#
public bool ShowNextButton { get; set; }
C#
public bool ShowPrevButton { get; set; }
C#
public bool ShowRestoreButton { get; set; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

C#
public override short TabIndex { get; set; }

Overrides: RadDataBoundControl.TabIndex

TagKey

HtmlTextWriterTag

C#
protected override HtmlTextWriterTag TagKey { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_zIndex")]
public int ZIndex { get; set; }

Methods

C#
protected override void CreateChildControls()
C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeComponent(IScriptDescriptor)

C#
protected override void LoadControlState(object savedState)
Parameters:savedStateobject
C#
protected virtual void LoadControlStateObject(object[] stateArray, int currentStateIndex)
Parameters:stateArrayobject[]currentStateIndexint
C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject
C#
protected virtual void OnCommand(LightBoxCommandEventArgs e)
Parameters:eLightBoxCommandEventArgs
C#
protected override void OnLoad(EventArgs e)
Parameters:eEventArgs
C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs

Overrides: RadDataBoundControl.OnPreRender(EventArgs)

C#
protected override void PerformDataBinding(IEnumerable data)
Parameters:dataIEnumerable
C#
public void RaisePostBackEvent(string eventArgument)
Parameters:eventArgumentstring
C#
protected override void Render(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.Render(HtmlTextWriter)

C#
public override void RenderBeginTag(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.RenderBeginTag(HtmlTextWriter)

C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.RenderContents(HtmlTextWriter)

C#
protected override object SaveControlState()
Returns:

object

C#
protected virtual void SaveControlStateObject(IList state)
Parameters:stateIList
C#
protected override object SaveViewState()
Returns:

object

C#
protected override void TrackViewState()

Events

C#
public event EventHandler<LightBoxCommandEventArgs> Command