Only buttons in a item template will fire the ItemCommand event.
In the markup for the checkbox, have you specified a server side event handler for the checkbox's OnClick event?
By using the ItemCreated handler you can access the controls in the header when it is created. Inside the handler, check for the item type so you know when this handler is called when the header is created. Then you can look for the checkbox that you need to modify and add a handler to if for your OnClick method.
Peter
------------------------------------------------------
Work smarter, not harder.
|