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

How can I get the OrgChart - WCF Service example?

3 Answers 51 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Mihail
Top achievements
Rank 1
Mihail asked on 10 Feb 2014, 08:09 AM
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.

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 10 Feb 2014, 02:15 PM
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.
0
Mihail
Top achievements
Rank 1
answered on 10 Feb 2014, 06:01 PM
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?
0
Plamen
Telerik team
answered on 13 Feb 2014, 03:02 PM
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.
Tags
OrgChart
Asked by
Mihail
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Mihail
Top achievements
Rank 1
Share this question
or