Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to arrow down a gridview column and auto edit cell

Posted on 2013-11-01
4
Medium Priority
?
516 Views
Last Modified: 2013-12-16
I need to create a gridview with 4 columns but only one of them is editable.  I want the user to be able to click, or arrow down the colum to each row and just change the value in that cell.  Anyone have any idea how to approach this problem.  This is an  asp:gridview.

thanks
0
Comment
Question by:mgmhicks
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39619309
The builtin grid in ASP.NET only allows editing one row at a time. Have you looked at datatables?

http://datatables.net/release-datatables/examples/api/editable.html
0
 

Accepted Solution

by:
mgmhicks earned 0 total points
ID: 39635281
I ended up finding a great article for creating a gridview instance that does exactly what you need it to.  Allows  edit mode for a single or many columns.

Here is the link, thanks as always for the help

http://blogs.msdn.com/b/mattdotson/archive/2005/11/09/real-world-gridview-bulk-editing.aspx
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39639951
Nice find.
0
 

Author Closing Comment

by:mgmhicks
ID: 39721051
This was the solution
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Loops Section Overview
Suggested Courses

885 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