NET Web pages using validation controls.
NET网页中添加输入验证。
Validation controls are not normally visible in the rendered page.
验证控件通常在呈现的页面中不可见。
You can use as many validation controls for a user-entry field as needed.
您可对使用者输入栏位使用所需之任何数目的验证控制项。
The topics in this section describe the validation controls and how to use them.
此节中的主题描述验证控件及如何使用这些控件。
Validation controls test user input, set an error state, and produce error messages.
验证控件测试用户输入,设置错误状态,并生成错误信息。
However, the primary way to improve validation controls is to provide rich feedback to users.
不过,改进确认控件的主要方法是为用户提供丰富的反馈。
Instructs any validation controls included on the page to validate their assigned information.
指示指定验证群组中的验证控制项,验证其指派的资讯。
In addition, validation controls allow you to customize how error information is displayed to the user.
此外,验证控件还允许自定义向用户显示错误信息的方法。
NET validation controls so you can verify that a user has entered appropriate information into a control.
NET验证控件进行交互,因此您可以验证用户是否已在控件中输入了适当的信息。
Using multiple validation controls would not work in this instance because the user input must pass all tests to be valid.
由于用户输入必须通过所有测试才能视为有效,因此,在此实例中使用多个验证控件不起作用。
Because the page layout is static, multiple validation controls for the same input control must occupy different physical locations on the page.
由于页面布局是静态的,同一输入控件的多个验证控件必须占据页上的不同物理位置。
NET provides a set of validation controls that provide an easy-to-use but powerful way to check for errors and, if necessary, display messages to the user.
NET提供了一组验证控件,用于提供一种易用但功能强大的检错方式,并在必要时向用户显示错误信息。
If validation is being performed on the server, validation controls are not rendered to the page unless an error occurs and they therefore take up no space whatsoever.
如果验证是在伺服器上执行的,除非发生错误,否则验证控制项不会呈现在网页上,因此不会占用任何空间。
Validation controls enable you to check for a required field, to test against a specific value or pattern of characters, to verify that a value lies within a range, and so on.
验证控件可用于对必填字段进行检查,对照字符的特定值或模式进行测试,验证某个值是否在限定范围之内,等等。
Make validation controls visually distinct from nonvalidation controls, whether through the typeface used in the text edit field, the border color, or the background color for the field itself.
一个基本的改进是使确认控件在视觉上与非确认控件区分开来,无论是文本编辑字段使用的字体、不同的边界颜色,甚至是字段本身不同的背景颜色。
The BLL consists of value providers that provide data to the Ajax-enabled controls, and server-side validators that provide server validation for HTML form data.
BLL包括向支持Ajax的控件提供数据的值提供程序,以及为HTML表单数据提供服务器验证的服务器端验证程序。
The Validation page of the Command pane, as shown in Figure 5, contains controls that you can use while you are creating the statements in your SQL script.
如图5所示,Command面板的Validation页面包含了在sql脚本中编写语句能够使用的一些控制操作。
The change management provider renders the content of these dialogs and, thus, controls both layout and validation.
变更管理提供者会获得这些对话框的内容,因此产生对话框的布局与确认。
It takes a lot of HTML to represent all possible error conditions. This gets out of hand when there are many controls and many validation rules.
它使用了很多HTML来表现所有可能出现的错误情况。如果有太多控制器和太多验证规则,我们就失去了控制。
When you use one of those tools, the controls on the form inherit the underlying table properties, including any validation rules and validation text.
在使用其中某个工具时,窗体上的控件继承基础表属性,其中包括所有有效性规则和有效性文本。
You must have at least two controls on the form in order to TAB between them and thereby invoke the validation code.
该窗体上必须至少有两个控件,以便在它们之间切换并由此调用验证代码。
Adding dynamic behavior to data-bound controls, such as automatic validation and customized appearance and behavior of data fields.
向数据绑定控件中添加动态行为,如自动验证以及数据字段的自定义外观和行为。
The namespace includes classes that support forms, input controls, links, partial views, and validation.
该命名空间包含支持窗体、输入控件、链接、分部视图和验证的类。
Gets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.
获取或设置按钮控件回发到服务器时所导致验证的控件组的名称。
When the form is validated on the server, validation errors can be displayed next to the controls.
当在伺服器上验证表单时,验证错误可以显示在控制项旁边。
Causes all of the child controls within a control that support validation to validate their data.
使得控制项内支援验证的所有子控制项验证其资料。
The manufacturer may obtain assurance that a product is of Pharmacopoeia quality from data derived, for example, from validation studies of the manufacturing process and from in-process controls.
生产厂商可以从数据的来源上获得产品符合药典质量的保证,如来源于生产工艺验证研究的数据以及中控的数据。
Although the validation control is a very widespread idiom, most such controls can be improved.
虽然确认控件是非常广泛的习惯用法,但还有很多有待改进的地方。
Although the validation control is a very widespread idiom, most such controls can be improved.
虽然确认控件是非常广泛的习惯用法,但还有很多有待改进的地方。
应用推荐