J
John Famiglietti
Hi All,
I'm using a pretty straightforward implementation of the DataList control.
I'm only databinding if !IsPostBack, but I need to click on a button whose
ItemCommand is DataList.SelectCommandName twice in order for the item to
become selected.
On the first click, my ItemCommand handler is never called, on the second
click it works fine. However, if I remove the if IsPostBack restriction
from my On_Load handler, ItemCommand does get called the first time. (but
obviously I can't leave it that way.)
All the other commands work fine. (Edit, Update, Delete and Cancel)
I've seen tons of other messages like mine in Google groups, but none with
any real resolution. Maybe I'll get lucky.
Thanks,
John
I'm using a pretty straightforward implementation of the DataList control.
I'm only databinding if !IsPostBack, but I need to click on a button whose
ItemCommand is DataList.SelectCommandName twice in order for the item to
become selected.
On the first click, my ItemCommand handler is never called, on the second
click it works fine. However, if I remove the if IsPostBack restriction
from my On_Load handler, ItemCommand does get called the first time. (but
obviously I can't leave it that way.)
All the other commands work fine. (Edit, Update, Delete and Cancel)
I've seen tons of other messages like mine in Google groups, but none with
any real resolution. Maybe I'll get lucky.
Thanks,
John