SharePoint Controls
SharePoint user controls
WSS 3.0 comes with a number of user controls that you can use in your web parts and application pages. These controls are located in the 12\TEMPLATE\CONTROLTEMPLATES folder.
SharePoint server controls
The Microsoft.SharePoint.WebControls namespace of the Microsoft.SharePoint.dll contains a number of SharePoint server controls that you can use in you web parts and application pages.
- DateTimeControl control
- InputFormTextBox control
- InputFormCheckBox, InputFormCheckBoxList and InputFormCheckBoxListValidator controls
- InputFormRadioButton control
- SharePoint validation controls
- PeopleEditor control
- ListFieldIterator control
- ListViewByQuery control
- WebApplicationSelector control
- SPGridView control (written by Paul Robinson)
- SPDataSource control (written by Chris O’Brien)
Other controls that are useful on application pages for the Central administration can be found in the Microsoft.SharePoint.ApplicationPages.Administration.dll located in the 12\CONFIG\ADMINBIN directory:
- AdministrationDataSourceControl control
[…] every page in the SharePoint controls section by Karine Bosch (really, really, really good […]
Pingback by Using the intrinsic SharePoint Controls | ASP Scribe | July 12, 2009 |
[…] Bosch zeigt die einfache Verwendung von SharePoint User Controls und SharePoint Server Controls, unter anderem “InputForm Controls”, “DateTime Control”, “PeopleEditor Control”, […]
Pingback by Daniel Buschke – Blog » Benutzung von Sharepoint Controls | July 12, 2009 |
Hey Karine, your last two links appear to be broken. Thanks for a great list!
Comment by Alex | July 13, 2009 |
[…] every page in the SharePoint controls section by Karine Bosch (really, really, really good […]
Pingback by Tune Up Your PC » Post Topic » Using the intrinsic SharePoint Controls | July 13, 2009 |
Hey Karine, could you please tell me if lost focus kinds of events of SharePoint Webcontrols be avialable?
I want to execute something when user leaves SharePoint Textfield Control.
Thanks & Regards
Khushi
Comment by Khushi | October 19, 2009 |
How do I get the required field * to appear? Im using a validator control for the textfield but that doesn’t appear to have any impact.
Comment by Mike | March 23, 2010 |
It should appear automatically when you haven’t filled out a required field.
Karine
Comment by Karine Bosch | March 30, 2010 |
Got any examples of localization of web parts using external resource files under wss 3.0?
Comment by John | April 1, 2010 |
John,
I’m very sorry but I don’t have examples on localization of web parts.
Karine
Comment by Karine Bosch | April 2, 2010 |
Is there a “beginners” blog you can recommend?
Comment by Rock Anchor | April 26, 2010 |
Hi,
I am having the XAP application with Resource files. I would like to deploy these two files in SP foundation 2010. When the user changed the site language from sharepoint site, my web parts control value need to change based on user selection. Please let me know how to implement this.
Comment by balaji | January 3, 2011 |
Hi balaji,
Do you mean you have a localized Silverlight application? Or do you have 2 XAP files (one for each language), compiled as resource files in your web part?
Karine
Comment by Karine Bosch | January 3, 2011 |
Hey thanks for the overview…
Comment by Andreas - SharePoint Tutorial | June 6, 2011 |
Hi Karine,
This information is really helpful. Thanks for all the postings.
I do have a question regarding display information from mulitple lists in one view (merging records from lists into one record).
Lets say we have three SharePoint lists that have relationships how would you go about building this in one view using a custom application page?
Comment by Amir | August 12, 2011 |
Hi Amir, my first (but very important) question is: are you working with SharePoint 2007 or SharePoint 2010? Once I know that, I’ll try to formulate an answer.
Comment by Karine Bosch | August 12, 2011 |
Thanks for these detailed articles!
Comment by Jeff Lei | October 10, 2011 |
hi Karine,
Can you help me.How to convert “” to edit mode where user can able to add what ever value he can able to enter.Currently in my publishing filed when i add “Document Created By” column this filed is appeared in my layout.Actuall needed is to display my content author name over there.But it is displaying like “domain\username” which is not the expected one.
Comment by Vamshi | December 18, 2011 |
hi Karine,
to convert sharepoint webcontrol.
Comment by Vamshi | December 18, 2011 |
Hi Vamshi,
I hope I understand you comment well. You are not able to edit the “Document Created By” field as this is managed by SharePoint itself. You will need to add a custom site column/field that you can manage yourself using the SharePoint controls. You are able to change values in SharePoint controls when your form is in Edit mode.
Comment by Karine Bosch | December 18, 2011 |
I dont want to add site column now.since i was done using max.So for this i was done by using control “Sharepoint:formField” with Fieldname=”Author” the thing is Author name is getting displayed as anchor link with redirecting URL.I want to disable that.how to acheive this.
Comment by Vamshi | December 19, 2011 |
Goood.But i feel some are missing..
Comment by Mighty Young Joe | December 29, 2012 |
[…] The ListViewByQuery Control « Karine Bosch’s Blog […]
Pingback by Resources: SharePoint Development,Programming And PowerShell | lionadi | March 18, 2013 |
Is there any label in sharepoint
Comment by shiva | April 5, 2013 |
Hi Shiva,
You can use the SharePoint:EncodedLiteral control for this purpose. You can find a sample here: https://karinebosch.wordpress.com/sharepoint-controls/inputformsectionascx-control/
Kind regards,
Karine Bosch
Comment by Karine Bosch | April 5, 2013 |
Thanks for the great post, Karine
Comment by Laila | June 7, 2013 |
[…] make that custom admin page the UI for creating and managing your custom database. Karine Bosch has several articles about the controls that SharePoint uses in its admin pages so you can maintain that look and feel. If the database […]
Pingback by How to setup a database on custom module installation (or feature activation)? | CL-UAT | December 29, 2014 |
SharePoint 2013. I have a number of SharePoint groups established for my site collection. I have added controls to an InfoPath form that will allow the user to select a person from a group that I have assigned to the Content Type or column. I do not have any constraint rules on the selection control on the form. Users that are using this form are getting a message that they do not have permissions to use the control. Do you have any clues as to where or what these permissions may be so that I may correct this so that all user that can update using the form will also have access to these controls.
Comment by Robert Pimenta | September 26, 2016 |
Hi Robert,
I would post this question to the fora dedicated to InfoPath.
Kind regards,
Karine Bosch
Comment by Karine Bosch | November 28, 2016 |