Solved

ASP.net GridView Multi Select with Ctrl

Posted on 2010-08-16
3
1,172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS question 16 62
Left aligned $ and right aligned amount ASP.NET 7 41
display data from multiple ajax calls 9 39
Ajax calendar distorted 4 17
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.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

737 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