469,934 Members | 2,667 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

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 1163
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by don | last post: by
2 posts views Thread by don | last post: by
reply views Thread by nfedin | last post: by
3 posts views Thread by thebison | last post: by
4 posts views Thread by Peter | last post: by
9 posts views Thread by rn5a | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.