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

Grid with SignalR datasource and inline editing

5 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lance
Top achievements
Rank 1
Lance asked on 12 May 2014, 05:49 AM
Hi,
Is it possible to have a grid bound to a signalR datasource and use inline editing?  I've set up my grid to be bound to a signalR datasource and it is successfully bound and I can update the data.  I am unable to get it to work with inline editing and also I cannot get it to update other instances of the grid.  My application is an MVC 5.1 application and I am running on Visual Studio 2012.  The Telerik version I am using is 2014.1.415.  So can you please answer the following:
1. Can the grid have inline editing but still be bound to a signalR datasource ?  If so, can you give an example?
2. Why aren't other instances of my grid updating with the changes?  Any things I can check?  I've followed your example and it seems I'm doing everything the same.

Please help.

5 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 14 May 2014, 07:21 AM
Hi Lance,

Please find the answers of your questions below:

1) Yes, it's possible to use "InLine" editing with SignalR - please check the attached example. 

2) From the provided information it's not clear for us what is the exact reason for this behavior - could you please modify the above example to reproduce the issue and send it back to us?

Kind Regards,
Vladimir Iliev
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.

 
0
Lance
Top achievements
Rank 1
answered on 16 May 2014, 03:30 AM
Hi Vladimir,

Thanks for your reply.  I got the inline editing working.  The problem was I had toolbar.Save() which made grid in batch update so inline wouldn't work.

I still can't get the updating of the grids on other clients working.  I have followed the example pretty closely apart from my hub class getting data from a wcf service rather than directly from entity framework.  I've got another hub working which which updates messages on a notification control.  This works perfectly and updates all client when required.   I'm not sure what I am doing wrong.

Lance
0
Vladimir Iliev
Telerik team
answered on 19 May 2014, 11:40 AM
Hi Lance,

Please note that in order to investigate further the current behavior we would need sample project that reproduces it. Could you please modify the example from my previous reply to reproduce the issue and send it back to us?

Kind Regards,
Vladimir Iliev
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.

 
0
kencox
Top achievements
Rank 1
answered on 16 Nov 2015, 06:04 PM

This is an excellent sample!

What setup is required for the SQL database to support SignalR?

Is there a script or documentation you can point to for setting up other databases?

0
Vladimir Iliev
Telerik team
answered on 18 Nov 2015, 10:25 AM
Hello Ken,

Setting up the dataBase (or source where the data is loaded) is not related to SignalR. More information on the matter is available on various resources over the internet. For example you can start with this guide.

Regards,
Vladimir Iliev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Lance
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Lance
Top achievements
Rank 1
kencox
Top achievements
Rank 1
Share this question
or