Tagged Questions
6
votes
3answers
3k views
How to get the ID of the list item just inserted using ecmascript
I am stuck at a place where I have to update a list which has a Lookup column. For example I am using this code to update my normal list
var clientContext = SP.ClientContext.get_current();
...
4
votes
2answers
101 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 ?
3
votes
8answers
4k views
How can we get Cascading Lookup Columns in sharepoint 2010?
How to get the cascaded Lookup columns in sharepoint 2010,Iam having requirement
like i have two lists(Category List and Sub category list)..For each item in category
list i have 5 different items ...
2
votes
2answers
263 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. ...
2
votes
2answers
649 views
Datetime update is one day off
I'm updating a list with a date field (just the date) using the ECMASCRIPT object model but when the date is inserted is one day off from the introduced date, It's literally making me pull my hair off ...
2
votes
1answer
151 views
Get single field item value from Custom List and set it on same item but another field
I'm new in Sharepoint, and I have an issue with a custom list in Sharepoint 2007.
The thing is... I have a custom list with pre-loaded data, and I need to get a unique code from a field item, to put ...
1
vote
6answers
3k views
How to add Some Javascript code to all the aspx pages not just on web parts?
I just want to modify some of the contents on all the SharePoint pages be it adminstration page or some site page or any other page using my script (Javascript) and AJAX code.
My ultimate aim is to ...
1
vote
2answers
89 views
javascript method to delete content from recycle bin of a single site only
So I know you can use jvascript:emptyItems() in the address bar of the recycle bin to clear it, but this clears the entire site collection.
Is there a way using javascript to empty the recycle bin ...
1
vote
3answers
60 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 ...
1
vote
2answers
531 views
__redirect not working after __commit on Form Action Button
This is in Sharepoint 2007 -- Designer
I have written a Form Action button and it has the following Code:
<input type="button" value="Add List Item" name="BtnSave" onlick="javascript: ...
1
vote
1answer
220 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
175 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
199 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
114 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 += ...
1
vote
1answer
309 views
anchor tag in SharePoint master page
Hi can someone help me in putting up a anchor tag in SherePoint custom publishing master page. Actually I want to open a site page on click on this anchor tag, this site page will be in the top level ...