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

1
vote
1answer
82 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
135 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
357 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" ...
1
vote
1answer
752 views

ASP.Net Label control's Text property not updating text under button click event

I have developed a small application in SharePoint. I am using custom application page and load .ascx Control over that page under Page_Load() method. In .ascx Control, I have created a small form ...
0
votes
1answer
10 views

Unrecognized tag prefix user control

I'm create default webpart and creat default user control, drug and drop control to designer on web part and it generate code: <%@ Register ...
0
votes
1answer
62 views

asp Update Panel with timer control updates XSLTListViewWebPart

I have used one user control in SharePoint master page which will automatically refresh on every five seconds ( I have used asp Update Panel and asp timer control for doing this) And I have one ...
0
votes
1answer
69 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
122 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
133 views

Control View based on Current User Role

I am trying to limit visibility to buttons and ability on a user control based on Role on a SharePoint 2010 Site. I get the user from the following code line SPContext.Current.Web.CurrentUser ...
0
votes
1answer
87 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
196 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
69 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
169 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
73 views

Design considerations for uploading documents into MOSS 2007

I am working on a design document for one of my projects in MOSS 2007. There is a requirement to create a custom interface to upload document along with metadata to a document library. I am not sure ...
0
votes
1answer
483 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
14 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 ...
1
vote
0answers
100 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
205 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 ...
1
vote
0answers
41 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
41 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
160 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
478 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
20 views

User control display multiple times in pagelayout

I have created pagelayout which will be add in site on feature activation. I have registered one user control inside webpart zone in pagelayout. I'm also creating page from added pagelayout, the ...
0
votes
0answers
24 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) ...
0
votes
0answers
72 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 ...
0
votes
0answers
39 views

2010 | Add radio buttons next to a repeating section for each item?

First, let me apologize if I am using incorrect terminology or am otherwise being confusing. I am relatively new to Sharepoint. I am currently automating paper based processed for my employer. We ...
0
votes
0answers
51 views

SuiteLinksDelegate links dependent on mySite existance

We currently are using the SuiteLinksDelegate control to disply custom links in the suite bar. Currently, one of the links is to mySite. The powers that be only want the mySite link to appear in the ...
0
votes
0answers
17 views

user control onkeydown from SP 2007 to 2013

I m upgrading a search box from SP 2007 to SP 2013, when I add the "onkeydown" in the following line : <INPUT class='form' Type=TEXT id='idDirectorySearchString' size=25 ...
0
votes
0answers
39 views

Invalid file name when Asset dialog opens from AssetUrlSelector

I'm getting the an exception when I put an AssetUrlSelector in a web part and then try to select an asset from it. The exception occurs immediately upon opening the Asset Select Dialog window. ...
0
votes
0answers
23 views

Store and Refresh DB data in a Session

There's a user control added to the left navigation of a SharePoint 2013 site. The User Control code makes DB calls on each page load. As this is bad, I'm planning to get data from DB and store in ...
0
votes
0answers
89 views

SPCalendarView does not show correct Data

I am creating Web Part & add control of Sp Calendar view. I am showing events from Calendar List.It shows data only for today & previous Date. it does not show data after current date. Also,it ...
0
votes
0answers
136 views

An object reference is required for the non-static field, method, or property 'System.Web.UI.Control.Controls.get'

I have created a farm solution inside Visual studio 2012, and i added the following code inside my user control :- namespace CustomSuiteLinksDelegate.ControlTemplates.CustomSuiteLinksDelegate { ...