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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top