Re rate after post back

6 posts, 0 answers
  1. Rick
    Rick avatar
    58 posts
    Member since:
    Dec 2006

    Posted 30 May 2011 Link to this post

    I can re rate after a post back just fine, the second I throw it in an update panel no more re rating. 

    This does not seem like it should be, as I would think submitting a rating with an ajax request would be common.

    What am I missing?
  2. Niko
    Admin
    Niko avatar
    387 posts

    Posted 31 May 2011 Link to this post

    Hello Rick,

    Please, review the attached sample page with a RadRating control within an UpdatePanel. The counter below the rating will display the number of rated events executed. Please, compare this implementation with then one that you have on your side and check what may be going wrong.
    Also make sure there are no JavaScript errors on the page, as they may prevent the proper working of the controls.

    Hope this helps.

    Regards,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rick
    Rick avatar
    58 posts
    Member since:
    Dec 2006

    Posted 31 May 2011 Link to this post

    I was trying to use the radajax panel and it wasn't working.

    I used the traditional asp update panel and all seems to be working.

    Also any issues with having this functionality work within a repeater?

    I can't seem to have it fire.
  5. Niko
    Admin
    Niko avatar
    387 posts

    Posted 02 Jun 2011 Link to this post

    Hello Rick,

    Please, find attached an updated version of the previous attachment with incorporated RadRating within repeaters and within RadAjaxPanel. Please, review the sample and test it on your end and check if there is still an error.

    Let me know of the outcome.

    Regards,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Rick
    Rick avatar
    58 posts
    Member since:
    Dec 2006

    Posted 02 Jun 2011 Link to this post

    Okay that works but what I was wanting to do is have each item within the repeater have it's own update so I didn't need to rebind the repeater after each possible rating.

    Thanks for the support on this, really helpful to be able to communicate with the developers.
  7. Niko
    Admin
    Niko avatar
    387 posts

    Posted 02 Jun 2011 Link to this post

    Hello Rick,

    Now I see what setup are you trying to accomplish. I tried to recreate it and it appears to be working correctly. Maybe the point that you have been missing is to prevent the data-binding of the repeat if the request is a postback. Please, find attached the next iteration of changes (note that the changes are incorporated in the outsideRepeater only).

    Hope this will resolve your issues.

    All the best,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017