0
votes
0answers
14 views

Bind Custom List to Gridview using javascript in sharepoint designer

This is my javascript code to bind <script type="text/javascript"> function BindGridView() { $.ajax({ type: "POST", url: "AllItems.aspx/PPB", data: "{}", contentType: ...
0
votes
2answers
39 views

SP13: Master Page Centering

I am working changing the master page to center the content in the middle of the page. For an example, see the homepage to www.topsharepoint.com. To accomplish this task I have changed the master ...
0
votes
1answer
62 views

Refreshing a Web Part Without a Post back in SharePoint 2013

I have a list with many columns in SharePoint 2013, I used SharePoint designer 2013 for displaying items , I have tow web parts in a page that I created in SharePoint designer 2013, one web part ...
0
votes
1answer
75 views

Hide ribbon control in newform.aspx & editform.aspx

I want to hide ribbon form my newform.aspx & editform.aspx forms only. I don't want to hide ribbon from my whole site. I just want that whenever a user add or edit item top ribbon must be hidden ...
1
vote
0answers
24 views

Sequential number generator with a twist

I have an assets list. The asset needs to have an asset number assigned upon creation. The format of the number should be A-99999. There are existing asset numbers I have to work around in order to ...
0
votes
2answers
183 views

Edit Item Form: Call function after commit (Custom Save Button)

I have a custom Edit form in SP2013 where I want the Save button to do two things: Commit changes Call JavaScript function The function in step #2 does several things including a workflow trigger. ...
0
votes
0answers
23 views

Get the data from check box in edit page when in published page

<div data-name="EditModePanelShowInEdit"> <!--CS: Start Edit Mode Panel Snippet--> <!--SPM:<%@Register Tagprefix="Publishing" ...
0
votes
2answers
39 views

Change the text in menu items listed under Site Actions

I would like to find the best way to change the text of the title and description of some of the items listed under Site Actions. For example, say I wanted to change "More Options" to "Something ...
1
vote
1answer
58 views

How to Print a table with Style

I cannot print a page with Style in SharePoint. Please take a look on two images below. I've added the media="all" or media="print" into <style type=text/css> but these didn't work. The screen ...
0
votes
0answers
83 views

How to wait for a Function to return values and finish to run another Function with Javascript

As the thread's title with SharePoint 2010, this worked well with all browsers as the demo below. However, when I'd tried to get the information from another link (it must be another thread of ...
0
votes
0answers
56 views

How to assign a java script variable to xsl variable

I have a requirement where the user enter the price in text box and i need to get the value in java script/jquery function and by using the value i need filter list data using xslt. I have to assign ...
1
vote
2answers
68 views

How to run the JS with on() function with Javascript

In the Calendar with Add button, after the JS Calendar starts completely, the HTML below appears and I would like to run my JS with AsynchronousViewDefault_CalendarView attribute. However, it doesn't ...
1
vote
3answers
264 views

How to replace all href elements when mouseovers with Javascript

In the Calendar with Add button, I would like to replace all href="javascript:void(0)" to href="http://google.com" when mouseover the image caladd.gif with Javascript and jQuery. Summary: That means ...
0
votes
1answer
123 views

BoxShadow and BorderRadius do not appear in IE with Javascript and CSS?

I got into a trouble that in the SharePoint, the Box-shadow, Border-radius and the showToggle's div tag don't appear in IE, but it runs very well in FF and Chrome. Please let me know what is going ...
1
vote
1answer
1k views

Retrieving list items using Javascript and Caml query

Hi guys I'm new to SharePoint dev and working on a project to retrieve list items. I have followed the instructions from http://msdn.microsoft.com/en-us/library/office/ee539350(v=office.14).aspx and ...
0
votes
2answers
348 views

Add item to list using button

I try to create button that will be add item to the list. Unfortunately I do somethings wrong. My programming skill's are at beginner level. I have list "List" with only one field Title (for test) - ...
0
votes
1answer
115 views

show progress bar or loading image while running spd 2010 workflow

I have a SP 2010 custom list which is fetching data from multiple lists. So I have written a workflow in SP Designer to get data (auto populate) from all lists. It's working fine, but taking more ...
0
votes
0answers
36 views

How can I on list datasheetview, disable with jquery combobox-dropdown if one of the option is selected?

What I want to get after all, when user will chose the one of the option from Approval , in ListDatasheetView combobox of approval field should be disable and when the Approval status will become ...
0
votes
2answers
29 views

In which place we should paste Div tags in sp designer 2010?

I have a js file which needs some html div content. where exactly I have to add div tags content in aspx page in SP designer 2010 . Thank you.
1
vote
2answers
38 views

Custom List without CreatedBy / ModifiedBy through WebUI/SPD/Javascript

Is it possible to create a truely anonymous list without the created by and modified by columns defaulted, like if someone wanted a suggestion box? Specifically is it possible to do this in SP2010 out ...
1
vote
1answer
345 views

Promoted Links with different sizes in same Page

I have a complicated requirement in which I have to embed a promoted link with different sizes and styles in the same SharePoint page. Figure at the bottom illustrates what I am trying to achieve. ...
1
vote
2answers
263 views

How i can change the color font to red in a drop down feild inside sharepoint

I have an issue that i need to change the font color to be red when we edit the Project task list in my drop down Task Status feild when the Task status is Late > color in red and we choose another ...
1
vote
4answers
711 views

View sharepoint list last modified date using javascript

I have some code that I used to get my SP2010 task list last modified date using SP designer but doesn't seem to work and I tried to step through it with firebug but not really sure where my problem ...
0
votes
2answers
455 views

Start Workflow programmatically

We work with an Doc Library which receives the files via E-Mail. This works great, but now we want to change the filename via workflow. The problem in this situation is that the workflow doesn't start ...
1
vote
4answers
299 views

Is it possible to change Web Part attributes via CSS or XSLT?

I am working on a dynamic SharePoint design using DVWPs. I have a hidden DVWP which controls other webparts based on values in a list. I'm running into a slight snag, though. I need to know if it's ...
1
vote
2answers
68 views

Question about using CSS with EasyTabs 5.0

Not sure if this would be the right place, but I have a question about the EasyTabs 5.0 solution for SharePoint 2010. The author's website (www.pathtosharepoint.com) appears to be down at the moment ...
0
votes
1answer
126 views

Set Publishing Link Field Value on New item form using Javascript

I want to set default URL for Publishing Link Column in my SharePoint New Item form using javascript. Below Field's value should be set to http://a.com/ on form load. <SharePoint:FormField ...
0
votes
1answer
344 views

Call executeQueryAsync method second time gives first time result

In the code I tried to get the data from 2 different LIST. Input of the second query will be done after executing first list. $(document).ready(function () { $("#SearchButton").click(function ...
1
vote
0answers
52 views

Unable to get related information from related list and display it on textbox on parent list using logged in user

I have two lists Created for my leave application in sharePoint. I need related information's come from related list (Leaveinfo) and display it on the textbox in Parent list (LeaveApply). I have ...
0
votes
1answer
156 views

Editing SPO 2013 Master Pages - no effect and where do you place javascript code block?

I'm trying to add a jQueryt block to oslo master page on spo 2013. check out, make changes and save, but no apparent impact. Am I placing javascript in the wrong place? do I need to do any additional ...
0
votes
1answer
547 views

How to add a javascript to my seatle.master

i am working on a team site inside my SharePoint server 2013. I need to add a Java script code to my master page , so that the script will be available to all my SharePoint web pages. but i can not ...
2
votes
1answer
795 views

Displaying the sharepoint server date and time under the username

I am trying to display the server date and time under the username inside my SharePoint 2013 server. I did the following :- On the master page I added the following “currentdate” Div :- ...
0
votes
1answer
132 views

Writing Javascript code in XSLT

Can I write Javascript code in XSLT? Basically I will be calling Javascript's document.location.href to check which site is currently opened (English or Arabic). So let's say if English site is ...
0
votes
1answer
450 views

Adding a custom delete button to a custom list form in SharePoint 2007

On a customized dispform.aspx page for document library, I'd like to add a delete button. I'm trying this code from SharePoint Designer, but getting error in sharePoint designer 2007 A string ...
0
votes
0answers
79 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 ...
1
vote
3answers
1k views

How to Make Webpart Title to Display Day of the Week?

I have list View webpart in my sharepoint 2010 team site home page. Generally Web Part title can be easily modified by editing the webpart and providing Title value. I am looking for a solution to ...
0
votes
1answer
25 views

Setting audiences in share point 2010

I have written html/css code to display the menus. Now i need to hide the multi level menus(links) using windows authentication. i mean we need to set the target audience for the links. But,. i do not ...
0
votes
1answer
488 views

Need to remove html tags from <td></td> area in SharePoint custom DispForm.aspx

I had created a custom DispForm.aspx for a SharePoint list, using SharePoint designer. I included a Rich Text column type to show in DispForm.aspx. The contents of the column are showing, but somehow ...
1
vote
3answers
654 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/'>" + ...
0
votes
1answer
64 views

Conditional Formatting very slow

i am using SharePoint 2010. I built a webpart which is displaying elements from another list on the same page. This works fine and fast but when i put in the conditional formatting the loading process ...
0
votes
2answers
2k views

Sharepoint timeout

I want to implement timeout in sharepoint site. I want to popup a message to user every 30 min if he is idle on the site. A continue button should be coming in popup and if he clicks ok he should be ...
0
votes
2answers
334 views

JavaScript error with Cascading Dropdowns

Many similar questions have been asked but none seem to work. I have Sharepoint 2010 and I have jquery-1.9.1.min and jquery.SPServices-0.7.2.min loaded into my parent site's Shared Documents. It ...
2
votes
3answers
1k views

Open a modal from a link in wiki-site: Sharepoint removes javascript

so I tried to add a little horizontal menu to a wiki-site and wanted one of the links to open in a modal Dialog (a contact form). Every time I try to add it about the UI, sharepoint removes the link. ...
1
vote
1answer
886 views

SharePoint DateTime field as Read-Only

How to make SharePoint DateTime field as Read only in NewForm.aspx? I'm using the below script to make DateTimeColumn as read only. It's working fine in firefox & not in IE9. Calendar icon ...
1
vote
1answer
170 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
1k views

Is there a way of inserting javascript function as an onclick attribute, or href attribute to a hyperlink in sharepoint page

So, is it possible to add a link as follows (or some equivalent to this) <a href="javascript:somefunction()">Click Here</a> into the Sharepoint page, but without using Content Editor ...
1
vote
2answers
379 views

js/jquery doesn't work on site's upload.aspx?

is that right? If I go to a library in the designer, i can see upload.aspx there. Can't create a new one (and i guess that is because there is really only one per site, or collection?). Anyway, I can ...
1
vote
1answer
182 views

Google Map Visual WebPart

Some that has an guide on have to create an Visual WebPart using Google Maps for an list.... protected override void Render(HtmlTextWriter writer) { string rScript = ""; rScript += ...
4
votes
2answers
180 views

Is it possible to Fire event when Content type added in Shared Documents in sharepoint 2010?

How to fire event when any content type added in shared document library ? How to handle this event ?
1
vote
1answer
1k views

How to get files count from particular library?

I'm using Sharepoint 2007 and unfortunately don't have any ways to server site scripting, no C# or PowerShell. Is there any way to get total number of files in a given Library using SPServices ? It ...