Some scripts may now be downloaded on every partial rendering action. Jquery for example. If that happens you can use
But i have a trouble here with this code.Well i have also done the same thing as you have guided.But What is my problem here is :
i have a Cgrid view Which i am showing with ajax call and with the help of renderPartial view
In this Cgrid view i have a CCheckBoxColumn.
my whole application is running with Ajax calls and renderPartial views.So, When call ajax for first time and load a renderPartial view with then perform a selection of checkboxes and hit a ajax Button for any other ajax call(Delete a multiple records) then it render a same Cgrid view with a updated results.
But then i try to select a checkboxes then only a main CheckBox(Which perform select All checkbox) is working like checked All or unchecked All.But child check boxes are not selectable individually.
I have a one more button which peform a Add record Ajax call which load a CActivForm to add a record.So,After Adding a record it again load that View which contain a Gird View with CCheckBoxColumn.So, when i try to select an individual checkbox then its not working.Only select All or unselect All action can be performed.
I know it is just an issue of redundancy of scripts.But your suggested solution is not working here.