Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
100 views

Userfeedback after file was uploaded to library

I need to print out a feedback after a file was uploaded to a DocLib. I tried several things over the event receiver (add statusbar as a control or a clientscript) but everything faild. I´m a bit ...
Felix Zeidler's user avatar
5 votes
4 answers
15k views

Create SP People Picker on the client-side

I would like to know if there is a way to generate a SharePoint 2010 People picker control just with JavaScript. Imagine that I am doing a Windows 8 App, I would like to create that control ...
João Louros's user avatar
5 votes
1 answer
22k views

Calling the SP.UI.ModalDialog.showModalDialog method

My SharePoint solution has a userControl that Register a js block string getJS(string title, string htmlContent) { return (string.Format(@" ExecuteOrDelayUntilScriptLoaded(function (...
Rami Alshareef's user avatar
3 votes
1 answer
802 views

SharePoint List items, UserControls and cookies

I have another task at hand. I need to use cookies to read a title of an item from a custom list in SharePoint. This task is for SharePoint 2010. I have a container set up that will display the ...
James's user avatar
  • 31
14 votes
2 answers
15k views

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
Alex C's user avatar
  • 4,405
3 votes
1 answer
4k views

How to import external javascript in a User Control?

I have a code-behind User Control (myUserControl.ascx and myUserControl.ascx.cs) that are in ControlTemplates/MyFolder/ and, in the code of myUserControl.ascx I need to use some javascript ...
user674887's user avatar