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.
0
votes
2answers
1k views
Can a user control be added to a Visual Web Part?
Can i add a user control to a Visual Web Part (in visual studio) in sharepoint 2010?
I have a user control which has content that i want placed on most of my visual web parts.
Has anyone got any ...
3
votes
1answer
355 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 ...
1
vote
0answers
15 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 ...
3
votes
1answer
137 views
How to make a UserControl Minimal Download Strategy Compliant
I have a feature which specifies a custom user control to be added to the AdditionalPageHead delegate control as such:
<?xml version="1.0" encoding="utf-8"?>
<Elements ...
2
votes
1answer
304 views
SharePoint List items, UserControls and cookies
I have another task at hand. I need to use cookies to read a title of an item from a custom list in SharePoint. This task is for SharePoint 2010.
I have a container set up that will display the ...
3
votes
1answer
285 views
adding link to suite bar in sharepoint 2013
I have followed the following liks to add custom links to sharepoint 2013 suite bar.
http://blogs.msdn.com/b/findnavish/archive/2013/02/07/sharepoint-2013-customizing-suite-bar.aspx
...
0
votes
1answer
49 views
Adding user control to 2013 master page causes a 404 error
I have a problem when adding a user control to my SharePoint 2013 master page: my site shows a 404 error.
At this point I have a brand new, empty user control (i.e. created in VS2012 but nothing ...
0
votes
2answers
48 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 ...
2
votes
1answer
28 views
Rich Text Control on a Layouts Page
I want to create and deploy a layouts page in a SharePoint 2013 environment. It is basically a form where you can store values.
Is it possible to use the Rich Text Control which is utilizing the ...
1
vote
1answer
30 views
Loading a UserControl within another UserControl code
Can someone tell me how I can load a user control from within another user control.
I'm using MOSS 2007
1
vote
1answer
68 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" ...
0
votes
2answers
49 views
Putting User Control in Web Part
I'm pretty new to SharePoint but am trying to get the hang of it. What I have been doing is creating ASP.NET web application pages and then deploying those to the SharePoint site. This works and is ...
1
vote
0answers
97 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 ...
0
votes
3answers
1k views
SP2013: Adding a custom usercontrol to masterpage using Design Manager
I created a custom masterpage using the SP2013 Design Manager. I also created a SharePoint solution in Visual studio 2012 with a custom usercontrol (ascx) and custom webparts.
The masterpage works ...
0
votes
0answers
48 views
Documentation for SharePoint 2010 OOTB web controls
Often I have a needs to provide different customizations to list, libraries, webs via custom action, which opens custom application page (in modal dialog). I place on page controls to provide UI.
In ...
0
votes
1answer
98 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
481 views
Custom link button - image dissapearing after updatePanel reload
I created a custom link button control so it can display also an image. Code below:
namespace SharepointTools.Controls
{
[ToolboxData("<{0}:CustomImageButton ...
0
votes
0answers
37 views
UserControl is not added to AdditionalPageHead of people.aspx
For some reason my usercontrol cannot register javascript block to people.aspx page while it is present in other application pages. The usercontrol is provisioned to AdditionalPageHead.
Luckily I was ...
0
votes
2answers
1k views
When should we call EnsureChildControls()
According to Microsoft,The EnsureChildControls() method is called in order to make sure that child controls have been created.
I see many developers call EnsureChildControls() in ...
1
vote
2answers
186 views
Add user control or web part to every page in a site
I want to have a feature which causes the following to happen everytime any page in a site loads.
I need to have a web part or user control which adds information about the current user to the page. ...
1
vote
3answers
306 views
user control losing new values when saving
I have a user control in a web part that pulls data from a SP list and displays it in standard ASP.Net controls. When I save the data, the old values seem to get saved even if I had changed them. I ...
1
vote
2answers
62 views
sharepoint 2007 webpart question
I created a user control in visual studio I want to deploy to sharepoint 2007. This is my first one and I created the project using the repository pattern and POCO. Does sharepoint support this type ...
0
votes
1answer
217 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 ...
1
vote
1answer
137 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
37 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
3answers
562 views
How can I access Controls in VisualWebPart1.cs from UserControl.ascx
I make a Webpart and want to use the controls from the VisualWebpart1UserControl.ascx in the VisualWebpart1.cs. Is this possible?
I wrote following code in the VisualWebpart1.cs:
...
0
votes
1answer
88 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 ...
2
votes
2answers
444 views
Tutorial for displaying a MessageBox in a WebPart [duplicate]
Possible Duplicate:
Couldn’t find any way of displaying a message box in Visual Webpart 2007 (User Control)
I have been working on SharePoint 2007 for more then a year but still don't have ...
1
vote
2answers
385 views
Couldn't find any way of displaying a message box in Visual Webpart 2007 (User Control)
I almost tried everything I could to display a nice message box in user control (.ascx) or code behind, but I failed miserably,
Can anyone find me a tutorial in context to what I need and will 100% ...
0
votes
3answers
258 views
Webpart properties getting empty after IIS Reset
I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
0
votes
1answer
136 views
How do i add a UserControl to a VisualWebPart (sandboxed)
I have installed Visual Studio power tools so that i can add Visual Web Parts. This all works fine, i can deploy Visual Web Parts etc.
I now want to create a UserControl in my solution which i can ...
0
votes
0answers
44 views
Not able to access the user control within an other control
Under SharePoint mapped folder, I have created many .ascx Controls. I registered One User Control "HGMSRequiredFields" into another user Control "FormControl".
At "FormControl.ascx" I register ...
0
votes
2answers
223 views
Cross Browser Rich Text Editor Control
I may be going crazy over here, but I cannot seem to find a Rich Text/HTML control for SharePoint 2010.
I have successfully implemented an InputFormTextBox, but this only shows up in IE.
I've tried ...
1
vote
4answers
790 views
ASP.Net Validators part of Custom control in WebPart
Custom control has 6 buttons in which 5 of them have CausesValidation = false, the one remaining button ( lets calls it as "SUBMIT") which cause validation.
Edit: Validators and Submit button are ...
0
votes
1answer
315 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, ...
0
votes
1answer
200 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 ...
1
vote
1answer
98 views
why sharepoint doesn't look into sub-folders for control templates by default
I wonder why sharepoint doesn't look into sub-folders of control templates in 12 hive, even tho by default its suppose to.
I googled and seen people loading it from custom location in there code but ...
0
votes
1answer
63 views
Getting resources in a Visual Webpart
I want to get resources that are kept at directory in my visual webpart "User Control" for SharePoint 2007:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources
At the ...
1
vote
1answer
395 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 ...
0
votes
1answer
158 views
Correct way to use the people picker and Rich Text
I'd like to have a custom form that lets me add items to a list.
There are two fields giving me trouble.
One is a "Moderators" field which will use a people picker.
The other is a "Body" field, ...
0
votes
1answer
100 views
When placeholder is filled with content from page in master page
My question about the placeholder, basically I have to perfrom a check in my custom user control for some controls, but does controls are loaded from a page in a placeholder.
And my user is located ...
1
vote
3answers
2k views
Create SP People Picker on the client-side
I would like to know if there is a way to generate a SharePoint 2010 People picker control just with JavaScript. Imagine that I am doing a Windows 8 App, I would like to create that control ...
1
vote
1answer
551 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 ...
0
votes
1answer
62 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
0answers
109 views
Multi-Select choice listbox in SPD
When I create Choice column from SharePoint designer, it gives me three options under display as:
Drop-down menu
Radio buttons
Checkboxes
Apparently, for multiple select option, we only have ...
0
votes
0answers
66 views
Client facing Sharepoint site - avoiding User Controls for SSRS report input
I inherited a SharePoint (2007) website that my former co-worker was managing for our company. I only have limited experience with SharePoint.
A bit about how the system is designed as far as I ...
0
votes
1answer
1k views
SharePoint List form buttons and &Source on Cancel and Close
If I don't SharePoint Designer customize List newform, editform and dispforms, can I still use my own button outside of the webpart to submit data from the form. Say I'm using CSS to hide the ...
3
votes
1answer
169 views
How to migrate c# application to Web Control to use in SharePoint application
I have created C# application which use Microsoft.SharePoint Namespace.
That Application let the user to select the wiki page and available anchors inside that wiki page.
Now I migrated that C# ...
0
votes
1answer
202 views
How to keep PlaceHolderPageTitle without removing them when prompt with 'The page has one or more <asp:Content> controls…'
I have the following error prompted when opening a aspx page in SharePoint Design view
The page has one or more <asp:Content> controls that do not correspond with <asp:ContentPlaceHolder> ...
0
votes
1answer
177 views
Delete a user Completely in SharePOint 2010
Is there a way that when an administrator deletes a user from a SharePoint group the user can be totally deleted .Presently when an admin deletes a user from the group he can still see the user in the ...



