asp:boundcolumn

  • Thread starter Thread starter rj
  • Start date Start date
R

rj

Can I get the vaue of a boundcolumn at runtime using javascript? I use
var lQty = document.getElementsByName("edtQty");
for(i=0;i<textBox.length;i++)
{
if (textBox .value > 0)
....

to get the value from an asp:templatecolumn\itemtemplatecolumn and it
works as expected, but if I try to access a boundcolumn this way I get a
page error.

TIA
 
DataGrid renders as a <table> with the id you assign on server side. Just
loop through the table rows and cells and you can get to any grid cell.

Eliyahu
 
Back
Top