Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Create a datagrid with checkbox column that can be manipulated by client-side script

Reply
Thread Tools

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

 
 
dotnet dude
Guest
Posts: n/a
 
      09-15-2006
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??

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Create the checkbox template column dynamically in datagrid NEMA ASP .Net 0 06-05-2006 02:44 PM
Reading panel visible attribute that was manipulated with Javascript John ASP .Net 1 12-16-2003 10:03 PM
Maintaining Datagrid State on manipulated columns Jason ASP .Net 2 11-29-2003 02:32 AM
Convert an MS Access Yes/No column to a checkbox column in C# datagrid Gregory Rampton ASP .Net Datagrid Control 0 08-06-2003 04:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57