Esempio n. 1
0
		public override string ToString ()
		{
			HtmlLabel l = new HtmlLabel(){Class="radio{0}".Fmt(Inline?" inline":"")};
			l.InnerHtml = base.ToString();
			if(!Label.IsNullOrEmpty())  l.InnerHtml= l.InnerHtml+Label;
			return l.ToString();
		}
Esempio n. 2
0
		public HtmlField(){

			ControlGroupDiv = new HtmlDiv(){Class="control-group"};
			ControlDiv= new HtmlDiv(){Class="controls"};
			Label = new HtmlLabel();
		}