An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

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
258 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 ...
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 ...
-1
votes
2answers
833 views

$.ajax url does not find sharepoint code behind function [closed]

I have been searching through old threads but have not found any with them same issue. My $.ajax is working it just does not find/return the correct function. I am using.. var ...
1
vote
0answers
157 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
1answer
151 views

SharePoint DateTime format as DD-MMM-YYYY in List NewForm

How to bring the DateTime format as DD-MMM-YYYY in SharePoint list NewForm.aspx?
1
vote
1answer
782 views

JQuery Ajax Post method not working with Sharepoint 2010 URL

I'm trying to send some data to an aspx page by clickin on button but it doesn't seem to work by using jQuery Ajax Post ,however if I just chage the ajax type to GET it works fine ! but I do really ...
1
vote
0answers
76 views

Sharepoint Webaprt

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

share point Page layout AJAX

I have the follwing code $.ajax({ type: "POST", url: "/_Catalogs/MasterPage/GDetail.aspx/GetFundURL", data: "{'cusip': '" +$('#<%= ddlShareClasses.ClientID ...
1
vote
0answers
104 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 ...
0
votes
0answers
97 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 ...
5
votes
2answers
1k views

Sharepoint 2010 Webpart Ajax not working

I have a custom webpart within Sharepoint and am trying to apply some ajax to the webpart. The same code works within a .net web application but not within a sharepoint web part. The code from the ...
0
votes
2answers
280 views

Change sharepoint top navigation menu links with AJAX

Suppose that i have a 4-level deep sharepoint top navigation menu, and i want to replace the menu item links in second and third level with # (href='#') How can i achieve this? With ajax? And how? ...
0
votes
1answer
309 views

Lookup column details are not coming in the result xml

I am trying to get the details of the list in sharepoint by using the jquery in content editor webpart. I created one .js file and I made a link in the content editor webpart. This is working awesome. ...
0
votes
1answer
285 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
404 views

sharepoint 2010 - dynamically load web part (in web part zone) using jquery/ajax from link/button

i would like to have a link, when clicked loads a web part (for example list view web part) that retains its user config. therefore it needs to be a in a web part zone, personalizable and retain its ...
0
votes
2answers
287 views

sharepoint sandboxed solution make ajax post call

I have created a sandboxed solution for SharePoint 2010 which contains sandboxed visual webpart. I need to make ajax POST call and pass the entities from javascript. can you tell me how can I ...
1
vote
1answer
321 views

Error 401 after idle time then AJAX request however still returns results

I have a ashx handler in "_layouts/ihandler/.." in which I make AJAX requests for an in page search. If my page stands still for to long the requests change from 200 to 401 return status, this is ...
1
vote
0answers
299 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 ...
3
votes
5answers
424 views

Proxy page for Office 365

I am working on an Office 365 (SharePoint Online) website, and I am looking for a way to retrieve data (xml, json) from remote sites that don't necessarily support JSON-P or CORS. I could use an XML ...
1
vote
2answers
307 views

How do I bind JavaScript call to GetQuerySuggestion to SearchBoxEx control

Resolved below Well the title says most of it but here is the background: On the search results page, when you type in the search box it does some soap calls in JavaScript too "GetQuerySuggestion". ...
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
2answers
1k views

Adding the Ajax Control Toolkit to a SharePoint project

I am unable to get the List Search Extender from the Ajax Control Toolkit to work correctly. After inserting my WebPart to the page, I get the error: "Could not load file or assembly ...
0
votes
0answers
133 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 ...
0
votes
2answers
184 views

jquery ajax error on MOSS 2007

I'm getting this error on my sharepoint web application (I'm calling my own web method through ajax on my own user control) while accessing it from another computer and I'm getting this error: ...
0
votes
1answer
243 views

Ajax or jquery enabled Tab Zone Webpart with SourceCode

I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again. We are ...
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 ...
0
votes
2answers
3k views

The control with ID 'XXXXX' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it

I am getting the layout issue for calendar webpart in my page . with the error message : The control with ID 'XXXXX' requires a ScriptManager on the page. The ScriptManager must appear before any ...
0
votes
3answers
888 views

Cant load AjaxControlToolkit despite being deployed to GAC

I want to use AjaxControlToolkit on my application pages. I created new project where I added AjaxControlToolkit as safe control. When I deploy this project (package), I can see AjaxControlToolkit in ...
0
votes
2answers
354 views

Is an UpdatePanel a bad decision?

After talking to a few people, and asking around here, I feel like the only way to securely do calls asynchronously is with an updatepanel. (Context: Creating an Upvote/Downvote system on SharePoint ...
4
votes
3answers
1k views

I'm trying to understang how AJAX and Sharepoint play together

I'm about to embark on a project whose goal is to take a Sharepoint wiki of documentation, and add an index as the left nav (right now, there's only search). As users click on an index item, the right ...
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 ...
1
vote
2answers
558 views

Many 'group by' webparts intermittent loading

I have several list webparts (7-8) that all have documents that are "grouped by" a single field. The problem I'm having is that the expand button will sit at "Loading" and won't load! Some load ...
1
vote
1answer
1k views

Using AjaxControlToolkit in SharePoint: Multiple instances of ScriptManagers?

I'm trying to use AjaxControlToolkit controls (specifically CalendarExtender and ComboBox), but am having problems with the ScriptManager control. I've got the ToolkitScriptManager at the top of the ...
3
votes
1answer
207 views

Delete List Item with Ajax

I've been trying a few options out, but I'm finding good SharePoint AJAX guides to either not exist or be hard to find. Very simple, I am rendering list items with a repeater, and I want to be able ...
1
vote
1answer
1k views

AJAX in Sharepoint 2010 Web Parts

I want to use HighCharts in Sharepoint Web Parts. So, I put necessary JS files in 14 hive folder and everything works fine. This is my ScriptLink Tag: <SharePoint:ScriptLink ID="ScriptLink1" ...
0
votes
1answer
2k views

Getting list length from caml query

I am currently trying to determine the length of a list that is located on my SharePoint site. I am using a Caml query to retrieve the items in my list, but I can not figure out how to get the length ...
0
votes
1answer
487 views

Soap, Jquery, Ajax and an Error

Ok, here is what I am trying to do. I have a list on another site. I have successfully connected to the site and pulled in the list as a dropdown using soap, ajax and jquery. However, once I try ...
0
votes
4answers
741 views

Fetch SPList items from another siteCollection - problem with xml

Trying to fetch all list items from a list located in a different site collection and traverse the list items, reading some of their column values. I've taken some code from an example snippet that ...
1
vote
1answer
2k views

SharePoint 2010 Lookup Column - Autofill with the same Item

I am struggling with some issue. I need to automatically fill the value of a field (in Edit or New.aspx) based on other lookup column. Now I have list Lookup with Name and Surname columns In the ...
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
2answers
3k views

SharePoint Cross Domain Request with jQuery

I've been going around in circles for a couple hours now to no avail. I had thought that what I wanted to do was not possible but some threads that I was reading on SO were saying otherwise so I ...
3
votes
2answers
723 views

ScriptManager ServiceReference in SharePoint

I have always used jQuery.ajax to retrieve data from listdata.svc or lists.asmx in SharePoint and from some custom web services. Now I will try Microsoft Ajax Library and especially ServiceReference ...
3
votes
1answer
278 views

Adding Controls to a Bing Map Webpart for SP 2010

I am using this WebPart to display Bing Maps, I did lots of research to find out, how can I put controls on it as one shown in picture in link but didn;t find any hint except AJAX might help, can ...
2
votes
3answers
2k views

Why web parts are loading sequentially?

In our home page we have multiple web parts that get the data from different webservices or from a recursive search in some lists in the site collection. We detected that all this calls were too ...
-1
votes
1answer
218 views

picture load asynchronously

I have a picture that is larger than the viewable area... and I need to add a scrollbar to the picture so that I can load the picture as per the scrollbar. I need to show the picture in a visual web ...
0
votes
2answers
911 views

SP 2010 - Search Core Results Webpart Ajax Options not working?

I'm trying to enable ajax on search core results webpart so that the pagination can be realized in an asynchronous manner. But this is not working. Is this normal? Do you succeed to configure search ...
0
votes
2answers
1k views

Ajax Loader Image Won't Display in IE 8

I'm using the SPServices jQuery library to update a list which is working fine. note: This problem may have absolutely nothing to do with SPServices; I'll have to try using the jQuery ajax method ...
2
votes
2answers
4k views

UpdatePanel with SharePoint 2010 web part

UPDATE protected override void CreateChildControls() { if (!this._error) { try { base.CreateChildControls(); ...
5
votes
1answer
2k views

Fetch list of sites in site collection into jQuery

Is there a way to get the list of sites in the current site collection into jQuery as an array or other data structure? Thanks.