Some resources also refer to Jscript (Microsoft) and ECMAScript (European Computer Manufacturer's Association), but these are both derivatives of Java Script.
Since only Microsoft Internet Explorer supports VBScript, you'll probably choose Java Script as your primary scripting language to use on a user's computer.
Alternatively, if the linked control is empty, data validation will fail.
You'll mostly use Required Field Validator controls in conjunction with textbox controls.
The opposite pros and cons that applied to processing data validation on the user's computer apply to processing data validation on the Web server.
For instance, since the validation occurs on the Web server, your application must post the Web page that the user is viewing back to the Web server for validation to occur.
Furthermore, the data validation scripts are protected inside the Web server so they are not vulnerable to malicious user modifications.
NET displays a Web form or Web user control in design view in Visual Studio . You can also (directly in HTML or programmatically) add data validation controls to Web forms and Web user controls. NET data validation control is the Required Field Validator control.In the snippet that follows I've indicated the HTML to generate both an asp: Text Box control and a linked asp: Required Field Validator control.In the snippet above I've declared a textbox with an ID attribute called txt Name.With the above-mentioned restriction in mind, you can configure the ASP.NET data validation controls to enable validation on the user's computer in most cases without any negative impact on Web browsers that do not support the scripting functionality.This increases performance and reduces traffic over the Web.A slightly negative aspect of validating data on the user's computer is that the validation is performed via a script residing in the Web page. You only have two possible scripting languages that you can use on a user's computer: VBScript or Java Script.The Run At="Server" attribute is required for all ASP. The Display attribute determines how space is reserved to display the validation control message if data validation fails. NET will allocate the space on the page when the page is rendered. Other possible values for the Display attribute are Dynamic and None. NET validation controls uses a script library called Web and implements Microsoft JScript functionality that is only supported by Microsoft Internet Explorer 4.0 and later versions.A Display attribute value of Dynamic specifies that you don't want ASP.The data validation controls are shown in Figure 1 as they appear in the Visual Studio . To use it, you link the Required Field Validator control to another control, such as a textbox, and use it to determine if the linked control has a value entered into it or it is empty.If the linked control has a value entered into it, data validation will succeed.