I have the rating control implemented in a repeater that displays a list of documents (each of which has a unique document id), and I want to have one RadRating control associated with each document. When a user clicks the rating control, I want to get the value of the rating gadget at the time it is clicked, and update the associated document with the rating.
The problem is that I don’t know how to figure out the document id to get in order to update the data. The service side event handler, OnRate returns the radrating object, but all this gives me is the value and no way to specify the document id. Similarly, the client-side call, OnClientRated, you specify the name of the javascript function to call…with no parameters – it assumes the parameters are ‘sender’ and ‘args’.
Please tell me how I can determine which id goes with which rating gadget in the repeater.
Thanks.