you access the table created by the datagrid. loop thru the elements and
access it.
write a javascript like follows..
// to access the rows in the table
var iRows = document.all("tablename").rows;
var oCell;
var columnNumber = 0; // your column number in which the control to validate
exists.
for(var iIndex=1; iIndex < iRows.length; iIndex++)
{
oCell = iRows[iIndex].cells[columnNumber];
alert(oCell.all[indextoyourcontrol]); // check and get the index for
your control to validate.
}
hth,
Av.
"mats" <an*******@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
Hello
My problem is that I do not know how to validate input that I let the user
type into my datagrid.
In one grid I let the user to type in a value into a template column - how
do I make sure that this input is an integer on the client side
In a diffrent grid I have an edit command column and the same problem -
how do I make sure that this is an integer on the client side
Any suggestions