Solved

ASP.net GridView Multi Select with Ctrl

Posted on 2010-08-16
3
1,170 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…

685 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