i have this problem since two days, and i search for a solution here, but didnt find any thing for it.

the problem is the following:
i am trying to set the checkboxes, which are a part of every child of an expandable listview.
i am trying to set them, when i set another checkbox, which is not a part of the expandable listview.

so how can i access the checkboxes? 

i want to access them from the listener of the external checkbox.

```
chckbxAlleTage.setOnCheckedChangeListener(new OnCheckedChangeListener() {

                @Override
                public void onCheckedChanged(CompoundButton buttonView,
                        boolean isChecked) {
                    int childrenCount = listAdapter.getChildrenCount(0);
                    if (chckbxAlleTage.isChecked()) {
                        for (int index = 0; index<childrenCount; index++ )
                        {
                            CheckBox tempchckBx = (CheckBox) (listAdapter.getChildView(
                                    0, index, true,findViewById(R.id.LinearLayout1) , expListView))
                                    .findViewById(R.id.chckBx);
                            tempchckBx.setChecked(true);
                        }
                        AnzahlTage = 7;

                    }else
                        {
                            AnzahlTage = 0;
                        }   

                    setEtAnzahlTage();
                }
            });

```

the result of the this code in the listener is that only one checkbox is checked. 
i hope someone can figur out, what is the problem here.

thnx