Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Multi-select in a datagrid

Reply
Thread Tools

Multi-select in a datagrid

 
 
Roger
Guest
Posts: n/a
 
      01-11-2005
Hi:

I'm trying to perform a multi-select in a datagrid using a ButtonColumn.
Anyone know how to do this?


Roger


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      01-12-2005
Roger,

You can do it on client side. In server-side ItemDataBound event handler set
"onclick" attribute for every grid item to a javascript function with "this"
as a parameter. For the javascript function the parameter will be a
reference to the selected row. You can make the row visible selected. You
can also put the reference on the row into a client-side array of selected
rows. You can pass ids of selected rows to the server in one of the ways of
transferring data from client to server.

Eliyahu

"Roger" <(E-Mail Removed)> wrote in message
news:ObpXm6$(E-Mail Removed)...
> Hi:
>
> I'm trying to perform a multi-select in a datagrid using a ButtonColumn.
> Anyone know how to do this?
>
>
> Roger
>
>



 
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
Re: Datagrid: how cut short display of a long description in a datagrid column Brian K. Williams ASP .Net 0 03-02-2004 08:35 PM
RE: Datagrid: how cut short display of a long description in a datagrid column =?Utf-8?B?U3VyZXNo?= ASP .Net 0 03-02-2004 08:31 PM
datagrid in datagrid BK Kim ASP .Net 1 03-02-2004 06:34 AM
Call Datagrid Command column outside datagrid Dave ASP .Net 0 11-20-2003 11:11 AM
To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible? Andreas Klemt ASP .Net Datagrid Control 0 10-08-2003 01:19 AM



Advertisments