0

I'm using the DataGrid control with template columns. I m getting the data in datagrid but I'm having trouble accessing the data of checked row using java script. How can i achive dis using java script?

1
  • please be more specific && post some code, relevant to your question ... Commented Dec 15, 2009 at 14:08

1 Answer 1

2

I don't know about the exact implementation of your data grid but this is how we check it using javascript:

if (document.getElementById('checkbox_id_here').checked == true)
{
  // yes it is checked
}
else
{
  // no it is not checked
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.