Can anyone give me a reference to documentation on how to
create a datagrid which has a checkbox on each line, and
by checking this, that record is marked (say by background
color change) as selected? Please let me have this
reference refer to VB "code behind". I am sure this is
documented somewhere, but I can't find it.
Thanks,
Paul.
MSFT - 11 Nov 2003 02:45 GMT
Hi Paul,
You may take a look at following articel to see if it will help:
HOW TO: Loop Through and Examine CheckBox Control Values in a DataGrid
Column by Using ASP.NET and Visual Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;321881
Luke
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
P Nelson - 12 Nov 2003 15:59 GMT
Hi Luke,
The article you reference has helped me find what I need
to get (to a certain extent). The code in there doesn't
actually work completely. It references an index value
which the system can't find (is -1, I suspect, though I
can't get the debugger to work on VS.NET). I have bypassed
this problem by printing out the sample code's results as
response.write rather than using the stringbuilder in the
code. This has gotten me a good way forward, but I am sure
i will be asking more questions in the next few hours.
Thanks,
Paul.
>-----Original Message-----
S Gopikrishna - 11 Nov 2003 05:32 GMT
This can be achieved using TemplatedColumn with
JavaScript for highlighting the Row. The following link
will help you out
http://www.codeproject.com/aspnet/Multi-
select_Dataagrid.asp
Thanks,
Gopi
>-----Original Message-----
>Can anyone give me a reference to documentation on how to
[quoted text clipped - 8 lines]
> Paul.
>.