An acronym for Asynchronous JavaScript and XML
6
votes
3answers
2k views
How to asynchronously load and refresh a Visual Web Part?
We have developed a Visual Web Part for Sharepoint 2010 with Visual Studio 2010 (Visual Web Part project template).
The web part loads some stuff and shows a list of items. It takes some seconds to ...
5
votes
1answer
1k 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.
4
votes
3answers
743 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 ...
4
votes
2answers
667 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 ...
3
votes
1answer
171 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 ...
3
votes
5answers
325 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 ...
3
votes
2answers
562 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
259 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
Problem with SPGridView and SPGridViewRow.FindControl
In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code.
The columns for the gridview are created mostly as ...
2
votes
2answers
3k views
UpdatePanel with SharePoint 2010 web part
UPDATE
protected override void CreateChildControls()
{
if (!this._error)
{
try
{
base.CreateChildControls();
...
2
votes
3answers
337 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 ...
2
votes
3answers
438 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 ...
2
votes
3answers
1k 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 ...
2
votes
2answers
190 views
SharePoint 2010: blocking the screen on load
We are hosting some SP2010 sites and some of our users are a little quick on the trigger and try to click on an order before the page is done loading, inadvertantly approving it by mistake. Repeated ...
2
votes
2answers
756 views
UpdateListItems won't let you reset field value to empty?
I've recently discovered that the Lists.asmx ignores your attempts to reset a field's value to empty string or null with Lists.UpdateListItems. Not a very well documented limitation discovered by ...
2
votes
2answers
588 views
InfoPath Pop-Up Window
I have a custom Web Part that displays information in an ASP.NET ListView. Upon clicking an item, I need to pop up an InfoPath form via AJAX to edit the item without leaving the page.
The ...
1
vote
1answer
930 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 ...
1
vote
4answers
1k views
Problem with HTTP handler in Sharepoint 2010
I'm developing a visual web part for Sharepoint 2010. This webpart needs to get some data via AJAX. So I went for the HTTP handler + jQuery solution posted here.
But I'm getting a problem when trying ...
1
vote
1answer
109 views
How to deploy SharePoint solutions using different versions of ajax extensions in a common SharePoint server?
We have a common SharePoint server which runs an internal SharePoint site. Our teams deploy their SharePoint products in the server and add it to our site. Some products user .net framework 2.0 and ...
1
vote
5answers
7k views
How to refresh a data view web part in place, without reloading the page?
I've used SharePoint designer to create a page with multiple data view web parts. I'd like to refresh one of the web parts (e.g., by clicking a "Refresh Data" button) to display the most current info ...
1
vote
2answers
32 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 ...
1
vote
2answers
190 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
178 views
Guidelines for rich UI?
Edit : actually, my current task is focused on the refactor of a webpart, but the question is in fact a general question : what are guidelines for "cool" SP UI. /Edit
I have to maintain a set of ...
1
vote
1answer
67 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
1answer
568 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
1answer
801 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" ...
1
vote
1answer
1k 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 ...
1
vote
1answer
624 views
How to make jQuery AJAX request with a HTTP Handler in SP10?
I'm developing a SP 2010 Visual Web Part that needs to load some data via AJAX.
I found this very helpful article but I'm having some doubts about it.
I have the Visual Web Part project, inside I ...
1
vote
1answer
401 views
send parameter to 2 webparts on the page, preferably with Ajax?
In SharePoint Server 2010, We have a List with items and their details. User profiles have an indexed field that contains items matching the list titles.
I want to display a dataview with just the ...
1
vote
4answers
2k views
AJAX ModalPopupExtender in SharePoint 2007 Web Part
I am trying to get an AJAX ModalPopupExtender to work in a SharePoint web part but I'm not having any luck at all.
I thought it might be something else in my web part causing it so I've created a ...
1
vote
1answer
48 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
50 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
2answers
183 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
117 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 ...
1
vote
0answers
90 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
106 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
0answers
60 views
Sharepoint Webaprt
How to call sharepoint webpart usercontrol method in AJAX
$.ajax({
type: "POST",
url: "FundUserRegister2.asmx\validateEmail",
data: "{'strMailID': '" ...
1
vote
0answers
77 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
1answer
262 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 ...
1
vote
0answers
237 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 ...
1
vote
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 ...
1
vote
1answer
256 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
227 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 ...
0
votes
2answers
284 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 ...
0
votes
1answer
173 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 ...
0
votes
3answers
494 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
1k 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
390 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
499 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 ...
0
votes
2answers
759 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 ...



