All Questions
6 questions
1
vote
0
answers
203
views
how to add WebControl to my page layout
I want to add the following code to my page layout to fix a bug in SharePoint 2013:-
[ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage runat=server></{0}:...
0
votes
3
answers
1k
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
2
answers
3k
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 enough ...
0
votes
1
answer
90
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 ...
3
votes
4
answers
4k
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 ...
4
votes
3
answers
490
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;
...