CustomValidator验证控件

来源:百度知道 编辑:UC知道 时间:2024/07/03 04:57:42
CustomValidator验证控件中的OnServerValidate起什么作用啊?
CustomValidator=""里面应该等于什么?
呀,写错了,应该是OnServerValidate=""应该等于什么

<asp:CustomValidator
AccessKey="string"
AssociatedControlID="string"
BackColor="color name|#dddddd"
BorderColor="color name|#dddddd"
BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
Inset|Outset"
BorderWidth="size"
ClientValidationFunction="string"
ControlToValidate="string"
CssClass="string"
Display="None|Static|Dynamic"
EnableClientScript="True|False"
Enabled="True|False"
EnableTheming="True|False"
EnableViewState="True|False"
ErrorMessage="string"
Font-Bold="True|False"
Font-Italic="True|False"
Font-Names="string"
Font-Overline="True|False"
Font-Size="string|Smaller|Larger|XX-Sma