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#
[RequiredScript(typeof(AnimationScripts))]
[RequiredScript(typeof(MaterialRipple))]
[RequiredScript(typeof(IETouchActionManager))]
[ClientScriptResource("Telerik.Web.UI.RadRotator", "Telerik.Web.UI.Common.Navigation.NavigationScripts.js")]
[ClientScriptResource("Telerik.Web.UI.RadRotator", "Telerik.Web.UI.Rotator.RadRotator.js")]
[TelerikToolboxCategory("Visualization")]
[EmbeddedSkin("Rotator")]
[EmbeddedSkin("Rotator", "Default")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadRotator))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadButton))]
public class RadRotator : RadDataBoundControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, IPostBackEventHandler, INamingContainer

Inheritance: objectRadDataBoundControlRadRotator

Implements: IControlIControlResolverIFeatureGroupINamingContainerIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControl...

Inherited Members RadDataBoundControl.ResolveRenderMode()RadDataBoundControl.CanRenderInMode(RenderModeBrowserAdaptor, RenderMode)RadDataBoundControl.PreferredRenderMode(RenderModeBrowserAdaptor)RadDataBoundControl.GetSkinSuffix()RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)RadDataBoundControl.OnPreRender(EventArgs)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.Render(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.RaisePostDataChangedEvent()RadDataBoundControl.GetViewStateValue<T>(string, T)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.SkinIDRadDataBoundControl.VisibleRadDataBoundControl.TabIndexRadDataBoundControl.ToolTipRadDataBoundControl.DataMemberRadDataBoundControl.DataSourceRadDataBoundControl.DataSourceIDRadDataBoundControl.EnableViewState...

Constructors

C#
public RadRotator()

Properties

C#
[ClientControlProperty]
public bool AppendClientDataBoundItems { get; set; }
C#
public bool AppendDataBoundItems { get; set; }
C#
public virtual bool AutoPostBack { get; set; }
C#
public string BannersPath { get; set; }
C#
public virtual string ClientTemplate { get; set; }
C#
public RotatorControlButtonsConfiguration ControlButtons { get; }
C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

C#
[ClientControlProperty]
public bool EnableDragScrolling { get; set; }
C#
[ClientControlProperty]
public bool EnableRandomOrder { get; set; }
C#
[ClientControlProperty]
public int FrameDuration { get; set; }

Height

Unit

C#
public override Unit Height { get; set; }

Overrides: RadDataBoundControl.Height

C#
[ClientControlProperty]
public int InitialItemIndex { get; set; }
C#
public Unit ItemHeight { get; set; }
C#
[Browsable(false)]
public RadRotatorItemCollection Items { get; }

ItemTemplate

ITemplate

C#
[Browsable(false)]
[Bindable(false)]
public ITemplate ItemTemplate { get; set; }
C#
public Unit ItemWidth { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("dataBound")]
public string OnClientDataBound { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemClicked")]
public string OnClientItemClicked { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemClicking")]
public string OnClientItemClicking { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemDataBound")]
public string OnClientItemDataBound { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemShowing")]
public string OnClientItemShowing { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("itemShown")]
public string OnClientItemShown { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequested")]
public string OnClientItemsRequested { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequestFailed")]
public string OnClientItemsRequestFailed { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("itemsRequesting")]
public string OnClientItemsRequesting { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("mouseOut")]
public string OnClientMouseOut { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("mouseOver")]
public string OnClientMouseOver { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("templateDataBound")]
public string OnClientTemplateDataBound { get; set; }
C#
[ClientControlProperty]
public bool PauseOnMouseOver { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
public bool PersistCurrentItemOnPostBack { get; set; }
C#
public string PostBackUrl { get; set; }
C#
[ClientControlProperty]
public RotatorType RotatorType { get; set; }
C#
[ClientControlProperty]
public RotatorScrollDirection ScrollDirection { get; set; }
C#
[ClientControlProperty]
public int ScrollDuration { get; set; }
C#
public AnimationSettings SlideShowAnimation { get; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

TagKey

HtmlTextWriterTag

C#
protected override HtmlTextWriterTag TagKey { get; }
C#
public WebServiceSettings WebServiceSettings { get; }

Width

Unit

C#
public override Unit Width { get; set; }

Overrides: RadDataBoundControl.Width

C#
[ClientControlProperty]
public bool WrapFrames { get; set; }

Methods

C#
public void BindToBanners(bool forceBind = false)
Parameters:forceBindbool
C#
public void BindToEnumerableData(IEnumerable dataSource)
Parameters:dataSourceIEnumerable
C#
protected override void ControlPreRender()

Overrides: RadDataBoundControl.ControlPreRender()

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

Overrides: RadDataBoundControl.DescribeClientEvents(IScriptDescriptor)

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

Overrides: RadDataBoundControl.DescribeClientProperties(IScriptDescriptor)

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

Overrides: RadDataBoundControl.DescribeComponent(IScriptDescriptor)

C#
protected virtual RadRotatorItem FindItemByHierarchicalIndex(string hierarchicalIndex)
Parameters:hierarchicalIndexstringReturns:

RadRotatorItem

C#
protected virtual List<BannerDataItem> GetBanners(string virtualPath, string allowedExtensions)
Parameters:virtualPathstringallowedExtensionsstringReturns:

List<BannerDataItem>

C#
protected virtual string GetImageExtensions()
Returns:

string

C#
protected virtual string GetPostbackEventReference()
Returns:

string

C#
protected virtual void InitializeItem(RadRotatorItem item)
Parameters:itemRadRotatorItem
C#
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters:postDataKeystringpostCollectionNameValueCollectionReturns:

bool

Overrides: RadDataBoundControl.LoadPostData(string, NameValueCollection)

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject
C#
protected virtual void OnItemClick(RadRotatorItem item)
Parameters:itemRadRotatorItem
C#
protected virtual void OnItemCreated(RadRotatorItem item)
Parameters:itemRadRotatorItem
C#
protected virtual void OnItemDataBound(RadRotatorItem item)
Parameters:itemRadRotatorItem
C#
protected override void PerformDataBinding(IEnumerable data)
Parameters:dataIEnumerable
C#
protected void PrepareForDataBinding()
C#
protected virtual void RaisePostBackEvent(string itemIndex)
Parameters:itemIndexstring
C#
protected void RaiseRotatorItemEvent(RadRotatorItem item, object eventKey)
Parameters:itemRadRotatorItemeventKeyobject
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 SaveViewState()
Returns:

object

C#
protected override void TrackViewState()

Events

C#
public event RadRotatorEventHandler ItemClick
C#
public event RadRotatorEventHandler ItemCreated
C#
public event RadRotatorEventHandler ItemDataBound