1、选中ASPxTextBox控件: 2、设置属性,Validationsettings中errordisplaymode、requiredfield中errortext和isrequired: 3、结果: 4、总图: 相关文章: