2009-05-02 49 views

回答

7

将您的CustomValidator.ValidateEmptyText设置为true

从MSDN:

[ValidateEmptyText] [克] ETS或设置一个布尔值,指示空文本是否应进行验证。