Skip to main content
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
Results tagged with
Search options not deleted user 3681

For questions completely specific to SharePoint 2010 and **not past or future versions**

1 vote
2 answers
2k views

How to create a "select" custom property?

In a Webpart I want to set some customs properties. I have this code [Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("myName"), WebDescription("myDescription"), Categ …
user674887's user avatar
1 vote
2 answers
9k views

How to know the path of the ascx in the Page.LoadControl?

I have a Webpart with a "main class" named myClass public class myClass : Microsoft.SharePoint.WebPartPages.WebPart and I want to load a ascx file from this class like this http://www.mojoportal. …
user674887's user avatar
2 votes
2 answers
8k views

How to add code-behind to a User Control?

I have a User Control (myUserControl.ascx) with the code: <div id="content"> TEST USER CONTROL <div> that is called from a webpart: protected override void OnLoad(EventArgs e) { Control …
user674887's user avatar
1 vote
1 answer
99 views

How can a PopUp get the styles from the main page?

I have a PopUp opened by SP.UI.ModalDialog.showModalDialog but the content of this Pop Up hasn't any styles of the Sharepoint Portal. (It hasn't access to javascript of the main page, too). It seem …
user674887's user avatar
1 vote
1 answer
1k views

How to add a Toolpart in a CustomPropertyToolPart?

In a Webpart I have some customs properties. For the strings, booleans and enums, is all ok, but I have a problem with the selects (comboboxes). To use a select I needed to create a Toolpart that con …
user674887's user avatar
1 vote
0 answers
242 views

How to add a "Actions List" in a Sharepoint Pop Up?

I have a PopUp opened by SP.UI.ModalDialog.showModalDialog that contains a form, and I want it has some actions like a normal edit pop up (View Snapshot). The pop ups content comes from a myPage.a …
user674887's user avatar
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 functi …
user674887's user avatar