If you are using the Rating Control for the ASP.NET AJAX Control Toolkit on a long page you will notice that after selecting your rating the page jumps to the top of the screen. On a short page you will not notice anything but the hash sign appearing at the end of the URL. On a long page the jump is a big problem. It is due to the
href attribute on the anchor tags being set to a hash instead of something like
In the below sample I have the Rating Control wrapped in a
div tag with
Rating set as the CSS class. This way I can have many ratings on one page and having this one line fix all of them.