AjaxControlToolkit.ComboBox.RenderControl C# (CSharp) Method

RenderControl() public method

Renders a control.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter HTML text writer
return void
        public override void RenderControl(HtmlTextWriter writer)
        {
            if(DesignMode) {
                CreateChildControls();
                AddAttributesToRender(writer);
                ComboTable.RenderControl(writer);
            }
            else {
                HiddenFieldControl.Value = SelectedIndex.ToString();
                base.RenderControl(writer);
            }
        }