HtmlGenericControl.cs 512 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // System.Web.UI.HtmlControls.HtmlGenericControl.cs
  3. //
  4. // Author:
  5. // Bob Smith <[email protected]>
  6. //
  7. // (C) Bob Smith
  8. //
  9. using System;
  10. using System.Web;
  11. using System.Web.UI;
  12. namespace System.Web.UI.HtmlControls{
  13. [ConstructorNeedsTag]
  14. public class HtmlGenericControl : HtmlContainerControl {
  15. public HtmlGenericControl() :
  16. this ("span")
  17. {
  18. }
  19. public HtmlGenericControl (string tag) :
  20. base(tag)
  21. {
  22. }
  23. public override string TagName
  24. {
  25. get { return base.TagName; }
  26. }
  27. }
  28. }