An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

0
votes
0answers
8 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
20 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 ...
0
votes
1answer
313 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 ajax toolkit slider control for some reason i wanted to override following method of slider ...
1
vote
1answer
25 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
23 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 - ...
1
vote
1answer
364 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" ...
0
votes
1answer
338 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
1answer
352 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
75 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
43 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
130 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
283 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
51 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
109 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
113 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
51 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
30 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 ...
6
votes
3answers
3k 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 ...
1
vote
3answers
672 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
617 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
112 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
266 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
93 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
636 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
78 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
672 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
700 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
48 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
147 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
36 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. ...
1
vote
1answer
814 views

Call WebMethod from JS in Visual web Part

I have ASP.NET web app that call some WebMethod from javascipt and fills textboxes. This is not all code, just example codesnippet function dataApp(text) { var loc = window.location.href; ...
0
votes
0answers
353 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
0answers
541 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
60 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 ...
0
votes
1answer
153 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 ...
1
vote
0answers
374 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
82 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 ...
3
votes
1answer
804 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
41 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
106 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: ...
4
votes
3answers
538 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
448 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
79 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
380 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 ...
1
vote
1answer
1k 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
59 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
2k 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
1k 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
380 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
262 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 ...