Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 15th, 2007, 09:53 AM
GS GS is offline
Authorized User
Join Date: Sep 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chnage text of a buttonfield

I am using ASP. net with C#

I have a buttonfield named Update within a GridView. I am wondering how to change the text of the buttonfield when it is clicked? I have a Update_onclick event, but cannot seem to change it as examples I have found deal with button.

Not sure how difficult this is. Any help from anyone would be appreciated.

Thanks in advance.
Old March 16th, 2007, 09:07 AM
Friend of Wrox
Join Date: Sep 2004
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts

U can use javascript just use getElementbyId and change the text onClick

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text(Sql Server Text Field) to Image(JPG) srinivas72 ADO.NET 2 February 13th, 2009 06:31 PM
How to get text of gridview buttonfield snufse ASP.NET 2.0 Basics 2 July 21st, 2008 11:48 AM
To get text of ButtonField column in GridView nitinp ASP.NET 2.0 Professional 11 May 26th, 2007 12:55 PM
Change name of buttonfield on click GS ASP.NET 2.0 Professional 0 March 15th, 2007 11:34 AM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.