跟小D每日学口语

ajax rating刷新跳动

     在使用微软的ajax控件时,发现rating控件点击时会刷新跳动!只要在page_load里加上一句话就可以了。

       Rating1.Attributes.Add("onclick", "return false;"); 

  详解请看:

http://www.aspdotnetfaq.com/Faq/How-to-fix-Bug-in-ASP-NET-Ajax-Rating-control-that-causes-jumping-to-the-top-of-the-page.aspx

posted on 2009-07-03 16:04  achao  阅读(235)  评论(0)    收藏  举报

导航