Problem on GridView on RowCommand Event – Firing Twice

Hi folks,

if you try to add an image button on GridView ,specially if you are trying to delete rows from GridView,you will get amazaed of the behavior of the GridView since the Event handler will be called Twice…!

Solution : Change the Type of the button from Image to Link or Butoon and the event Handler will be called once.

Other References :
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=379213&SiteID=1

Regards,
Moustafa arafa

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>