TreeView and signalr

3 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Jan 2014

    Posted 09 Apr 2015 Link to this post

    I'm trying to convert an existing TreeView that works with ajax/webapi, working with signalR and can't figure out how the requests for children are passed to the hub.

    The datasource loads the root level fine by calling the read method without parameters, however the read method with the parent node ID parameter never gets called for child nodes.

    I have set loadOnDemand to false and I can see multiple requests being made to the hub which appear to match the root nodes with children but get the following error:

    signalR: treehub.read failed to execute. Error: There was an error invoking Hub method 'treehub.read'.

     

    Has anyone got a working TreeView/signalr example or knw how to get lower level debug info.

     

    Thanks

    Mark

     

  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 13 Apr 2015 Link to this post

    Hello Mark,

    I'm afraid that we don't have an official example of a TreeView that is bound to SignalR, but would gladly help if you share your progress so far in a runnable sample, so that we can investigate the issue.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Mark
    Mark avatar
    2 posts
    Member since:
    Jan 2014

    Posted 14 Apr 2015 Link to this post

    Hi Alex

    Having identified a number of limitations with the SignalR datasource implementation, such as not being able to serialize grid options to save state, the need to use DynamicLinq for filtering etc, I've decided not to waste anymore time on this one.

     Thanks

    Mark

Back to Top