AutoGenerateDeleteButton - Changing the displayed text

Hi I have a gridview on my webform and want to include an edit and delete button with the gridview. I am developing in with VS2005 and VB.NET

I understand I can do this with the AutoGenerateEditButton and AutoGenerateDeleteButton but do not want to use the default text of "Edit" and "Delete" I want something more user friendly like "Change and Cancel" as I am displaying appointments.

Is this possible and if so how do I go about doing it ?

Many thanks for any help
...Steve
LVL 1
swtileyAsked:
Who is Participating?
 
Jorge PaulinoIT Pro/DeveloperCommented:
In the gridview you can change the default texts. Select the gridview, open the Edit Columns and in the selected fields select  Select. Then you can change on the command fields properties the cancel text, delete text, etc.
0
 
swtileyAuthor Commented:
Hi jpaulino,

Thanks for your comment,  however I am doing this at run time rather than design time, sorry should have mentioned that. That said I stil lcould not do what you suggested at design-time - how do you "open" the edit Columns ?

Cheers
Steve
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
On top right of the griview in the Grivview Tasks or in the properties - columns.

Do you need to do with code (at runtime) ?
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
swtileyAuthor Commented:
Yes Jpaulino, I do need to do at runtime,

thank you
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Add just the CommandField and then add your columns
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.