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#
[EmbeddedSkin("Rating")]
[EmbeddedSkin("Rating", "Default")]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadRating))]
[ClientScriptResource("Telerik.Web.UI.RadRating", "Telerik.Web.UI.Rating.RadRating.js")]
[TelerikToolboxCategory("Miscellaneous")]
[RequiredScript(typeof(jQueryPlugins))]
public class RadRating : RadDataBoundControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, IPostBackEventHandler

Inheritance: objectRadDataBoundControlRadRating

Implements: IControlIControlResolverIFeatureGroupIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControl...

Inherited Members RadDataBoundControl.ResolveRenderMode()RadDataBoundControl.CanRenderInMode(RenderModeBrowserAdaptor, RenderMode)RadDataBoundControl.PreferredRenderMode(RenderModeBrowserAdaptor)RadDataBoundControl.GetSkinSuffix()RadDataBoundControl.OnPreRender(EventArgs)RadDataBoundControl.RenderSmartPasteDescriptionAttribute()RadDataBoundControl.ConfigureCombinedScriptFile()RadDataBoundControl.ConfigureCombinedBaseSkinFile()RadDataBoundControl.RegisterScriptControl()RadDataBoundControl.RegisterCssReferences()RadDataBoundControl.RegisterScriptDescriptors()RadDataBoundControl.SaveClientState()RadDataBoundControl.RenderClientStateField(HtmlTextWriter)RadDataBoundControl.RenderBeginTag(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.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.HeightRadDataBoundControl.SkinIDRadDataBoundControl.VisibleRadDataBoundControl.WidthRadDataBoundControl.TabIndexRadDataBoundControl.ToolTipRadDataBoundControl.DataMemberRadDataBoundControl.DataSourceRadDataBoundControl.DataSourceIDRadDataBoundControl.EnableViewState...

Constructors

C#
public RadRating()

Properties

C#
public bool AppendDataBoundItems { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("_autoPostBack")]
public bool AutoPostBack { get; set; }
C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

C#
[Browsable(false)]
[TypeConverter(typeof(DecimalConverter))]
[Bindable(true, BindingDirection.TwoWay)]
public object DbValue { get; set; }
C#
[ClientControlProperty]
public bool EnableToolTips { get; set; }
C#
[ClientControlProperty]
public bool IsDirectionReversed { get; set; }
C#
public RatingItemBinding ItemBinding { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_itemCount")]
public int ItemCount { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("_itemHeight")]
public Unit ItemHeight { get; set; }
C#
public RadRatingItemCollection Items { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_itemWidth")]
public Unit ItemWidth { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("rated")]
public string OnClientRated { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("rating")]
public string OnClientRating { get; set; }

Orientation

Orientation

C#
[ClientControlProperty]
public Orientation Orientation { get; set; }
C#
[ClientControlProperty]
public RatingPrecision Precision { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("readOnly")]
public bool ReadOnly { get; set; }
C#
[Browsable(false)]
public RadRatingItem SelectedItem { get; }
C#
[Browsable(false)]
public RadRatingItemCollection SelectedItems { get; }
C#
[ClientControlProperty]
public RatingSelectionMode SelectionMode { get; set; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

TagKey

HtmlTextWriterTag

C#
protected override HtmlTextWriterTag TagKey { get; }
C#
public decimal Value { get; set; }

Methods

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

Overrides: RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)

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#
public RadRatingItem FindItemByValue(decimal value)
Parameters:valuedecimalReturns:

RadRatingItem

C#
protected override void LoadClientState(Dictionary<string, object> clientState)
Parameters:clientStateDictionary<string, object>

Overrides: RadDataBoundControl.LoadClientState(Dictionary<string, object>)

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 OnItemCreated(RatingEventArgs e)
Parameters:eRatingEventArgs
C#
protected virtual void OnItemDataBound(RatingEventArgs e)
Parameters:eRatingEventArgs
C#
protected virtual void OnRate(EventArgs e)
Parameters:eEventArgs
C#
protected override void PerformDataBinding(IEnumerable data)
Parameters:dataIEnumerable
C#
protected void PrepareForDataBinding()
C#
public void RaisePostBackEvent(string eventArgument)
Parameters:eventArgumentstring
C#
protected override void RaisePostDataChangedEvent()

Overrides: RadDataBoundControl.RaisePostDataChangedEvent()

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 virtual event EventHandler<RatingEventArgs> ItemCreated
C#
public virtual event EventHandler<RatingEventArgs> ItemDataBound
C#
public virtual event EventHandler Rate