An acronym for Asynchronous JavaScript and XML

learn more… | top users | synonyms

1
vote
1answer
173 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 += ...
0
votes
0answers
80 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
209 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 ...
1
vote
1answer
360 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
1answer
218 views

UpdatePanel - Dropdownlist in Webpart

I want to customize the SearchBoxEx-Control. So I made a Webpart which inherits from SearchBoxEx. In the CreateChildControls I put an updatepanel and two dropdownlists. Every time I select something ...
1
vote
3answers
664 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
84 views

2;# 5;# Web services returns odd characters

When I use SPServices to query a list it brings back some of the columns with odd prefixes and encoded characters. How can I get rid of the Oddball characters? I recognize the @amp; as a HTML ...
0
votes
2answers
652 views

Autocomplete Textbox from Active Directory Users

Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles ...
1
vote
2answers
630 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
337 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 ...
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
votes
2answers
1k 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
175 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
172 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
896 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
78 views

Sharepoint Webaprt

How to call sharepoint webpart usercontrol method in AJAX $.ajax({ type: "POST", url: "FundUserRegister2.asmx\validateEmail", data: "{'strMailID': '" ...
1
vote
1answer
94 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
110 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
109 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
2k 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
289 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
357 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
312 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
460 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
317 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
403 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
312 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
462 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
333 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
1k 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 ...
1
vote
2answers
2k 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
138 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
220 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
257 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
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 ...
0
votes
2answers
4k 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
1k 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
384 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
446 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
702 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
223 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
526 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
801 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
3k 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
610 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 ...