I add a RadRating control to a RadGrid footer at runtime. I can retrieve a updated value from the server using AJAX and would like to update this value with the latest server value. I have an event that can be called on the client side. My problem is how can I find the RadRating using Javascript at runtime? Below is a sample of the code I use to insert the control during the RadGrid1_ItemCreated event.
if (e.Item is GridFooterItem) { GridFooterItem footerItem = (GridFooterItem)e.Item; TableCell tc = new TableCell(); footerItem.Cells[5].Text = "<b>Overall Rating:</b>"; footerItem.Cells[5].HorizontalAlign = HorizontalAlign.Right; //Add group rating summary RadRating radrateemp = new RadRating(); RadRating radratesuper = new RadRating(); radrateemp.ReadOnly = true; radrateemp.ID = "EmpRatingOverall"; radratesuper.ReadOnly = true; radratesuper.ID = "SuperRatingOverall"; footerItem.Cells[7].Controls.Add(radrateemp); footerItem.Cells[6].Controls.Add(radratesuper); }