An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

0
votes
0answers
6 views

Update Panel not working in Sharepoint online sandbox solution

I have added a UpdatePanel on the webpart and then when I upload a .wsp to office 365 then & open the page(which contains this webpart) then error occur: Web Part Error: Sandboxed code execution ...
-2
votes
1answer
79 views

SharePoint WCF SOAP, Rest, AJAX [on hold]

I need to know the following things: How is SharePoint used with WCF, REST and SOAP.
1
vote
1answer
22 views

consuming external web services(https) in share point hosted apps resulting cross-domain issue

We are not able to consume external web services deployed in a separate domain from sharepoint hosted apps,using jquery ajax. Thanks in advance . Thanks, HARI
0
votes
1answer
2k views

Saving Page with WebPart error Invalid postback or callback argument

I'm using SharePoint 2010 Foundation with Visual Studio 2010 Ultimate. I developed a Web Part with extensive use of JavaScript and Ajax call. I deploy application by Visual Studio correctly, enable ...
0
votes
2answers
12 views

Ajax Odata 400 bad request

I get a 400 Bad Request from this code, hard to debug, what can the problem be? function saveSelectedAnswer(radioValue) { var requestUri = _spPageContextInfo.webAbsoluteUrl + ...
1
vote
2answers
48 views

How to use jQuery and OData to expand multi user field in SharePoint 2013?

I am using jQuery to query a Sharepoint 2013 list and expanding the AssignedTo field (which is a Person or Group field type) in order to get the user id. I was able to get the code working when the ...
0
votes
1answer
342 views

sys.extended.ui is null or not an object sharepoint

I'm working in SharePoint 2010 and using ajax toolkit 3.0.30930.28736 I'm using the ajax toolkit slider control. For some reason I wanted to override the following method of slider ...
0
votes
1answer
19 views

Ajax CAML Query 400 Bad Request

I get a 400 bad request with this ajax call, i tryied the caml query with caml designer and it should work. What is the problem? var soapEnv = "<soapenv:Envelope ...
2
votes
1answer
487 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
2answers
2k 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
1answer
423 views

enable ajax on listview web part added in feature upgrade

is there an option how to enable ajax functionality in listview web part type added by code? Iam facing problem where we added 2 list view web parts on the page and they behave really strange. I read ...
0
votes
0answers
41 views

How to properly cache, validate, refresh Access Tokens?

I'm a complete newbie to SharePoint Provider-Hosted Solutions and their authentication logic. My App is an ASP MVC Solution. I run many AJAX-Calls from Client-Scripts to my Controller to interact with ...
1
vote
1answer
441 views

Ajax Calendar Extender Position is not working in SharePoint Webpart

I am using Ajax Calendar Extender, but it is not pop up next to textbox, it is appearing int the middle of the page. Here is the code: <asp:TextBox ID="dtEnginerring" runat="server" ...
1
vote
3answers
153 views

Pulling user/group field data from SharePoint list using REST, jQuery, Knockout.js Sharepoint 2013

I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To", ...
7
votes
2answers
100 views

Verify SharePoint user in ajax request

Consider the following: A logged-in user visits a publishing page in a SharePoint Online environment. The page loads data from a service running on another server using an ajax request. In this ...
0
votes
1answer
85 views

Cascade drop down lists in SharePoint 2013 using jQuery, REST and AJAX

This is what I have so far: Loading the States in the State lists: var ItemStateDD, ItemCountyDD, ItemIDDD; $(document).ready(function () { //state populate $.ajax({ cache: false, ...
0
votes
0answers
16 views

Making ajax callback from custom field client-side code

I am creating a custom field for SharePoint 2013, following this (and similar) walkthroughs: http://msdn.microsoft.com/en-us/library/jj163799.aspx The field is just an extension of SPFieldText and I ...
1
vote
2answers
2k 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 ...
1
vote
1answer
78 views

Issue in REST call

I have two methods which will be call on bashed on condition Code: //Method to add item in TT items list. function addTTItemsList(url, listname, itemTitle, columnOrder, rowOrder, listName, ...
0
votes
0answers
18 views

User is logged/timed out, then performs an AJAX call. How can this be caught?

When a user is logged out in SharePoint, then tries to navigate to another page, they're redirected to the login page. However, when a user is logged out and does an AJAX call on the page, it seems to ...
0
votes
0answers
47 views

Ajax SharePoint Search Query - Filter Results based on Today's Date

I have an ajax call that is pulling back results. I would like to filter that call so that it only pulls back items that are greater than or equal to today's date. How can I do that? The ajax call is ...
1
vote
1answer
151 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
8
votes
3answers
4k 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 ...
0
votes
0answers
15 views

Exposing a backend c# field through Sharepoint webservices

I have some static fields which are found inside a singleton which i would like to expose to the Sharepoint webservices such that it would be possible to get the values of these fields through ...
0
votes
1answer
521 views

SharePoint 2013 REST api to update list item- Uncaught ReferenceError: etag is not defined

I try to update my sharepoint list using REST api. But following code throws exception in browser "Uncaught ReferenceError: etag is not defined " Can someone help to resolve this issue? // update an ...
0
votes
0answers
100 views

How to implement Ajax Control Toolkit 4.5 in SP2013

Some informations: -> SharePoint: SharePoint Enterprise 2013; -> Tools: Visual Studio Premium 2012; -> .NET Framework: 4.5; -> AJAX: Ajax Control Toolkit 4.5. I want to develop a Visual WebPart ...
0
votes
1answer
304 views

get data by id from other page using jquery ajax on sharepoint 2010

I'm trying to retrieve specific data value by id from other page on my site by using query ajax. by debugging on Chrome canary i have seen that I'm getting all the page data on dataAll ,and than ...
1
vote
1answer
84 views

Is there an “onLoad” equivalent for ajax web parts?

I need to run some jQuery (some formatting clean-up) against the output of an OOTB list which is loaded and refreshed with ajax. The problem is that the list doesn't render until well after jQuery's ...
0
votes
1answer
29 views

Show sharepoint data on webpage

I am missing something really basic! I have set up a Office 356 SharePoint account and uploaded/linked a simple Access table to SharePoint site collection. I created the website in Dreamweaver - ...
0
votes
1answer
210 views

Refreshing a Web Part Without a Post back in SharePoint 2013

I have a list with many columns in SharePoint 2013, I used SharePoint designer 2013 for displaying items , I have tow web parts in a page that I created in SharePoint designer 2013, one web part ...
1
vote
0answers
126 views

How can I display user picture from sharepoint in datatables

Sorry if this is stupid easy but I'm trying to display user pictures from sharepoint in datatables. I can see the link in JSON data coming back from the ajax query in the "Picture" field so I added: ...
0
votes
0answers
180 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 ...
0
votes
0answers
347 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
2k views

how to get a <td> value after clicking the row [closed]

I want to get the third column in a selected row. my jquery is $(document).ready(function() { $(function() { $("#dialog").dialog({ autoOpen: false }); ...
2
votes
2answers
703 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
3
votes
1answer
324 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 ...
0
votes
1answer
153 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
0answers
74 views

Ajax ModalPopUpExtender issue with Custom Masterpage

I have created a Ajax ModalPopUpExtender which works fine with the default master page of Sharepoint 2013. But when I set the custom master page I am not able to see the dynamic values present inside ...
1
vote
3answers
1k 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/'>" + ...
0
votes
1answer
707 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
2answers
181 views

Use Google Visualization with Datatables plugin and which get data from REST

I have this code that get the data from SharePoint using ajax, and the datatable plugin creates the table. function LoadAIP(state){ var call = $.ajax({ ...
0
votes
3answers
481 views

Using REST call and Datatables plugin to retrieve SharePoint Date field

I'm having an issue with a REST call that's giving me some headaches. This is the code I'm using: function LoadAIP(state) { var call = $.ajax({ url: "https://xxxx/xxxx/_vti_bin/listdata.svc/AIPList? ...
4
votes
1answer
138 views

SharePoint 2010 - Using REST to validate unique list item

I'm attempting to validate that a duplicate combination of staff (person/group field) + parent ID (lookup field) does not already exist in a list. Below you can see that I've added an ajax call to the ...
1
vote
2answers
855 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
183 views

Javascript/Ajax errors on custom master page

I have a custom master page using a few JS utilities like jQuery and skel.js that has been experiencing some errors whenever the page loads. The errors are transparent to the user, but show up in dev ...
2
votes
1answer
854 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
1k 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 ...
0
votes
1answer
83 views

Cascading dropdown list using Ajax call

I want a cascading dropdown list in a SharePoint visual web part. How can i do this? Any way to use Ajax? Need an example with code.
2
votes
1answer
238 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
0answers
44 views

Button click not triggering immediately inside ajax panel

I am using a ajax panel in a user control which has a form with two button inside a content template, progress panel and triggers. I'm loading the form on 'Ontick' event of a timer after 3 secs. ...