public JsonSearchInput()
            : base()
        {
            this.searcher = new JsonSearcher();
            this.Controls.Add(searcher);
            this.resultSelectedListener = new JsonFunction();
            this.resultSelectedListener.ExecutionType = JavascriptExecutionTypes.Call;
            this.CanEdit = true;
            this.resultIdClass = "objectid";
            //this.resultTypeClass = "objecttype";
            this.resultTextClass = "objecttext";

            this.blurListener = new JsonFunction();
            this.blurListener.ExecutionType = JavascriptExecutionTypes.OnParse;

            this.AddJsonFunction(this.resultSelectedListener);

            this.AddJsonFunction(this.blurListener);

            this.hiddenTextValue = new JsonHiddenInput();
            this.AddRequiredScript(typeof(JsonSearcher));//"naizari.javascript.jsoncontrols.jsonsearcher.js");
        }
        public JsonSearchInput()
            : base()
        {
            this.searcher = new JsonSearcher();
            this.Controls.Add(searcher);
            this.resultSelectedListener = new JsonFunction();
            this.resultSelectedListener.ExecutionType = JavascriptExecutionTypes.Call;
            this.CanEdit       = true;
            this.resultIdClass = "objectid";
            //this.resultTypeClass = "objecttype";
            this.resultTextClass = "objecttext";

            this.blurListener = new JsonFunction();
            this.blurListener.ExecutionType = JavascriptExecutionTypes.OnParse;


            this.AddJsonFunction(this.resultSelectedListener);

            this.AddJsonFunction(this.blurListener);

            this.hiddenTextValue = new JsonHiddenInput();
            this.AddRequiredScript(typeof(JsonSearcher));//"naizari.javascript.jsoncontrols.jsonsearcher.js");
        }