コード例 #1
0
        public JsonAutoCompleteTextBox()
            : base()
        {
            this.input = new JsonTextBox();
            this.DataTemplateName = "AutoComplete";
            this.images = new JsonImageSequence();
            this.eventSource = new JsonScriptObjectEventSource();

            this.AddJsonFunction(this.eventSource);

            this.preSearch = new JsonFunction();
            this.preSearch.ExecutionType = JavascriptExecutionTypes.Call;

            this.postSearch = new JsonFunction();
            this.postSearch.ExecutionType = JavascriptExecutionTypes.Call;

            this.attacher = new JsonFunction();
            this.attacher.ExecutionType = JavascriptExecutionTypes.OnWindowLoad;

            this.MinimumInputLength = 2;

            this.Styles["display"] = "none";
            this.ItemTagName = "div";
            this.InvokeOnce = false;
        }
コード例 #2
0
        public JsonAutoCompleteTextBox()
            : base()
        {
            this.input            = new JsonTextBox();
            this.DataTemplateName = "AutoComplete";
            this.images           = new JsonImageSequence();
            this.eventSource      = new JsonScriptObjectEventSource();

            this.AddJsonFunction(this.eventSource);

            this.preSearch = new JsonFunction();
            this.preSearch.ExecutionType = JavascriptExecutionTypes.Call;

            this.postSearch = new JsonFunction();
            this.postSearch.ExecutionType = JavascriptExecutionTypes.Call;

            this.attacher = new JsonFunction();
            this.attacher.ExecutionType = JavascriptExecutionTypes.OnWindowLoad;


            this.MinimumInputLength = 2;

            this.Styles["display"] = "none";
            this.ItemTagName       = "div";
            this.InvokeOnce        = false;
        }