473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Datagrid "edit" image not working

Hi (I am using visual studio 2005 beta 2)

I have a simple asp.net data grid, with a edit (update and cancel) set.

When the button mode is link, it works fine.

But when the button mode is image, it does not work??????

What am I doing wrong
Any help is appreciated
Thanks
Nalaka
Nov 19 '05 #1
2 1302
it is a gridView, I am using....
Nov 19 '05 #2
Hi Nalaka,

Welcome to ASPNET newsgroup.
For the ASP.NET 2.0 GridView 's Image style command button problem you
mentioned, based on my local test, it seems that this is likely a project
or page specific issue. My local ASP.NET 2.0 beta2 environment seems didn't
repro this problem. Here is the GridView's aspx template I used:

<Columns>
.............
<asp:CommandField ButtonType="Image"
CancelImageUrl="~/App_Image/cancel.GIF" EditImageUrl="~/App_Image/edit.GIF"
ShowEditButton="True"
UpdateImageUrl="~/App_Image/update.GIF" />
</Columns>

Have you also tried the test in other projects or pages to see whether its
page/project specific. In addition, since this is a whidbey beta issue, we
also suggest you try posting in the msdn beta forum since there're many
other community members which may have some ideas:

http://forums.microsoft.com/msdn/

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Nalaka" <na******@nospam.nospam>
| References: <O#**************@tk2msftngp13.phx.gbl>
| Subject: Re: Datagrid "edit" image not working
| Date: Thu, 28 Jul 2005 16:05:12 -0700
| Lines: 3
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <ub**************@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:115064
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| it is a gridView, I am using....
|
|
|

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: don | last post by:
I have a datagrid working fine in my ASP page and it is editable using a edit/update/cancel column. All is well, but I have a Total line at the end that I would not want the user to edit, I have...
2
by: don | last post by:
I will try again with this one. I have a datagrid working fine in my ASP page and it is editable using a edit/update/cancel column. All is well, but I have a Total line at the end that I would...
0
by: nfedin | last post by:
I am trying to use a datagrid to display/edit some database information. I would like to use the datagrids inherent edit capabilities to do it. I have setup the datagrid to display the data...
3
by: thebison | last post by:
Hi all, I hope someone can help with this relatively simple problem. I am building a timesheet application using ASP.NET C# with Visual Studio 2003.As it is only a protoype application, my...
4
by: Peter | last post by:
(VS 2003) I have a DataGrid and accept button. My problem is when a user starts to edit one of the values in the grid and does not either press Enter or move of the current cell and presses the...
9
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the...
1
by: Kosmös Pollard | last post by:
Hey guys, I'm rather new to access and can not seem to figure out what is wrong with this code I will post below...but first...it was working perfectly fine before I added this: recSet2.Edit...
1
by: Benny Ng | last post by:
Dear All, Now I met one problem in the development of my one application. I have one ASP.NET page. It's for disply the information of customer. But now I have one new requirement. It's to...
1
by: komaladevi | last post by:
can any one help me in writing acode -"how to edit "edit item template" dynamically""
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.