Edit Column in GridView

Posted on 2009-04-13
Last Modified: 2012-05-06
Is it possible to change the order of appearance of the "Edit" column on an editable GridView?  I'd like it to appear next to a given column instead of all the way tio the left.

Also, can I change the word?  I'd like it to say "select" instead of "Edit".
Question by:NigelRocks
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
  • 2
  • 2

Accepted Solution

Gorkem Yuksel earned 500 total points
ID: 24132657

Yup.. In the Columns editor, just bring the edit button up in the list and place it under the column entry that you want the button to be placed next to.  In the appearance section of the column settings, you can change the text of the button to be whatever you like.

If you need more step by step instructions, let me know.



Author Comment

ID: 24132695
Wait...I don't see the "edit" column in the list of columns.  This is the "edit" column automatically generated by the GridView, not one I've added myself.

Author Comment

ID: 24133152
Are you going to leave me hanging after you got those easy points?  

Expert Comment

by:Gorkem Yuksel
ID: 24138499
Hey Nigel,

In your columns editor, you should see an item called CommandField, or if you chose a specific type of button from the CommandField buttons, you will see an Edit,Update,Cancel or Select or Delete..

You can use the up/down arrows to position this "column" anywhere on the row..  Also, when you view the properties (on the right half of the columns editor), you will see (under appearance) the following entries that you can change..

ButtonType - This could be a Link, Image, or a button

EditText - If you have the button type set as a link or button, you can change the text that is displayed to the user as the link or button.

Thats all there really is to it.



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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

632 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