Solved

Edit Column in GridView

Posted on 2009-04-13
4
386 Views
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".
0
Comment
Question by:NigelRocks
  • 2
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
Gorkem Yuksel earned 500 total points
ID: 24132657
Hi,

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.

Cheers,

G.
0
 
LVL 1

Author Comment

by:NigelRocks
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.
0
 
LVL 1

Author Comment

by:NigelRocks
ID: 24133152
Are you going to leave me hanging after you got those easy points?  
0
 
LVL 9

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.

Cheers,

G.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

912 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

19 Experts available now in Live!

Get 1:1 Help Now