Solved

ASP.net GridView Multi Select with Ctrl

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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 …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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…

758 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

23 Experts available now in Live!

Get 1:1 Help Now