AjaxControlToolkit.ComboBox.RenderControl C# (CSharp) 메소드

RenderControl() 공개 메소드

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