Tagged Questions
1
vote
2answers
62 views
Using JQuery to Hide Elements on Masterpage
I want to make a few "special" pages in Sharepoint 2010, that hides the menu and ribbon from the Masterpage.
Is it possible to write JQuery code in a web part that can hide/disable/delete some ...
0
votes
2answers
53 views
SharePoint SPServices autocomplete not working for a column
I have a working jQuery SPServices code for a column Description in a list. The problem is, that when I try to get the data from another column, Project Item, with the same code, nothing happens. ...
0
votes
1answer
55 views
How to Customize Mobile View or Integrate Jquery Mobile into an already made SharePoint 2010 public facing site?
I'm very new to SharePoint Development and need some instruction or direction on how to customize the mobile view or use Jquery mobile on a SharePoint 2010 public facing site.
I have been tasked with ...
0
votes
1answer
29 views
Hide navigation until all items are populated
I created a customized nav using the Sharepoint aspmenu with simple rendering which binds to an xml datasource to render the menu contents.
I am then using a the jquery UI accordion to style it.
The ...
0
votes
1answer
78 views
Best/Simplest Way to Implement Custom Button on List/Library?
I've removed most of the default elements with the following:
<style type="text/css"> #s4-ribbonrow, .ms-cui-topBar2, .s4-notdlg, .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, ...
0
votes
0answers
75 views
How to automatically collapse/expand treenodes in TreeView, based on current page
So, I have a TreeView in my SharePoint masterpage which has quite a lot of treenodes. Some of these link to subsites (also containing the TreeView in their masterpage).
Since it was starting to get ...
2
votes
1answer
167 views
Jquery adds Multiple attribute IDs to Content Editor web part source
I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
0
votes
0answers
110 views
GenFireServerEvent('__commit') using jQuery
I am facing below issue, could you please provide your insight on this,
Please refer details below :
Default SharePoint 2010 list form
Using jQuery, we are adding button on ...
2
votes
1answer
199 views
How can I get specific SharePoint site GUID using javascript/jquery
For example:
I have a site under this url: http://intranet.contoso.com/news
When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker.
Thanks!
1
vote
1answer
328 views
Create Publishing Page using Client Object Model (Jquery)
I am trying to create a publishing page (site page) using SharePoint 2010, Jquery, Client Object Model.
Any reference or help will be appreciated.
Let me know if any more details are required.
1
vote
3answers
348 views
SharePoint 2010 Modal dialog problem with Jquery datepicker
i have a link on which i am opening a webpartpage embed in SharePoint ModalDialog. Inside webpart I have a textbox contains jquery.datepicker ..whenever i select the date the ribbons title scrolls up ...
2
votes
1answer
195 views
FormField value set with javascript, value lost on postback
I have a custom list of "requests" which need to accommodate a required time range for a single date (among other fields), so I added "start" and "end" columns of date and time type. I used designer ...
4
votes
2answers
1k views
JQuery Accordion with SharePoint 2010 Custom List
I have a FAQ custom list in Sharepoint 2010 with two columns: Question (title column renamed) and Answer.
I want to display the questions and answers from the sharepoint list in JQuery Accordion. ...
0
votes
2answers
130 views
How delete a record from list by using a jQuery
I find aut a this article about to easy and fast delete a records from list: http://spservices.codeplex.com/discussions/245147 How could I use it ? Can I use it on cs files, if yes so how can I use it ...
1
vote
1answer
104 views
Document download keeps restarting automatically
The problem:
I want to open an excel document automatically from a custom aspx page in the layouts folder (sharepoint 2010) which refers to a document in a document library. The "DocumentUrl" is ...
2
votes
2answers
586 views
Can't get a basic Modal to work on 2010
I'm migrating a project from SP2007 to SP2010. I want to get a modal popup to work, to open up the New Item window of a list from an aspx page. I can't get the modal to work in the most basic example, ...
1
vote
2answers
174 views
How do I create dynamic infographics in SharePoint?
I'm looking to add a dynamic infographic with the ability to update it using a SharePoint data library or list. Has anyone accomplished this (that is easy or quickly updatable). For example, I want ...
1
vote
1answer
2k views
Left navigation bar customization based on user permissions
Hi I have to change my left navigation based on specific user permission.
is that possible without change in masterpage .
I know jquery is one solution but any other way through we change left ...
1
vote
1answer
341 views
Set data to Sharepoint Gridview from List and remove appropriate selected columns
I am using c# and I have a SPList with fields such Title and Translation. I want to set Word and Translation into SPGridview.
I can retrieve data from my List:
string translation = ...
0
votes
1answer
426 views
use jQuery Modal instead of SharePoint modal
So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
0
votes
1answer
2k views
Using GenFireServerEvent(('__commit;__redirect={/}')) in JQuery function on SP2010 Page
I have a custom Submit button on a custom NewItem form. I have a JQuery function which I would like to run when this button is clicked.
I also need the GenFireServerEvent(('__commit;__redirect={/}')) ...
1
vote
2answers
379 views
Jquery in Sharepoint 2010 not working for all users
I have a very strange problem where there is some custom jquery interface buttons to show and hide certain fields in sharepoint. The script builds fine(script that has worked on previous sites) but ...
0
votes
1answer
178 views
Sharepoint 2010 <Status>ERROR_NO_AUTHORIZATION</Status> jquery search,asmx
I have a subsite with unique permissions. Users do not have access to the root, site.
This site has jquery ajax people search which performs a search.asmx. This fails.
even if the path to the ...
0
votes
5answers
794 views
JS/jQuery Check if on root web of root sitecollection
How is it possible to check in JS/jQuery if the user is on the root site of the root sitecollection in the webapplication? (Sharepoint 2010)
Thanks!
Example:
...
0
votes
1answer
125 views
CEWP with Calendar New Form : hidding selections, setting all day by default
So I came across a cool trick first in a book, then on a blog (here!), but it doesn't work for me. It's straightforward enough, couple lines of javascript/jquery, and a cewp in order to auto-select ...
3
votes
1answer
393 views
jQuery autocomplete dissapears on postback
I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox.
Important to know: this textbox is ...
0
votes
0answers
884 views
How to get/set the Sharepoint field elements with parametrized properties/attributes?
Tried to ask this question in comments to:
A Dummies Guide to SharePoint and jQuery–Getting & Setting SharePoint Form Fields
but my question is not appearing in comments 2nd day.
So, one ...
1
vote
0answers
909 views
Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?
In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by:
"Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
3
votes
1answer
521 views
Hide upload Button on Asset Selector Dialog (AssetPortalBrowser.aspx)
I am looking to hide the "Upload" button in Asset Selector Dialog and I know Asset Selector Dialog uses Dialog.master in SharePoint. Is there a possibility to attach some custom jQuery/Javascript ...
1
vote
1answer
444 views
Content slider in jQuery doesn't function properly in webpart
I have created a test HTML page that contains the code for the web part in question. From the test page, I can use the scrolling feature just fine as it works as expected. When I take the same code ...
1
vote
1answer
589 views
RTE markup and Page Layout javascript error
Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors.
I have made a custom masterpage for my SharePoint ...
0
votes
4answers
385 views
How to know if JS file has been registered in a visual web part?
Let me explain the situation:
I have a Sharepoint 2010 solution in VS that contains:
Some Model classes
A LINQ-to-SQL data context
A WCF REST service
3 Visual web parts
The web parts calls some ...
2
votes
1answer
4k views
Where to put javascript files, problem with _layouts
I'd like to add jQuery and SPServices.
I added the following code:
<SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" ...
0
votes
1answer
760 views
Custom WCF service in Sharepoint 2010 returns 401 Unauthorized
I've followed this guide to create and deploy a custom WCF service in Sharepoint 2010 to be consumed in a Visual Web Part using jQuery.
The WCF service's method does several things:
Make use of ...
0
votes
1answer
388 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 ...
2
votes
1answer
4k views
How to add jQuery to a single page?
I'm new to SharePoint. We have 2010. I want to use jQuery on a single page, not the entire site. What's the best way to do this? Can it be done without modifying the master page? Thanks!
1
vote
2answers
250 views
jDigiClock in SharePoint 2010
I'm trying to implement the jDigiClock jQuery plugin for showing the time and the weather in a really cool way in SharePoint 2010. It uses either PHP or ASPX to fetch weather info. I placed all the ...
0
votes
0answers
68 views
Is the javascript in my webpart executing before the javascript in my MasterPage? [duplicate]
Possible Duplicate:
What is the proper way to add jQuery to a MasterPage?
I have a few webparts that use jQuery. Instead of adding the jQuery in each web part I decided to add it in the ...
3
votes
2answers
3k views
Path to jQuery file for SharePointWebControls:ScriptLink
I'm working in SharePoint 2010 Designer to create a custom page layout. I've added a SharePointWebControls:ScriptLink control but am not sure what the path is to my jQuery library. It's uploaded to ...
