How can I get the OrgChart - WCF Service example?

4 posts, 0 answers
  1. Mihail
    Mihail avatar
    2 posts
    Member since:
    Feb 2014

    Posted 10 Feb 2014 Link to this post

    Hello,

    where can I find a working example of OrgChart - WCF Service demo to download?
    At the web site there are all the source code files provied, but I colund't find web.config.
    I reproduced the example on my computer, but the request to OrgChartNodeDataService.svc/LoadData always ends up with error 400 (Bad Request)
    I think I missed something in web.config. So I would better examine this working example a VS project on my computer if possible. 

    Thanks.
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 10 Feb 2014 Link to this post

    Hello Mihail,

    I am attaching a sample web page where the described functionality is implemented. 

    Hope this will be helpful.

    Regards,
    Plamen
    Telerik
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mihail
    Mihail avatar
    2 posts
    Member since:
    Feb 2014

    Posted 10 Feb 2014 in reply to Plamen Link to this post

    Oh, that's perfect, thank you Plamen!
    The only question is  that my WCF Service should reside inside a SharePoint Farm (in _vti_bin), which will allow a sharepoint user to see only the departmens he or she has permission to see. However, it requires setting up Impersonation option on the client (like
    client.ClientCredentials.Windows.AllowedImpersonationLevel =
    System.Security.Principal.TokenImpersonationLevel.Impersonation
    ;).


    Is there any way to do that with Telerik?
  5. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 13 Feb 2014 Link to this post

    Hi Mihail,

    There is not specific inbuilt functionality for such scenario. The only workaround I could think of for such scenario is to use the OnClientGroupPopulating or OnClientNodePopulating to cancel some loading of nodes or groups or to use the OnClientGroupPopulated or OnClientNodePopulated events and hide some of the loaded nodes after they are loaded.

    Hope this will be helpful.

    Regards,
    Plamen
    Telerik
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top