7
votes

I have a really interesting problem. We have a site created with sharepoint 2013. We use Windows - NTLM authentication.

In a page includes custom discussionListWebPart, we have a filter button which use javascript doPostBack function with webpart ClientID and filter parameters.

exp: __doPostBack("ClientID","params");

When we do filter, just discussion list webpart do post back and no any request for the any part of Page. That means the page does not reload. This is what we expected.

It works fine in the IE 10 and chrome. Whatsmore, we have problem when we open this page in any ipad. The filter button which we use __doPostBack reloads the page. Also have problem in safari on desktop.

--I controlled the IIS (8) windows authentication providers, there is just NTLM (No negatiate).

-- I found another discussion iOS 8 / Safari 8 not working with ASP.NET AJAX-Extensions.

When I open the site in safari everytime it asks for user credentials. If I say remember password doPostBack works fine.

But I can not do this in ipad. So The problem still exists.

I dont see any console error in dvl tool. But It does not do postBack. Just refresh the page.

Please help to solve this problem. Thanks.

1

1 Answers

0
votes

I think your problem isn't with the postback, I think the problem is iOS has limited (no?) support for NTLM. A quick search shows me a whole mess of people who have encountered this issue and addressed it in different ways:

  1. Extend your SharePoint web application into an alternate zone
  2. Write an iOS app to handle the authentication manually for you
  3. Change the authentication on the SharePoint site to ADFS or something more iOS-friendly

None of these are the silver bullet your looking for, and they all involve you changing much more than just the code on your web site, but hopefully it'll point you in the right direction in the event there's no "easy button."

Edit: Grammar