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

4
votes
2answers
471 views

Opening a document in read-only mode using an external control

I have a .Net application that (amongst other things) provides a front end to a sharepoint document library. Users are able to open documents, and I use the Open Documents Control to do so ...
0
votes
2answers
30 views

Custom WebParts that depend on custom lists

I have a web scoped feature that creates List instances based on list-Definitions and i want these lists to be created in a sub-site. I'm running into the issue that the custom web-parts that use ...
0
votes
2answers
195 views

SharePoint 2010 Cannot access Properties or Events of my Custom UserControl in my Application Page

I have created a UserControl (Farm) in my SharePoint Project using VS2012 (for SharePoint 2010). I want to embed/host this in an application page. I have added properties and events to the ...
1
vote
1answer
34 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
74 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
293 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
521 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
93 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
95 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
75 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
172 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
59 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
132 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
69 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
253 views

How to change UI of EntityEditorWithPicker?

I have created a custom EntityEditorWithPicker control. And now I need add TreeView control at the left hand of the PickerDialog, when it is shown. But I can't found how to get an instance of ...
0
votes
1answer
226 views

What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure?

1.What is Site Content and structure in Sharepoint Online and what it is used for or how to create a site structure? Please provide me some good links or videos on activating and using it. I searched ...
0
votes
1answer
411 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
13 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
139 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
38 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
38 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
140 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
402 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

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
5 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
20 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
62 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
99 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 { ...