Rock.Web.UI.Controls.RockRating.RenderBaseControl C# (CSharp) Method

RenderBaseControl() public method

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void
        public virtual void RenderBaseControl( HtmlTextWriter writer )
        {
            this.AddCssClass( "rock-rating-input" );
            this.AddCssClass( "form-control" );
            this.Attributes["data-max"] = Max.ToString();
            base.RenderControl( writer );
        }