Esempio n. 1
0
		public void AddHtmlInput(HtmlInputBase inputField, HtmlParagragh helpBlock=null ){

			ControlDiv.AddHtmlTag(inputField);
			if (helpBlock!=default(HtmlParagragh)){
				if(helpBlock.Class.IsNullOrEmpty() ) helpBlock.Class="help-block";
				ControlDiv.AddHtmlTag(helpBlock);
			}
		}
Esempio n. 2
0
		public void AddHtmlCheckboxInput(Action<HtmlCheckboxInput, HtmlParagragh> configAction ){
			HtmlCheckboxInput hi = new  HtmlCheckboxInput();
			HtmlParagragh p = new HtmlParagragh();
			configAction(hi,p);
			AddHtmlInput(hi,p);
		}