public override StatusType SetValues(HttpContext context, NameValueCollection nvc)
        {
            StatusType result = base.SetValues(context, nvc);

            if (result == StatusType.Success)
            {
                this.ShowIndividualEvents = CalendarFunctions.ConvertStringToBool(nvc["showIndividualEvents"]);
            }
            return(result);
        }
Exemplo n.º 2
0
        public override StatusType SetValues(System.Web.HttpContext context, NameValueCollection nvc)
        {
            this.EnableEvents  = CalendarFunctions.ConvertStringToBool(nvc["enableEvents"]);
            this.CalendarFeeds = nvc["calendarFeeds"];

            if (this.EnableEvents)
            {
                SetUpEvents();
            }

            return(StatusType.Success);
        }