GridView.RowCommand Event fires twice - user link buttonas follow

D

disa kansagara

Change the Button Field as Link Button:


Button field as Link button and, in the text, set de tag of a html image
<img src="IMAGENAME" >
and the event fires one time

<asp:ButtonField Text="&lt;img src=Images/edit.gif /&gt;" HeaderText="Editar" >

</asp:ButtonField>




EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
 
R

Rob

This is no solution for those of us who require the use of an image for a
button rather than text.

Is there a fix for this long standing grid defect?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top