ASP.NET Form Control Validation using Java Script and JQuery : Validate DropDown List in side the Grid View

Here i would like to explain how to validate Drop Down List in side the Grid View,It’s very Simple.

var GridView = document.getElementById(‘<%=Grid.ClientID %>’);

var DropDownArray = new Array();

for (var i = 0; i < DropDownArray .length; i++) { //Looping Dropdown list Array to validate
if (DropDownArray¬†.item(i).value == ‘Pending’) //If dropdown has no selected value
//Put Validation Message
return false;