/// <summary>
        /// Handles the cascaded filter internal logic.
        /// </summary>
        /// <remarks>
        /// This method should be called in your custom dialog control that supports data filtering.
        /// Call it when the value in your control is changed.
        /// </remarks>
        protected void OnFilterChanged()
        {
            if (DetailControl != null)
            {
                ResetFilter();
                if (Enabled)
                {
                    FilterData();
                }

                DetailControl.ResetFilter();
                if (DetailControl.Enabled)
                {
                    DetailControl.FillData(this);
                    DetailControl.OnFilterChanged();
                }
            }
        }