Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Visual Web Part is a Web Part built using a User Control (.ascx)
0
votes
Accepted
Storing WebPart property per user who does not have enough privileges
You can create a collection of key value pairs where key will be the logged in user and value will be the property you want to save and save this collection as SPPersitedObject The example shows how t …
0
votes
Error occurred in deployment step 'Add Solution': Feature with Id 'guid' is not installed in...
I don't think it is possible to activate the same feature in the Feature installed event. The feature installation is not yet complete and trying to activate it will cause the error you are seeing.
…
1
vote
Consume a WCF REST Service with webHttpBinding in Sharepoint 2010 WebPart
You can use CKS Dev to create WCF service in SharePoint. Following article can be used as a starting point to create WCF services in SharePoint.
http://ranaictiu-technicalblog.blogspot.in/2011/03/shar …
2
votes
How to embed resources in a visual web part
You can add the layouts mapped folder to your project and keep javascript and css files there.You can then use ScriptLink class to register the js and CssRegistration class to register the css in the …
4
votes
Getting custom webpart property with JSOM
You need to load webpart properties before you can read them. That is,
var properties = webPart.get_properties();
currentCtx.load(properties);
Then read the properties in success method.
currentCt …
2
votes
Accepted
How to get a creation date from a SPListItem that is a folder in c#?
Use following code to get the creation date of folder:
item.Folder.Item["Created"]
0
votes
Error occurred in deployment step 'Activate Features'
Check the scope of the Feature. It should be scoped to Site. Since, the project contains visual webpart, you need to specify webapplication paramter if deploying through PowerShell
Add-spsolution -Li …
1
vote
How to make web part static content searchable?
If the static content is placed inside the markup of the .ascx control, it won't appear in the search results as the .ascx control reside in physical folder. If you add the static content directly on …
1
vote
Accepted
Can I deploy a farm solution to my site collection only
No, there is no way to deploy a solution to a particular site collection. A solution is deployed either Globally to all web applications or a single web application. It is the feature inside the solut …