So, validation is a good idea to do whenever we are taking input from the user.
If we get the user input with validation, then chances are that we are sending the wrong data.
Here Mudassar Ahmed Khan has explained with an example, how to use Java Script with Check Box List in ASP. This article will explain how to validate Check Box List to check whether its items are selected or not and also how to get the Selected Items i.e. Now you can ask questions directly to me on my new site ASPForums.
Selected Text and Value of the Check Box List using Java Script in ASP.
Server-Side Validation: When validation occurs on the server, then it is known as Server-Side Validation.
Server-Side Validation is a secure form of validation.
Since ASP is in such wide use, however, Microsoft ensured that ASP scripts execute without modification on a machine with the . We use Java Script to do the Client-Side Validation.
We can use length property to find out, if any radio button is selected or not.
I believe life is short, and it is for loving, sharing, learning and connecting.
If the Radio Button is checked, then the value of the Radio Button (i.e.
Client ID", which contains underlines, and the compiled name of the rbl Prem Modes radiobutton list, which contains $ signs.
By default, page validation is performed when a Button control is clicked.