Create a datagrid with checkbox column that can be manipulated by client-side script

D

dotnet dude

I am creating a DataGrid control (ASP.NET 1.) with few bound columns
and one template column in which i want to display CheckBox. So for
each row in datagrid some databound fields and a checkbox column.
When a checkbox is selected, it indicates that particular row is
selected. The checkbox selection I want to do is through javascript to
improve the performance of the application.
How do I design such datagrid which allows me to do selections using
client-side scripts and also maintain these changes on postback.

The issues that I am facing are
- I am not able to create a template column which generate checkboxes
with ids/names that I can use in javascript.
- The javascript changes are not persistant and are lost on postbacks

Any ideas??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top