Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 6th, 2004, 03:02 AM
Friend of Wrox
Join Date: Sep 2003
Location: , , .
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default edittext in editcommandcolumn

I am using datagrid in my asp.net project. I want to display button instead of 'edittext' in EditCommandColumn is there any way to do it.
my code like this
<asp:datagrid id="grd1" AlternatingItemStyle-BackColor=#ffcc99 Runat="server" HeaderStyle-Font-Size="10px" ItemStyle-Font-Size="9" HeaderStyle-BackColor="maroon" HeaderStyle-Font-Bold="True" HeaderStyle-Font-Name="Verdana" HeaderStyle-ForeColor="White" EditItemStyle-BackColor="#ffff66" EditItemStyle-ForeColor="#000000" ItemStyle-BackColor="Gainsboro" ItemStyle-Font-Name="verdana" Width="50%" PageSize="30" PagerStyle-Mode="NumericPages" AllowPaging="true" PagerStyle-HorizontalAlign="Right" AutoGenerateColumns="false" onPageIndexChanged="ChangeGridPage1" OnEditCommand="doitemedit" OnUpdateCommand="doitemupdate" OnCancelCommand="doitemcancel" OnDeleteCommand="Delete_Row" ShowHeader =true >
    <asp:EditCommandColumn HeaderText="Modify" EditText="edit" CancelText="cancel" UpdateText="update" />
' above instead of 'edit' text want to display button.
    remaining TemplateColumn

Reply With Quote
  #2 (permalink)  
Old April 7th, 2004, 09:24 AM
Registered User
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

<asp:EditCommandColumn HeaderText="Modify" EditText="edit" CancelText="cancel" UpdateText="update" ButtonType="PushButton" />
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling the EditCommandColumn of datagrid ninel General .NET 0 February 9th, 2007 05:02 PM

All times are GMT -4. The time now is 08:56 PM.

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