hi leoffneym
first of all thanks for your reply.
i have check your sample, it works fine but that is not what i want..
as you can see in the image, i have used Multiselection list box not seperate checkboxes.
and this multiselection list box has a datasource from sharepoint list.
so we can not judge how many items may come in this ...