Grid with SignalR datasource and inline editing

6 posts, 0 answers
  1. Lance
    Lance avatar
    25 posts
    Member since:
    Apr 2013

    Posted 12 May 2014 Link to this post

    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.
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 14 May 2014 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Lance
    Lance avatar
    25 posts
    Member since:
    Apr 2013

    Posted 15 May 2014 in reply to Vladimir Iliev Link to this post

    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
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 19 May 2014 Link to this post

    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.

     
  6. Ken Cox
    Ken Cox avatar
    100 posts
    Member since:
    Oct 2002

    Posted 16 Nov 2015 in reply to Vladimir Iliev Link to this post

    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?

  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 18 Nov 2015 Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready