Auto Refresh only few items - RadGridview

3 posts, 1 answers
  1. amrish
    amrish avatar
    2 posts
    Member since:
    Apr 2016

    Posted 01 Apr Link to this post

    Hi,

    We are currently using Telerik () RadGridview for our WPF client application. The data is displayed in ScheduleView format for users as Weeks/Days where user can create a block (Tile) on a specific day and time. Once the block is created on the grid user can select the block and edit the contents. The data that is binded to the grid is coming from SQL Server database which is common to all the users who are using this client application and Schedule Grid.

    Our business requirement is, when a particular user has open this schedule grid on his screen, he see all the blocks created by different users including his own blocks. User should be able to edit his block and at the same time all other blocks on the screen inside the grid should be auto refreshed (may be after 1 min) to reflect the changes saved in DB by other users that too without restricting the user to edit his own block and without locking the UI. User should be still allowed to continue his edit operation when auto refresh is happening for other changed blocks...

    Is it possible in Telerik Radgrid (any version) to auto refresh (every after 1 min) entire contents except the the one user is editing without locking the UI?

    Any help is appreciated...

  2. Answer
    Martin Vatev
    Admin
    Martin Vatev avatar
    90 posts

    Posted 06 Apr Link to this post

    Hello,

    Thank you for the detailed explanation.

     Such kind of functionality isn't available out of the box. To refresh RadGridView its Rebind() method must be called, but this method will reload the entire contents and you should create auto refresh functionality logic manually(you should call this method every minute). On the other hand, while editing an element of  RadGridView, it is not possible without customization to refresh its items collection.

    Such kind of customization is related to the general setup on your end and is
    outside the scope of our support services as we are dedicated to providing help for issues related to the specific use of the Telerik controls. Our recommendation is when the editing is completed to save the edited item, then reload elements and synchronize the modified item.

    I hope this helps.

    Regards,
    Martin Vatev
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. amrish
    amrish avatar
    2 posts
    Member since:
    Apr 2016

    Posted 06 Apr in reply to Martin Vatev Link to this post

    Hi Martin,

    Thank you for your response. This is the way currently we have thought of implement the change but the only concern we have is if you have large amount of data on the grid, this operation will be costly in terms of performance. May be we will use multi-threading approach to resolve the performance issue.

    Thank You!

Back to Top