public override string GetDesignTimeHtml() { vTB = (validateTextBox)Component; StringWriter sw = new StringWriter(); HtmlTextWriter writer = new HtmlTextWriter(sw); vTB.RenderControl(writer); string myStr = @"<span style=""width:10px; height:20px;color:#ff0000;font-size:18px; line-height:18px;margin-right:-5px;margin-left:5px;"">V</span>"; return(vTB.Check ? myStr + sw.ToString() : sw.ToString()); }
public override string GetDesignTimeHtml() { vTB = (validateTextBox)Component; StringWriter sw = new StringWriter(); HtmlTextWriter writer = new HtmlTextWriter(sw); vTB.RenderControl(writer); string myStr = @"<span style=""width:10px; height:20px;color:#ff0000;font-size:18px; line-height:18px;margin-right:-5px;margin-left:5px;"">V</span>"; return vTB.Check ? myStr + sw.ToString() : sw.ToString(); }