I implemented the solution you and Shinu recommended and it was
working great. However, it has stopped working. For some reason the onclick I add is concatenated to the radgrid's onclick and rendered as shown below (if my function was called "Validate").
Since my code is added after the update code, my validation code never gets called.
As a work around, I did find that that the ClientEvents OnCommand fires before
the button's onclick event.
So, on the server side, instead of adding the onclick attribute, I put the client id of the control(s) to be validated in a hidden input at the same place:
hdControlId.Value = txtbx.ClientID;
Then I added the following inside the root node of the RadGrid:
Then in the RadGrid1_OnCommand:
commandName = eventArgs.get_commandName();
controlId = $(
|| commandName ==