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

2
votes
1answer
1k 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 ...
6
votes
2answers
3k views

How do I add a custom control to the My Site person.aspx page?

I have created a server control and want to place it in the person.aspx page on the My Site however do not want to edit the page through SharePoint Designer but want to edit the file itself from the ...
3
votes
1answer
72 views

Template usercontrol hide based on page

Is it possible to hide a usercontrol that I have added to a custom template based on what page I am on. I have several pages that use the template but I only want one page to display the control the ...
1
vote
1answer
377 views

Page lifecycle events not firing for user control on page layout when anonymous user

I'm using SharePoint 2010. I have a custom user control on a publishing page layout. When an authenticated user visits a page that uses the page layout everything works fine. When an anonymous user ...
2
votes
2answers
262 views

Storing farm level data for a web component

I've built a SharePoint user control (not a web part) and am deploying it via Solutions, Features, etc. It's a commercial component and I want to be able to store license information once it's ...
0
votes
1answer
481 views

User control in custom list item edit - when can I see content type of item?

I have a user control I'm using to edit new list items. In my Page_Load event, I am trying to retrieve the Content Type of the new item to use in further logic. But, I'm getting a null reference ...
1
vote
1answer
2k views

SharePoint 2010 : Visual Webpart - Multiple User Control

SharePoint 2010: Visual Studio 2010 I have requirement : i have one web part and using custom web part property i load 4 different user control. Solution 1 : I created web part and using custom web ...
2
votes
1answer
655 views

Overriding GlobalNavigation Delegate control

I have overridden the GlobalNavigation delegate control and have been very pleased with the results. Now I would like to remove my global navigation from application pages that display in iframes ...
1
vote
1answer
368 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 = ...
0
votes
4answers
358 views

Javascript error on sharepoint page with search webpart and User Control containing UpdatePanel

I've been trying to find a cause for this error for some time to no avail... We have a SharePoint 2007 site heavily customized in terms of look and feel. In the master page a user control has been ...
0
votes
1answer
193 views

Developing ASP.Net User Control to be imported to SharePoint MOSS 2007

Apologies if this has been answered, but I could not find a similar question: I am developing a webpart for MOSS 2007. I am using WSPBuilder to built a visual webpart (ascx) and everything works ...
1
vote
1answer
194 views

Refining search results on multi-word names

I have a basic people search landing page setup with the standard webparts for searching: PeopleSearchBoxEx, PeopleCoreResultsWebpart, etc. On the page I make use of the RefineSearchResults web ...
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, ...
0
votes
2answers
605 views

Inherited TreeView control in Sharepoint 2010

I need to inherit the asp.net Treeview for fixing a rendering issue. I am currently trying to accomplish that in an Sharepoint project that also contains various other things like webparts, aspx, ...
1
vote
1answer
322 views

first visit to site loads page twice

I create a new Site Collection within an existing SP Web Application. The new Site Collection is created as a child of an existing Site Collection (the Root Site Collection in the Web Application) ...
0
votes
2answers
299 views

WebPart made of user controls

I have a number of custom web parts which have similar functions and properties shared through each of them. Each have a subset of a larger set of functions, rather than redevelop the same controls ...
0
votes
2answers
250 views

Sharepoint - 2010: how to add ajaxified part into standard list

I am new to Sharepoint and nearly completely satisfied what lists can do out-of-the-box. But I have to add new column with ajax autocomplete features. I'm extensively reading documentation, books ...
2
votes
2answers
1k views

Difference between Webparts and user controls?

Difference between Webparts and user controls?
1
vote
1answer
1k views

Unable to resolve The file '/_controltemplates/xxxxxxx.ascx' does not exist.

I have developed a custom user control and loading it in a webpart, the aim to run the webpart from bin with custom policy. I made the WSP Builder generate the CAS policy and it does contain the ...
3
votes
2answers
493 views

Custom User Control and FIPS Encryption Issues

I have created several custom user controls that I added to the Redering templates of some forms in a custom solution for WSS 3. Most of these templates have codebehind and they all are correctly ...
3
votes
3answers
2k views

ASP.NET User Control in SharePoint WebPart

I want to use the Visual Studio designer to make controls for my WebPart... I've been pointed to two approaches that seem ok. First, SmartParts... which I'll look into later. Second was to create an ...
0
votes
2answers
946 views

SpGridView and Get Selected Row Data

I am using SPGridView. I want to fill textboxes with the SPGridview Selected Row Data on a button click event. Does anyone know how to do that? My code: txtCode= ...
2
votes
2answers
1k views

How to consume a custom sharepoint web service in a sharepoint user control

i have created a custom web service in sharepoint which works fine, i am trying to use this web service in a user control but get missing assembly reference error, i have copied the webservice dll in ...
0
votes
3answers
3k views

How to deploy user controls in web application directory?

I'm using wspbuilder and using Return of SmartPart. Return of SmartPart need usercontrols directory in web application root folder. How can I use wspbuilder to create a package that will deploy things ...