Update to my previous post Rating Control Ajax - Display Message on Rating
Ajax Rating Control has bug, that is whenever user clicks the rating control, page causes jumps to top of the page. To avoid jump to top of page when user clicks Rating Control you need to add following line.
Add following line to maintain scroll position of page after user clicks rating control asp.net ajax.
protected void Page_Load(object sender, EventArgs e)
{
Rating1.Attributes.Add("onclick", "return false;");
}
For Detailed explanation about why Rating control jumps to top of page when user clicks on Rating control
3 comments:
This Bog very helpful.
How we disable the rating control after rate.
Thanks a lot.
Post a Comment