審批時必需填寫意見,按如下方法設置。
if (String.IsNullOrEmpty(Context.Current.Comments))
throw new Exception("請填寫意見");