472,331 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 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 1252
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...
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,...
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...
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...
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...
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...
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...
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....
1
by: komaladevi | last post by:
can any one help me in writing acode -"how to edit "edit item template" dynamically""
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.