Updating RadAjaxPanel from jQuery

2 posts, 0 answers
  1. Nedim
    Nedim avatar
    11 posts
    Member since:
    Mar 2012

    Posted 06 Jan 2015 Link to this post

    I have a RadGrid control inside a RadAjaxPanel. In my jquery code, I make an ajax request to add a new record to RadGrid. It's added sucessfuly. However, it doesn't show up on the page even though I update RadAjaxPanel through the code below.

    var panel = <%= ajaxPanel.ClientID %>; 
    panel.ajaxRequest('<%= ajaxPanel.UniqueID %>','');

    I see that RadAjaxPanel is updated but new record isn't there.I have to refresh the whole page to have the new record show up. Is there any way to do it without refresh?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 07 Jan 2015 Link to this post

    Hi Nedim,

    You can try handling the RadAjaxPanel OnAjaxRequest server event and call RadGrid1.Rebind() method to update the grid control.



    Regards,
    Maria Ilieva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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