I’ll show how to write few lines of Java Script to find and validate textbox and dropdownlist in a Grid View control.
The example here is this article is slightly different, as I’ll bind the Grid View control to a database table using Sql Data Source.
Related Article: Server Side Custom Validator Example in Asp.
executes only if the java Script is disabled in the browser. So this is the way to detect whether Java Script is disables or enabled and if disabled then showing appropriate message to enable it from the browser’s setting."If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .
Error Message: The message you want to show whenever validation fail.
I've 1 textbox, its for getting Date Time value, First the user has to fill the Date Time textbox before selecting the vehicle dropdown.