An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

0
votes
0answers
14 views

UpdatePanel not working inside Parent GridView ItemTemplate

There is a SharePoint 2013 Visual Web Part in our project. It has 4 nested GridViews together. On click of one Image button 3 grids will get expand. Population is also coded on click of that image ...
0
votes
1answer
457 views

Unexpected System.InvalidOperationException: The Visible property cannot be set on Web Part

I am trying to find the cause of the problem described in my previous question where controls on UpdatePanels are not functioning properly. Strangely, this is only happening on intranet clients ...
0
votes
1answer
32 views

How to access the content of HTTP page from HTTPS page?

I am currently making a sharepoint 2013 app on Indian railways, in this app I am accessing railways api which is on HTTP site and my code is on HTTPS site, which is office 365 online site. Since I am ...
1
vote
2answers
404 views

Ajax web service call not working in chrome browser

Can any point me to the error am doing in this block of code. This is working fine in Internet Explorer and Firefox but not in Chrome. Chrome does not return the result. function ...
0
votes
1answer
46 views

Loop though subsites and get all Property Bags - jQuery deferred issue

I'm trying to loop through all subsites under a site collection, get a Property Bag per site and push all the gathered results into an array. I'm having trouble checking if all the jQuery promises ...
2
votes
0answers
26 views

Get distinct values via mechanism used when clicking “Show Filter Choices” on a Sharepoint list using Javascript

As many other people on this site seem to need, I'd like to get an array (or equivalent) of the distinct values in a field for a list. The canonical way of doing this is to retrieve the entire field ...
2
votes
1answer
485 views

Update Panel not working in Firefox 2013

Update Panel is not working in SharePoint 2013. It is working in SP2010. In Internet Explorer, it is working fine but in Firefox, the page is refreshed.
1
vote
2answers
373 views

How to update 'asynchronous update' enabled listview programatically using javascript

I'm have a page in which one custom visual webpart and one listview webpart. I've have some custom checkboxes and dropdowns in my visual webpart, I'm making an ajax request and when i select the ...
1
vote
0answers
222 views

Updatepanel with ajaxcontroltoolkit postback issue on Sharepoint 2013

We have an custom web part that stores some information in the view state, and uses Update Panels. We have rare, intermittent bug that occurs in SharePoint 2013 only whereby sometimes, after button ...
1
vote
2answers
427 views

SharePoint 2010 web service - GetListItems not working in Chrome & firefox

function GetListItems() { var soapEnv = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" + ...
1
vote
2answers
64 views

If I have several items' IDs, how can I use that to retrieve a specific field value?

I have used (in a for loop): var itm = mylist.getItemById(id); I tried using context.executeQueryAsync , but I read that I can't use this to store or return global variables. The only examples I ...
2
votes
1answer
125 views

Help with getting the value of a look up field

Currently, I am using an ajax request to access the list items. The fields that are not lookups come as expected but the lookup fields come across as an ID of the object that corresponds to its ...
0
votes
1answer
27 views

Assign Meta-Data to Doc-Lib-Item with Rest in a ajax chain

i developed a custom Upload-Form to be able to upload a local file and pre-populate Metadata Fields at once. So the file will be uploaded to a document library and specific meta data fields will be ...
1
vote
1answer
38 views

Can't sync SIP Address, can't query it in search even when added manually

Issue 1 I'm trying to pull back a user's SIP address using the search service. I have this manually entered for the time being in a particular profile. My query: $.ajax({ url: ...
5
votes
3answers
2k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
4
votes
3answers
207 views

SharePoint REST API call with more than 500 rows

I have an AJAX call querying the SharePoint REST API which will return more than 500 rows: $.ajax( { url: _spPageContextInfo.webAbsoluteUrl + ...
1
vote
2answers
384 views

Force on-demand DVWP async refresh

I am writing an application that allows users to enrol in something. One web part displays a view of the event calendar and has a button on each event that the user clicks to enrol in the event. A ...
0
votes
1answer
55 views

Querying SharePoint search for all departments with REST API

I currently have an ajax request set up in my javascript to call the search API but this only gives me departments matching whatever I input for query: $.ajax( { url: ...
0
votes
4answers
359 views

Javascript error on sharepoint page with search webpart and User Control containing UpdatePanel

I've been trying to find a cause for this error for some time to no avail... We have a SharePoint 2007 site heavily customized in terms of look and feel. In the master page a user control has been ...
0
votes
0answers
68 views

AJAX options missing from listview web part properties in Sharepoint 2010

I'm trying to figure out why certain listview web parts are missing the AJAX options in their properties. The only difference I can think of is that I exported the bigger lists via Access 2007 while I ...
1
vote
1answer
206 views

JavaScript: How to reuse the “Working on it…” pop in

Sharepoint 2013: In have custom JavaScript code that makes Ajax calls. While loading I'd like to show Sharepoint's loading pop in: That is the one that greys out the underlying page and centers a ...
0
votes
0answers
49 views

Retrieve Profile Picture with REST

Hi i would like to show the profile pictures of the user that have created the item in a list, here is my code: <script type="text/javascript"> $(document).ready(function() { var ...
2
votes
1answer
1k views

Partial postback sharepoint webpart

I am trying to add update panel to my sharepoint sitepage below: I am getting the error : Failed to load viewstate. The control tree into which viewstate is being loaded must match the control ...
1
vote
1answer
449 views

Using ASP.NET UpdatePanel in custom webpart

I've received the request to add AJAX functionality to an existing custom visual webpart in SP2013 (more precisely: partial refresh of the webpart after clicking a link inside the webpart without ...
2
votes
4answers
370 views

Why doesn't jQuery execute in a DataViewWebPart with asynchronous load enabled?

The jQuery scripts I have in a DVWP do not get executed when I enable Asychronous Load in the Ajax Options of the DVWP. They do execute when I disable Asychronous Load though. Any thoughts on this? A ...
1
vote
2answers
147 views

“Popular Items” web part causing Sys.WebForms.PageRequestManagerParserErrorException:

We have recently migrated from SharePoint 2010 to 2013. In our site we have the registration control with ajax update panel which is working fine in all the pages other than home. After analysis, I ...
0
votes
0answers
29 views

Process Document from SharePoint 2013 Online App Host Site Externally

I am attempting to create a SharePoint 2013 Online App that will process documents stored on the host site collection. I'm able to use jQuery ajax to retrieve a file from the host site collection and ...
0
votes
1answer
123 views

How to get the name from a user id

I query a list via jQuery (on the RSS presentation). The content type has one field that is used for a responsible. In the XML returned, only the User ID is supplied. How can I get the name of that ...
0
votes
0answers
34 views

Getting updated node information after AJAX call

I am trying to get a list of html elements using jQuery on a Calendar view page. However, since calendar can change months, weeks, etc. asynchronously, how do I get the up-to-date information using ...
2
votes
1answer
163 views

Safari web browser will NOT perform Asynchronous Automatic Refresh. Rather it will do a full page reload

I have added an announcement web App, to SP2013 my team site, and for the App part Ajax option I enabled the following:- Enable Asynchronous Update Show Manual Refresh Button Enable Asynchronous ...
0
votes
1answer
146 views

External ajax request / json in sharepoint app

I'm trying to create a sharepoint app that gets and use json data generated on another web site / web application through an ajax request. Let's say the JSON data I want to get from the other website ...
0
votes
0answers
89 views

consuming WCF web service from client side in SharePoint 2010 Visual Web Part Sandbox Solution

I have a visual web part Sandbox solution. I need to attach an external WCF web service in order to submit data to database using the custom form I have created. Is there a way I can attach web ...
1
vote
1answer
2k views

Custom JSLINK rendering template - how do you get ajax paging working?

So I followed this post to implement paging in my custom JSLINK rendering template, and got that working great. The only downside to it is that the paging actions are full page post-backs whereas on ...
1
vote
0answers
26 views

Asynchronous Automatic Refresh for my App part, is doing a full reload (synchronous page reload) [duplicate]

I have an announcement web App part, And I defined to have an asynchronous automatic refresh for my App Part each 60 seconds (as shown in the picture). But I have noted that on Firefox, chrome and ...
0
votes
0answers
102 views

Retrieving specific div from a wiki page on ajax call

I am trying to retrieve a specific div content through ajax call from a wiki page and then I need to use it in a web part page. The problem I am facing is that if I use this $.ajax({ ...
0
votes
0answers
684 views

Replacing content of a div using Ajax callback function in a webpart page

In a sharePoint web part, I have a div for which I am loading content dynamically by doing something like $("#divID1").load('/sites/somesite/WikiPages/abc.aspx.ms-rte-layoutszone-inner.html(); to ...
0
votes
0answers
57 views

Using ajax to load SharePoint webparts

We are using Ajax to load webparts in aspx pages. But there are some buttons in webparts which causes postback. what's the best way to prevent those post backs so that whole page does not load all ...
1
vote
0answers
164 views

What's wrong with the manual refresh web part option?

I have a task list in SharePoint 2013 that I have enabled the AJAX manual refresh button for. This option can be found by editing the list web part, then going to AJAX options and then ticking "Show ...
0
votes
0answers
171 views

Problem with disabled ribbon items when Asynchronous Update is enabled

I'm using SharePoint 2010. When "Asynchronous update" and "Manual Refresh" are enabled on an XsltListViewWebPart from a view, after clicking on the Refresh icon/button (or going through the pages of ...
0
votes
1answer
236 views

In Chrome, Async Postbacks Fail

In Google Chrome, inside of an Update Panel, the first async postback succeeds, but the second silently fails. The issue is discussed many places: ...
0
votes
1answer
30 views

asp:timer object renders as <span>

I'm creating a custom web part in 2010 that I'm attempting to render asynchronously. To do this, most everything is wrapped inside of an UpdatePanel that we've set the UpdateMode to "Conditional". ...
0
votes
1answer
563 views

Jquery is not working on sharepoint date time control

Hi In my application page i have a sharepoint datetime control. I am using jquery on text changed event to calculate the number of days and displaying in a text box. Now i want to fire the same event ...
0
votes
0answers
72 views

SP2007: Parsing GetUserCollectionFromSite response

I'm writing a javaScript that has the person name and calls GetUserCollectionFromSite to fetch the user's account name (DOMANIN\loginID) from the xml. It doesn't read the data in xml using ...
0
votes
1answer
113 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
0
votes
0answers
108 views

Getting error when sending a SOAP request to the search.asmx page using SPServices

Im using SP2010 and using spservices library, I want to make a search request to the search request.asmx page. When I try my post: <soap:Envelope ...
0
votes
0answers
199 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
1
vote
1answer
119 views

sharepoint 2010 - How to get document ID using spservices sql search query?

Using spservices to make search requests, I am building the query like this: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
1
vote
1answer
970 views

How to get results from listdata.svc from a certain folder

I'm looking to get a certain set of data from my list using the listdata.svc service with AJAX. The problem is inside the list I have folders, and I'd like to only receive elements inside a certain ...
0
votes
0answers
73 views

SP2007: Upload a file to data view of document library using JavaScript

I'm new to SharePoint 2007 and looking if someone can help me on this. I have a data view that displays basically documents in a library. I was asked to add an "upload file" functionality using ...
0
votes
1answer
144 views

sharepoint ajax postback randomly fails in chrome

I have a page that works fine in IE, Firefox and Safari but the postback intermittently will not work in Chrome. Here is information for the page: Sharepoint 2010 Custom webpart running in a webpart ...