Datagrid ItemCommand firing twice
Hi,
when tracing, my datagrid is firing ItemCommand twice when a select button is pressed. I am using DataGridCommandEventArgs to handle the events.
Could someone explain why this could be happening and how do i go about possibly rectifying it?
I thought it might of been once for the postback and once actually processing the button click, but when i wrap it in !IsPostBack no code executes. Hence, it must post back twice..But why?
Any help appreciated.
|