Requiring Data Entry[2]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

quot; into the
InitialValue property of the RequiredFieldValidator control associated with
the text box will ensure that users modify the value of the text box. In
this case, the validator isn't verifying that the user entered a value but
that the user entered a value that is different from the initial value. The
default value of the RequiredFieldValidator's InitialValue field is an
empty string, so by default, the validator forces users to enter a value
that's different from its default梐n empty string.

NOTE

Try posting the page back (click Save) with invalid data on the page. You
won't be able to梩he page simply won't post back when it contains invalid
data.

本文关键:Requiring Data Entry
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top