Ext.Net.DateFilter.SetValue C# (CSharp) Method

SetValue() private method

private SetValue ( System.DateTime onValue ) : void
onValue System.DateTime
return void
        public void SetValue(DateTime? onValue)
        {
            RequestManager.EnsureDirectEvent();

            if (this.ParentGrid != null)
            {
                string value = "{on:".ConcatWith(onValue.HasValue ? DateTimeUtils.DateNetToJs(onValue.Value) : "undefined", "}");

                this.ParentGrid.AddScript("{0}.getFilterPlugin().getFilter({1}).setValue({2});", this.ParentGrid.ClientID, JSON.Serialize(this.DataIndex), value);
            }
        }
       

Same methods

DateFilter::SetValue ( System.DateTime afterValue, System.DateTime beforeValue ) : void
DateFilter