Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DataGrid rows selection at client side

Reply
Thread Tools

DataGrid rows selection at client side

 
 
=?Utf-8?B?QmlkYXJrb3Rh?=
Guest
Posts: n/a
 
      05-16-2005
can i select all the rows in a datagrid with a color when i check the
checkbox in the datagrid header. can i do this at client side. i need to
delete all the selected rows when i click on a delete button. Please help
with a sample code.

Thank you
 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      05-17-2005
The directions: loop through the DHTML presentation of the grid, which is a
<table> and set className attributes for all <tr>s to a class that makes the
rows look visually selected.

Eliyahu

"Bidarkota" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> can i select all the rows in a datagrid with a color when i check the
> checkbox in the datagrid header. can i do this at client side. i need to
> delete all the selected rows when i click on a delete button. Please help
> with a sample code.
>
> Thank you



 
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
How to execute client-side code _after_ client-side validation? Bogdan ASP .Net 2 06-09-2008 01:31 PM
Client side script after client side validation with asp.net 2.0 Boss302 ASP .Net 0 11-21-2006 08:43 AM
DataGrid Client Side row selection =?Utf-8?B?QmlkYXJrb3Rh?= ASP .Net 0 05-23-2005 10:38 PM
Collectiong Data on Server side while adding rows on client side =?Utf-8?B?U2lsZWVzaA==?= ASP .Net 0 11-03-2004 12:43 AM
Adding custom client-side onClick handler with client-side validator controls Zoe Hart ASP .Net Web Controls 1 01-08-2004 10:45 PM



Advertisments