Solved

ASP.net GridView Multi Select with Ctrl

Posted on 2010-08-16
3
1,166 Views
Last Modified: 2012-06-27
Good afternoon,
Ive been reading about selecting rows by just clicking on a row from 'http://forums.asp.net/p/992062/1290572.aspx', which seems to work great for something Im working on at the moment, but is it possible to to select multiple rows, ie testing if the user is holding ctrl down, or shift for selecting multiple rows of a GridView. I have a feeling this is going to be some heavy Javascirpt, but before I Ventrue down this route, wanted to know if anyone has any advise, or sample code which they have done, to save me starting from scratch again.

Id prefer to do this in ASP.net, and not use silverlight, or components, just to keep it simple (although maybe not so simple for coding! :-S )

Thank in advance!
0
Comment
Question by:tonelm54
3 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 33444865
The standard GridView control only allows for one gridViewObj.EditIndex to be set. To achieve what you want, you will either need to create your own control or handle it differently on the clientside.
0
 
LVL 9

Accepted Solution

by:
abhinayp86 earned 250 total points
ID: 33445410
0
 
LVL 14

Assisted Solution

by:raja_ind82
raja_ind82 earned 250 total points
ID: 33453198
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question