Tagged Questions
0
votes
3answers
465 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:
...
1
vote
2answers
320 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
1answer
124 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
1answer
874 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 ...
1
vote
2answers
991 views
SPCalendarView control, same events are displayed each month in a VisualWebPart UserControl.ascx.cs file
I am creating a custom SharePoint Calendar to pull from multiple SharePoint Calendar Lists.
In the markup I have the following:
<SharePoint:SPCalendarView ID="EventsCalendar2" width="100%" ...
0
votes
1answer
463 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 ...
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 ...
