For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > August 2007 > allow multiple row selection in gridview









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author allow multiple row selection in gridview
Mike

2007-08-17, 8:11 am

On my web form I need to allow the users to select mulitple rows within and then click delete, is there a way to allow for multi row selections and then get each row id so then can delete all the selected rows?

bruce barker

2007-08-17, 7:19 pm

lots of ways, depending on the ui you want. you could have checkbox per
row and a delete button. client script could detect a click and fillin a
hidden field, etc.

-- bruce (sqlwork.com)

Mike wrote:
> On my web form I need to allow the users to select mulitple rows within
> and then click delete, is there a way to allow for multi row selections
> and then get each row id so then can delete all the selected rows?
>

Mike

2007-08-17, 7:19 pm

I currently have a checkbox for this, though I dont' like it, it works for
now
"bruce barker" <nospam@nospam.com> wrote in message
news:%23pxO$IO4HHA.4400@TK2MSFTNGP06.phx.gbl...[color=darkred]
> lots of ways, depending on the ui you want. you could have checkbox per
> row and a delete button. client script could detect a click and fillin a
> hidden field, etc.
>
> -- bruce (sqlwork.com)
>
> Mike wrote:


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com