![]()
A string containing the markup used to render the System.Web.UI.WebControls.Button at design time.
The ButtonDesigner.GetDesignTimeHtml method replaces the System.Web.UI.WebControls.Button.Text property with the System.Web.UI.Control.ID property of the System.Web.UI.WebControls.Button control if the System.Web.UI.WebControls.Button.Text contains no displayable characters. Then, the ButtonDesigner.GetDesignTimeHtml method calls its base method, System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml, which calls into the System.Web.UI.Control.RenderControl(System.Web.UI.HtmlTextWriter) method to generate the markup.