I have an ascx control in my application which has some checkboxes and checkboxlists.
I have written the javasctript methods in a seperate file and am registering them through the code using Page.ClientScript.RegisterClientScriptBlock.
And the onclick event is subscribed by adding the attributes for onclick
This seems to work fine for the checkbox list items .
But it doesnt work for checkboxes.
What could be going wrong here?
Thanks in advance.