This is a migrated thread and some comments may be shown as answers.

Auto Refresh only few items - RadGridview

2 Answers 193 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
amrish
Top achievements
Rank 1
amrish asked on 01 Apr 2016, 02:52 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 06 Apr 2016, 01:20 PM
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.
0
amrish
Top achievements
Rank 1
answered on 06 Apr 2016, 02:10 PM

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!

Tags
ScheduleView
Asked by
amrish
Top achievements
Rank 1
Answers by
Martin
Telerik team
amrish
Top achievements
Rank 1
Share this question
or