D
DanWeaver
I am trying to implement a "thumbs up- down" scoring system- I have an
asp: repeater control to spit to my page a series of unique data eg
John Yay- 2 Nay 10
Lucy Yay- 5 Nay 12
Susie Yay- 25 Nay 3
Each of which has a unique id in my sql database. I have a thumbs up
and thumbs down icon and a current number as shown above. As in
www.urbandictionary.com I would like the number to update immediately
the user clicks the icon- no problem- javascript- the question is...
how do I collect the scoring info to update the sql db- the client
need not update at all for the session- worse posting back everytime
the user clicks yay or nay-. I have considered creating a hidden asp
text box which gathers unique id of eg John, Lucy and -1, or +1 - at
the server this can be used to update the db- BUT WHEN does it get
posted to the server and how is this achieved- what event should fire
this post and can it be done without disrupting the user experience. A
simple example would be lovely if anyone has one.
Dan
asp: repeater control to spit to my page a series of unique data eg
John Yay- 2 Nay 10
Lucy Yay- 5 Nay 12
Susie Yay- 25 Nay 3
Each of which has a unique id in my sql database. I have a thumbs up
and thumbs down icon and a current number as shown above. As in
www.urbandictionary.com I would like the number to update immediately
the user clicks the icon- no problem- javascript- the question is...
how do I collect the scoring info to update the sql db- the client
need not update at all for the session- worse posting back everytime
the user clicks yay or nay-. I have considered creating a hidden asp
text box which gathers unique id of eg John, Lucy and -1, or +1 - at
the server this can be used to update the db- BUT WHEN does it get
posted to the server and how is this achieved- what event should fire
this post and can it be done without disrupting the user experience. A
simple example would be lovely if anyone has one.
Dan