User controls are custom, reusable controls, and they use the same techniques that are employed by HTML and Web server controls. They offer an easy way to partition and reuse common user interfaces across ASP.NET Web applications.

learn more… | top users | synonyms

0
votes
2answers
31 views

How to change languages in SharePoint 2013

I would like to change languages on a SharePoint page. I have already translated the page to different languages, and I would like to swap between them by a button selection (or similar technique).
6
votes
1answer
1k views

Ajax Calendar Extender Position is not working in SharePoint Webpart

I am using Ajax Calendar Extender, but it is not pop up next to textbox, it is appearing int the middle of the page. Here is the code: <asp:TextBox ID="dtEnginerring" runat="server" ToolTip="...
3
votes
1answer
33 views

Disable/Hide Sign in as a different user

Need help in disabling or hiding ''Sign in as a different user'' in SharePoint site.
1
vote
1answer
287 views

How to prefill user field in custom aspx form?

I have a task to create SP2010 inventory request system based on VS2010. The idea is the requestor creates a request, which contains inventory information and approvers. Approvers is the user field ...
1
vote
1answer
298 views

Extract NewsFeed and use in a custom user control

Is it possible to use the news feed control in a custom user control page (ascx) ? I need only the message sender part of the newsFeed, which is displayed in following picture. So that I could send ...
1
vote
1answer
410 views

Exception when deleting webpart Microsoft.SharePoint.WebPartPages.WebPartPageUserException

I have been looking for any leads on this direction on the web and most of the issues I have found is when they try to add a webpart but I am running across the issue where I am getting an exception ...
0
votes
1answer
24 views

Hiding a Task List

I would like my users to be able to click a link straight to a new task form, then submit, but never see the actual task list. I want to be the only one that can ever view the task list and especially ...
0
votes
1answer
90 views

Any way to access web part controls/HTML content for a publishing page in server-side code

I'm in a situation where I want to grab the web part controls and/or HTML content of the controls for a publishing page, and format the content before it is rendered. How can I go about this? I've ...
0
votes
1answer
446 views

Creating custom top navigation using user control

I want to create a custom user control that will display my own top navigation in my publishing site's master page. I know another option is to use sharepoint's own top navigation and then ...
0
votes
1answer
314 views

last visited pages of a site

I have a requirement in which I have to show two previously visited pages in breadcrumb. Is there any property from which I can fetch this information?
0
votes
1answer
137 views

SharePoint 2010 Visual Web Part development @_parser.AddParsedSubObject LiteralControl WebPartPageUserException

I am using SharePoint 2010 Foundation on a vmware virtual machine. I am using Visual Studio 2012 update 3. I am working on a visual web part project. I have so far in this project only used asp.net ...
0
votes
1answer
374 views

How to reference/write the file path in Elements.xml for UserControl in Sandbox Solution?

I have 1 solution (which is deploying as SandBox Solution). I have added JavaScript files, Images, Application Page & UserControl in one Module under project folder. I have one Element.xml file ...
0
votes
1answer
93 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 ...
0
votes
1answer
243 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 ...
0
votes
1answer
705 views

Use a RadioButtonList update list columns?

Does anyone know if it's possible using SPD w/ MOSS2007 to use a RadioButtonList value to update columns in a list using a custom insert list form without binding the asp:RadioButtonList on page load, ...
1
vote
0answers
12 views

Sharepoint User Control can't search user by Japanese kanji name when type only 1 character

I'm having a problem with search function of user control in Sharepoint. User needs to type kanji name in this field to search for users. If user inputs more than 2 Japanese characters, the search ...
1
vote
0answers
30 views

Problems with SharePoint DelegateControl

We have created a Delegated control for People Picker. Implementation Details: We have a ascx control which is using jquery Select2 plugin. This control is calling some webservice to get details. ...
1
vote
0answers
100 views

how to add WebControl to my page layout

I want to add the following code to my page layout to fix a bug in SharePoint 2013:- [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage runat=server></{0}:...
1
vote
0answers
352 views

People picker icons and auto-completion

I am having this problem across different site collections, applications and even farms. When I have a field of the "User" type in a custom list, the default forms that are created by SharePoint ...
1
vote
0answers
62 views

SP2013 Community Site - adding custom content to home page

I'm probably missing something basic, but I'm trying to add new user control based content to the Community Home.aspx page within a Community Site. How is that done? I've tried editing the page in my ...
1
vote
0answers
47 views

Issue between user control and Visual webpart

I have user control in my master page (countrycontrol.ascx) on clicking the user control It will show links, user is allowed to select the country based on the selected country the visual webpart need ...
1
vote
0answers
241 views

Cannot save field values from ListFieldIterator to list item

I have the following issue. I created rendering template for list. This template is shown in New\Display\Edit forms. Then i've created two user controls: "mainCard" and "mainCard_Info". First control ...
1
vote
0answers
733 views

Adding/removing items to/from a DropDownChoiceField

I can't seem to manipulate the items displayed in a DropDownChoiceField I have that's tied to a field on the custom content type with big, really frustrating problems. This field is only visible in ...
0
votes
0answers
14 views

Error on Task User Control when Loading Data

private void LoadData() { try { if (SPContext.Current != null) { SPList taskList = SPContext.Current.List; SPListItem task = ...
0
votes
0answers
16 views

Do custom InfoPath User Controls absolutely have to be registered with the COM interop?

Is it possible to design a custom User Control using C# in VSTA for InfoPath without registering it with the COM interop? It's not a control that I'm going to use on any other form, but I have a very ...
0
votes
0answers
32 views

MetaTag adding to page head in user control

I have a problem with adding meta tag to the page header. If I try to add in OnInit event, Page.Header is null so I can't add new control to it. If I try to add it to other events (OnLoad, Page_Load,...
0
votes
0answers
530 views

Jquery Document Ready function is not firing in User Control - SharePoint Project

Here is my code : <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class=...
0
votes
0answers
63 views

Can't access user control Public Methods in SharePoint application page

I have an user control say test.ascx. I have added this to my SharePoint project under control templates section. I registered this user control in my application page. The Problem is I cant access ...
0
votes
0answers
169 views

How to get a CustomControl into SuiteBarBrandingDelegate with MDS-Feature activated?

I want to add a Navigation to the SuiteBarBrandingDelegate. I created a nicely working solution for this but it doesn't work with the MDS-Feature activated (Minimal download strategy). After some ...