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

multiple treeviews calling to ntlm protected site

2 Answers 71 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Elizabeth
Top achievements
Rank 1
Elizabeth asked on 29 Apr 2014, 07:09 PM
I'm using multiple treeviews on a page, bound to WCF services on a NTLM authenticated website.  If more than a single treeview is requesting data to come from the webservice only the first works and the others immediately fail.  On the server side for some reason it's because the subsequent requests are coming in unauthenticated.  However if I put in a setTimeout()s on the extra treeviews so they load sequentially there's no errors.  Instead of relying on an uncertain setTimeout()s, is there any way to have a treeview retry it's dataload on failure, or do you have any ideas on how to get multiple simultaneous requests to NTLM authenticated wcf services to work?

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 30 Apr 2014, 10:04 AM
Hello Elizabeth,

While we don't have any insight on how to make simultaneous NTLM requests (we haven't deployed such apps), you can use the DataSource error event to re-fetch the data. Alternatively, you might think about providing a queue for the NTLM service requests (by using custom transport functions, not unlike the linked example).

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Elizabeth
Top achievements
Rank 1
answered on 30 Apr 2014, 02:37 PM
It turns out it was a strange firefox issue.  The site in IIS had anonymous authentication enabled in addition to windows authentication.  Once I turned it off and it was only authenticated users, it worked fine.  It turns out that on some requests firefox sent the request anonymously and some requests got sent authenticated.  So now I'm happily loading 4 treeviews from different json datasources on a page.
Tags
TreeView
Asked by
Elizabeth
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Elizabeth
Top achievements
Rank 1
Share this question
or