protected void ctxValBillingCycles_EvaluatingContext(object sender, ManualValidationEventArgs e)
 {
     // get plan cycles
     HostingPlanCycle[] cycles = ctlPlanCycles.GetHostingPlanCycles();
     //
     if (cycles != null && cycles.Length > 0)
     {
         e.ContextIsValid = true;
         return;
     }
     //
     e.ContextIsValid = false;
 }
		protected void ctxValBillingCycles_EvaluatingContext(object sender, ManualValidationEventArgs e)
		{
			// get tld cycles
			DomainNameCycle[] cycles = ctlBillingCycles.GetDomainNameCycles();
			//
			if (cycles != null && cycles.Length > 0)
			{
				e.ContextIsValid = true;
				return;
			}
			//
			e.ContextIsValid = false;
		}
		protected override bool EvaluateIsValid()
		{
			//
			ManualValidationEventArgs args = new ManualValidationEventArgs();
			//
			if (EvaluatingContext != null)
			{
				// trying evaluate manual context
				EvaluatingContext(this, args);
				//
				return args.ContextIsValid;
			}

			return true;
		}
        protected override bool EvaluateIsValid()
        {
            //
            ManualValidationEventArgs args = new ManualValidationEventArgs();

            //
            if (EvaluatingContext != null)
            {
                // trying evaluate manual context
                EvaluatingContext(this, args);
                //
                return(args.ContextIsValid);
            }

            return(true);
        }