G
Guest
Hi,
I've created a shopping cart using DataList control; it has all the usual
command buttons; Add, and Delete. However, I want to add a DropDownList so
that the user can change the product (very small product list) and I want the
SelectedIndexChanged event to be posted back to the Data List's ItemCommand
event.
I've tried added GetPostBackEventReference to the drop down list during the
Data List's ItemCreated event - The form will post back but I cannot get it
fire the ItemCommand event no matter what parameters I use in the
GetPostBackEventReference. I'm not even sure if this is right way to do this.
Any suggestions would be greatly appreciated.
I've created a shopping cart using DataList control; it has all the usual
command buttons; Add, and Delete. However, I want to add a DropDownList so
that the user can change the product (very small product list) and I want the
SelectedIndexChanged event to be posted back to the Data List's ItemCommand
event.
I've tried added GetPostBackEventReference to the drop down list during the
Data List's ItemCreated event - The form will post back but I cannot get it
fire the ItemCommand event no matter what parameters I use in the
GetPostBackEventReference. I'm not even sure if this is right way to do this.
Any suggestions would be greatly appreciated.