/// <summary>
 /// This constructor should only be used for initialization on load
 /// </summary>
 public InstantiatedTemplateControl(object config)
 {
     if (Type.GetScriptType(config) == "function")
     {
         this.getHtml       = (InstantiatedTemplateControlGetHtmlDelegate)config;
         this.namedElements = new List <string>();
         this.config        = null;
     }
     else
     {
         this.config = (JsDictionary)config;
     }
 }
 public InstantiatedTemplateControl(InstantiatedTemplateControlGetHtmlDelegate getHtml)
 {
 }
 public InstantiatedTemplateControl(InstantiatedTemplateControlGetHtmlDelegate getHtml)
 {
     this.getHtml       = getHtml;
     this.namedElements = new List <string>();
 }
		/// <summary>
		/// This constructor should only be used for initialization on load
		/// </summary>
		public InstantiatedTemplateControl(object config) {
			if (Type.GetScriptType(config) == "function") {
				this.getHtml       = (InstantiatedTemplateControlGetHtmlDelegate)config;
				this.namedElements = new List<string>();
				this.config = null;
			}
			else {
				this.config = (JsDictionary)config;
			}
		}
		public InstantiatedTemplateControl(InstantiatedTemplateControlGetHtmlDelegate getHtml) {}
		public InstantiatedTemplateControl(InstantiatedTemplateControlGetHtmlDelegate getHtml) {
			this.getHtml       = getHtml;
			this.namedElements = new List<string>();
		}