public override string GetStringAttributes() { if (string.IsNullOrWhiteSpace(CacheAttributes)) { if (SizeArea > 0) { SetAttribute("size", SizeArea.ToString()); } else { RemoveAttribute("size"); } if (Autocomplete != null) { SetAttribute("autocomplete", Autocomplete == true ? "on" : "off"); } else { RemoveAttribute("autocomplete"); } } return(base.GetStringAttributes()); }
public override string GetStringAttributes() { if (SizeArea > 0) { SetAttribute("rows", SizeArea.ToString()); } else { RemoveAttribute("rows"); } return(base.GetStringAttributes()); }