Tagged Questions
0
votes
0answers
8 views
SharePoint 2013 Partial Postback and add_endRequest
On my SharePoint search/results page I am trying to capture a partial post back by doing the following:
<script language='javascript'>
_spBodyOnLoadFunctionNames.push('bodyReady');
function ...
0
votes
0answers
13 views
Possible to load different things in context for sharepoint client object model code?
In my javascript (ecma/client object model) for sharepoint 2010, I am first making a request to get the current user name, then when that succeeds I then make another request to download items from a ...
1
vote
2answers
211 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/'>" +
...
2
votes
3answers
501 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
1answer
107 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?
0
votes
0answers
186 views
Download File from client side by using Javascript api for sharepoint
I want to download a file by going through .aspx page and which returns a file like this
Response.Clear();
string content = Request.QueryString["param1"]+Request.QueryString["param2"]
...
0
votes
0answers
91 views
UpdateListItems ajax call is successful but does not return created item
I want to create a new list item and store the created item's ID in a variable for later usage.
So I'm using UpdateListItems and making an ajax call and then in the success callbakc function ( ...
0
votes
0answers
53 views
How can I manipulate sharepoint ajax calls into the pipe line?
I built a SP server code that , (I don't know why) make some trouble into the client side code.
When the page is loaded for the first time, I notice that every single item in the page, they are not ...
0
votes
0answers
40 views
Cancel Ajax Request in Webparts
In my visual web parts used in modal dialog, I have used a UpdatePanel and added an initializeRequest function and an endRequest function like following:
<script type="text/javascript">
...
0
votes
0answers
70 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
33 views
JSGrid: How to merge two cells in one in a specific row?
How can I merge two cells in one for a specific row in a JSGrid?
Cheers
1
vote
0answers
239 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
133 views
JSGRID: How can I show a loading message while an operation is pending?
Hello SharePoint people,
I have created a JSGrid on a SP project via the 'How to: Write Back Changes from the JS Grid Control' tutorial from the msdn website, and I'd like to disable the grid when ...
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
4answers
506 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 ...
3
votes
2answers
568 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 ...
2
votes
2answers
194 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 ...
1
vote
1answer
179 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 ...
0
votes
3answers
832 views
Can you detect permissions on a list via Ajax or SharePoint web services?
The context for this is the SPServices or Imtech (SP)LookupAddNew function that let you add new items to lookups without navigating to the target list.
Can we avoid adding the link for users without ...