0
votes
0answers
18 views

Tool part - Add Term store picker control

I'm creating a web part which consumes terms found in a given term set. I got this working, but now I want the term set value to be configurable in the tool part. What's the control (if there is one) ...
10
votes
3answers
2k views

Visual Studio 2012. Visual webpart's ascx.g.cs file empty after registering any control

I've discovered a problem when a Visual webpart's g.cs appears to be empty. I'm using Visual Studio 2012 Update 3 and a project for SharePoint 2010. The steps to reproduce the problem: in Visual ...
0
votes
2answers
53 views

There is an Out of the Box SP ListBox that allows the user to select options and display them on another ListBox?

Basically those are two DropDownLists, but I'm wondering if there's an OOB webpart. Example: Update: I have found a lot of insight in this page, that is a translation of this blog post.
0
votes
1answer
840 views

Trying to register user controls on page layout

I have a page layout that I created on my Sharepoint 2010 site. I have created some user controls in Visual Studio that I'd like to use on my page layout. The user controls were created in a Visual ...
0
votes
1answer
162 views

Writing to log but not showing up in ULS

I have a SharePoint 2010 solution which deploys some custom controls to the ControlTemplates directory (via mapped folder) and a site scoped feature with a feature receiver class that makes some ...
1
vote
1answer
909 views

SharePoint 2010 ASCX Edit withou WSP Deploy?

I have deployed an ASP.NET control in a wsp package. I would like to add some custom JavaScript and HTML to the .ascx file. Nothing that would need a recompile and re-deploy. Where is the actual ...
1
vote
1answer
812 views

User control in delegate control

My question is regarding a delegate control called TopNavigationDataSource, normally when you create a delegate control you just define there some new properties etc. But what if I want to deploy ...
3
votes
4answers
674 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
1
vote
1answer
2k views

Customizing SmallSearchInputBox default text

I am trying to customize the text displayed in the search box of my SharePoint site. The default is "Search this site...". I found a number of articles which explain how to do it (by overriding the ...
1
vote
1answer
1k views

What date picker controls are available to enter a date range inside a custom web part?

I have a custom web part that executes a SharePoint search query and displays the results. I'd like to add controls to the web part so that users can select a date range (ie. start date and end date) ...
3
votes
1answer
2k 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 ...
1
vote
2answers
3k 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) ...
1
vote
2answers
5k 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 ...
2
votes
1answer
2k views

fully Customized Editprofile.aspx SP2010

I have to customize the EditProfile.aspx page that under the 14 Layouts hive. I know I can add fields in the user profile and make them show in the edit page , but this is a little more that what ...
1
vote
1answer
392 views

ListFieldIterator doesn't return value of Enterprise keywords

In my project I use ListFieldIterator control to allow users view and change meta data values. I can read values of ListFieldIterator fields with code like this: object value = ...