Monday, December 04, 2006

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

No comments: