I have a grid view that can edit data, which is bound to an sqldatasource.
However, there are some text boxes in edit mode which I would like to validate. For example, one of the is required and cannot be left empty. How can I make such validation in edit mode in a grid view using javascript?
function ValidateGridEditMode()
{
var Grid = document.getElementById('gridview.clientid');
//how can i get textboxes and apply validation
}