Solved

Edit Column in GridView

Posted on 2009-04-13
4
385 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

18 Experts available now in Live!

Get 1:1 Help Now