public override ASPxEditState CalculateState() { var result = base.CalculateState(); result.ClientEnabled = SourceControl.ClientEnabled; result.Value = SourceControl.GetValue(); return(result); }