Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Edit Column in GridView

Posted on 2009-04-13
Medium Priority
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 2000 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

Independent Software Vendors: 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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

715 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