Solved

ASP.net GridView Multi Select with Ctrl

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now