I have a grid in which i have 4 columns
checkbox, myid, mychildid, myidStatus
All cotrols except checkbox are filled in templated label controls
Below the grid i have two buttons
CreateChild, DeleteChild
When I click CreateChild I wanted to have a javascript validation function that if there is a checkbox checked in a row which already have mychildid field filled then it javascript validation alert. [as multiple child are not allowed]
When I click DeleteChild I wanted to have a javascript validation function that if there is a checkbox checked in a row which doesn't have mychildid filled then it throws javascript validation alert.