Tagged Questions
1
vote
1answer
24 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
0
votes
0answers
42 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 ...
1
vote
2answers
321 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
239 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 ...
2
votes
2answers
375 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 ...
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 ...
0
votes
1answer
95 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
1answer
527 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
2answers
1k views
Adding multiple controls to AdditionalPageHead
My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded.
My questions are:
How to add multiple controls?
I want that the different ...
0
votes
1answer
140 views
GetLocalizedString in CreateChildeControls returns source string
I have a strange issue ... I want to retrieve resources programmatically from a SharePoint default resource file wss.
So in one of my controls im executing the following code:
protected override ...
1
vote
0answers
262 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
78 views
Display mode of custom EntityEditorWithPicker
I've developed custom entity editor, based on EntityEditorWithPicker with ability to select multiple values.
Everything works fine in NewForm and EditForm, but I have strange annoying problem - only ...
2
votes
4answers
464 views
Which is Better a UserControl or WebPart?
What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
1
vote
1answer
89 views
How to upgrade user controls on Development Server
I just came across User Controls developed by developers who left company now, I tried looking on google on how to upgrade them on development server but couldn't find any blog or post regarding it.
...
0
votes
2answers
381 views
Beginners question regarding code-behind for aspx pages
I've been studying sharepoint for a matter of days now so please bear with me if I'm missing something really obvious. I've followed a couple of guides that have got me familiar with the process of ...
1
vote
1answer
600 views
Infopath 2010 “Get choices from fields in this form” combo box is read only. Why?
I created an Infopath custom form and I want to have a combo box that retrieves its data from other fields in the form (user fills a repeating group in View 1 and then in View 2 I want to display the ...
4
votes
3answers
367 views
Manage some state inside a Sharepoint WebPart
Considering a simple example of a webpart that adds items to a list based on a simple button click:
public partial class MyVisualWebPartUserControl : UserControl
{
private int cont = 0;
...
3
votes
1answer
66 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 ...
0
votes
2answers
865 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= ...
