Results 1 to 2 of 2

Thread: creating a favourite list in asp.net

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    creating a favourite list in asp.net

    I am displaying albums with images and other text in a gridview. I want to add a functionailty like shopping cart. The idea is that there would be a small image in each row of the grid. If the user clicks it the id of that album is added to the list. Also i would mark that row as being added to the list. Can anybody have any ideas or code that can help me in this.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: creating a favourite list in asp.net

    You can add an ImageButton control to a template column in the gridview. Handle the click event of this ImageButton in the ItemCommand event of the Gridview.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width