Author: maximasshel | Posted on: 6/20/2006 5:57:20 AM | Views : 344

hi

I have list of check box created using checkbox list.  When i click a check box it check with a function , that is i want to find which check box control is clicked.

For ex:

DatasourceName consist of  {(FieldName Values) A, B, C, D, E} items.  If  I specified like

CheckBoxList.Datasource= DatasourceName, it created 5 check box in check box list.

CheckBoxList.DataTextField= "FieldName", here i specified the display name of checkbox.

If I am click in Check Box "B" I want to raise some events in client side.

I want to check it in a particular item only.  Not for all items in datasource.

It is possible to give an event for CheckBoxList like: CheckBoxList.Attributes.Add ("onClick","Function1()"). 

But my problem is I want to check for only one items.

Either i can distinguish one control from client side or add event for one check box item from the check box list.

...

Go to the complete details ...