Garreth21
Programmer
- May 19, 2005
- 29
Hi everyone,
I have a datagrid for a simple shopping cart app i'm developing. I've got a template Column that contains a asp button which will add the product to the shopping cart.
Right now I'm using the OnItemCommand event, and i'm able to display the product num on the screen. However, i've run into problems with the OnItemCommand taking over. I've since learned that I'd have to use CommandName to get around the issues i'm having.
My question is, is there another way to do what I'm doing currently without using OnItemCommand? So far this is the only way i've gotten it to work.
thanks
I have a datagrid for a simple shopping cart app i'm developing. I've got a template Column that contains a asp button which will add the product to the shopping cart.
Right now I'm using the OnItemCommand event, and i'm able to display the product num on the screen. However, i've run into problems with the OnItemCommand taking over. I've since learned that I'd have to use CommandName to get around the issues i'm having.
My question is, is there another way to do what I'm doing currently without using OnItemCommand? So far this is the only way i've gotten it to work.
thanks