OrgChart Client-Side Programming

10 posts, 0 answers
  1. Shane
    Shane avatar
    4 posts
    Member since:
    Jan 2010

    Posted 06 Jun 2012 Link to this post

    Hi,

    The documentation and demos don't seem to show much in the way of client-side functionality is this true or can you supply more information?

    Essentially I'm looking for a control that can support a multi-level hierarchy where nodes can be dragged on or off the chart. Therefore lets say you have a list of people down one side and you wish to organise them by dragging and dropping them onto the OrgChart. From the looks of it I can't see any client-side functionality for creating/removing nodes. Do you think the functionality I ask is possible to implement (or extend) with this control?

    Thanks,
    Shane
  2. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 11 Jun 2012 Link to this post

    Hello Shane,

    This is an interesting question. Thank you for asking it. So far there is not client Api so you can not create and remove nodes. If you want to rebind such functionality you will have to add/remove nodes to the DataSouce and rebind RadOrgChart.

    Greetings,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 18 Jun 2012 Link to this post

    Can I officially request this as a feature (PITS)?  Even if the client API has less functionality, the ability to add\remove on the client is HUGE
  5. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 21 Jun 2012 Link to this post

    Hello Steve,

     
    Thank you for sharing your opinion concerning this functionality.

     It have been discussed once again with our team and an implementation of such functionality was put on hold for the moment because RadOrgChart is designed always to represent some items or groups of a DataSource and that is why at each crud operation made the DataBase should be updated and RadOrgChart- rebound. In this aspect if a node is added or removed from the client side after a post back the change will be lost. 

    Hope this will explain the issue.

    Kind regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 21 Jun 2012 Link to this post

    Can I respectfully disagree? :)

    Telerik shouldn't be telling us how we are to use the controls, you should be giving us feature rich controls which we can use however we want.  By this I mean, if I want the org chart to render out on the client, and add\remove things (on the client), it'll clearly be up to me to persist those back with $.ajax ...I would never expect you to! (thatd be crazy). 

    Common, it's 2012, we're moving to clientside functionality now, less reliance on the server.

    Now I can understand it's probably technically REALLY difficult to implement, so that's a perfectly good reason to not want to attempt it :)

    Steve
  7. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 26 Jun 2012 Link to this post

    Hello Steve,

     
    Thank you for sharing your thoughts and insisting on adding such functionality.

    We have thought over it once again and came to an idea for adding client functionality for add,remove Nodes and GroupItems in the future. A client-side event(like "nodeAdded" for example) will be fired in order to allow immediate update of the DataSource. Otherwise after a postback all the changes will be lost because RadOrgChart does not support automatic updates of the underlying DataSource.

     I have created a PITS item where you can vote for this issue and follow its progress.

    Kind Regards,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 26 Jun 2012 Link to this post

    Beauty thanks!

    I'll be glad to update the DS myself, just (like you said) let me hook into an event :)
  9. Vijay
    Vijay avatar
    2 posts
    Member since:
    Jun 2014

    Posted 01 Jul 2014 Link to this post

    Hello,

    Is client side programming feature is available now with latest version? We are planning to use this tool but post back for every operation seems to be a limitation.
  10. Vinh
    Vinh avatar
    2 posts
    Member since:
    May 2014

    Posted 14 Oct 2015 Link to this post

    Sad to see such limitations on orgchart - so little client side api.
  11. Vinh
    Vinh avatar
    2 posts
    Member since:
    May 2014

    Posted 15 Oct 2015 Link to this post

    For those seeking rich,well-documented client api, please use google charts - it's FREE!

    https://developers.google.com/chart/interactive/docs/

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017