Title: Dynamic loading of chechboxes both horizontally and vertically

Hi,
I have a asp.net screen where I will be having a collections of checkboxes both horizontally and vertically. The number of horizontal and vertical rows will be dynamic because it will come from the database depending on the number of records. In the horizontal row I should have the CheckAll option _javascript_/Client side code which will check all the checkboxes avaiable in that row. I should have the facility to specify the size of the columns header because the length of the column header string can also vary. My plan is to prepare a row wise control which will include all the row header, all check boxes and the checkall option. How can I prepare a control. I thought of having a checkboxlist control with horizontal alignment and include the _javascript_ checkall function in that control itself. But the problem I am facing is I am not able to suppress the datatextfield value in it. And moreover I am not able to specify the width of the each column during runtime.

In spite of all during the time of saving I should be able to get all the values avaiable in the checkboxes.

My page will look like the below.

Header          C1      C2      C3      ………………C20
V1              Chk1    Chk2    Chk3    ………………Check All Option
V2              Chk1    Chk2    Chk3    ………………Check All Option
V3              Chk1    Chk2    Chk3    ………………Check All Option
V4              Chk1    Chk2    Chk3    ………………Check All Option

Any other way to do this page. Any ideas.


Regards,
Asheesh


Yahoo! Groups Sponsor
ADVERTISEMENT


Yahoo! Groups Links

Reply via email to