An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

8
votes
3answers
116 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
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 + ...
2
votes
1answer
495 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: ...
1
vote
1answer
25 views

Rich Text field duplicated on each partial postback

This problem is a bit tricky to explain, I'll try to make myself clear... I have a custom list which includes different field types including a Rich Text field and a custom field type called ...
1
vote
1answer
159 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
1
vote
1answer
234 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
445 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
20 views

Uncaught Sys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null. Parameter name: panelsCreated[1]

I am using JavaScript to pull events for the current day of the week. I am leveraging SP.Services to do this. The problem I am having seems to be the same that a lot of others have experienced ...
0
votes
1answer
30 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
155 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
1answer
190 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 ...
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.
0
votes
1answer
55 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 ...
0
votes
1answer
42 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
188 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
1answer
264 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 ...
0
votes
1answer
429 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
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 ...
1
vote
0answers
130 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: ...
1
vote
0answers
477 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
0answers
253 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 ...
1
vote
0answers
185 views

update xml file within doc library using jquery ajax

I can read values from xml files that are posted within a document library using jquery ajax, but can I update those values then save/post them back into the document. i.e. can I update the contents ...
1
vote
0answers
79 views

Sharepoint Webaprt

How to call sharepoint webpart usercontrol method in AJAX $.ajax({ type: "POST", url: "FundUserRegister2.asmx\validateEmail", data: "{'strMailID': '" ...
1
vote
0answers
118 views

How to Reconcile External Data and Multiple Values for a List Item?

I am currently developing a solution that requires me to integrate a SharePoint 2010 list (generic list type) with items from a SQL Server database. In addition to this hypothetical field being ...
1
vote
0answers
321 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
0
votes
0answers
43 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 ...
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 ...
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
51 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 ...
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
0answers
108 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
0answers
75 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 ...
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. ...
0
votes
0answers
789 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
0answers
182 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
67 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
921 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
349 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/. ...
0
votes
0answers
88 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
0answers
117 views

Update WebPart MenuItem/Verb from Client Side

Here is the scenario - I have a custom webpart where I added one custom menuitem with client side handler, now my requirement is when I click on the menuitem some text should be shown, for example ...
0
votes
0answers
142 views

Webpart with update panel is deleting the text in IE's tab on every request

I have a web part that display information to the user. It lives in the pages: /Pages/default.aspx The web part was working fine until I wrapped the grid in an update panel. Now when you sort or ...