Radgrid not updating on first update, works perfect from second call on

2 posts, 0 answers
  1. Tyler
    Tyler avatar
    1 posts
    Member since:
    Dec 2014

    Posted 12 Jun 2015 Link to this post


    I have implemented a drag-drop from one Radgrid to another. When the target grid receives a drop, it updates a SQL table. The target grid is using a DataSourceID to the said SQL table. I have placed a Radgrid.Rebind() in the postback call. Everything works great - except for the first time. When I drop the first item, the target grid does not update but I can see that it updated the SQL table. After the first item, I can continuously drop more items from the source grid and the target grid will refresh every time to represent the data in the SQL table using the Rebind in postback. What would cause the first instance of a rebind to not work properly?

    I saw on some posts to place the Rebind in the page's PreRender event but that also did not work. Any suggestions are much appreciated. Thank you.

  2. Jonathan
    Jonathan avatar
    47 posts
    Member since:
    Sep 2010

    Posted 12 Jun 2015 in reply to Tyler Link to this post

    Hey Tyler,

    We all are experiencing the same problem. It appears to be a breaking change related to changes they made since Q3. I posted a work around for someone else using client side data binding in another thread. Basically, if you make a call to RadGrid.MasterTableView.set_currentPageIndex(1); when the number of DataItems = 0, immediately after the update, it will refresh the grid. Have a look at that thread and see if it will help.



Back to Top