protected bool DetermineClientScriptLevel(DatePickerButtonRenderingContext renderingContext)
        {
            if (!renderingContext.Control.EnableClientScript)
            {
                return(false);
            }

            return(_clientScriptBehavior.IsBrowserCapableOfScripting(renderingContext.HttpContext, renderingContext.Control));
        }
        private bool DetermineClientScriptLevel(IDatePickerButton datePickerButton, BocDateTimeValueRenderingContext renderingContext)
        {
            if (!datePickerButton.EnableClientScript)
            {
                return(false);
            }

            return(_clientScriptBehavior.IsBrowserCapableOfScripting(renderingContext.HttpContext, renderingContext.Control));
        }