Tagged Questions
0
votes
1answer
27 views
display Multi parents-childs dynamic Diagrams in sharepoint web access
We design KMS (Knowledge Management Systems) with SharePoint that everything is OK but we need to Display relations between entities,Documents and etc. in Web access.
my question about solutions: ...
1
vote
0answers
16 views
Import Error on ChartDataProvider Webpart
My Sharepoint project contains a visual Webpart which retrieves data and works fine.
In addition to that, I want to display some Chart webparts which visualize this data.
In order to do so, i added a ...
0
votes
1answer
50 views
How to use dynamic or relative path in SPList object?
I am using the following code to read a picture library:
SPList list = SPContext.Current.Web.GetList("http://win-12/sites/mysite/ImageLibrary")
Problem is, in above code "win-12" is my machine name ...
-1
votes
1answer
24 views
How to access Literal conrol from Visual Web Part code file
I have added a literal control in my visual web part VisualWebPart1.ascx file as follows:
<asp:Literal id="slider"></asp:Literal>
I am trying to access it in VisualWebPart1.ascx.cs file ...
0
votes
2answers
96 views
Users can't see css on my visual webpart
I'm trying to add some css on my webpart for the first time in SP2010. But for some reason the css only works when you visit the site on the sharepoint server. I belive it's the href path because it ...
1
vote
0answers
69 views
Change month in SharePoint MonthlyCalendarView control
How to change month in SharePoint MonthlyCalendarView Control? It seems, there is no way to change month in calendar or change view of calendar.
0
votes
1answer
27 views
Content Query Crazy behavior
I have a custom webpart that works like a carrousel, just showing images... im having problems because when the site is acessed via https the images just dont show...
the images are not hardcoded, ...
0
votes
3answers
473 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
1answer
153 views
Change Sharepoint Calendar View from month to day
How to change calendar view from month to day on button click event without ribbon ?
2
votes
2answers
2k views
Difference between WebPart & Visual Web Part
I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010.
Thanks!
1
vote
1answer
308 views
Call Javascript on Sharepoint Calendar add button Click
How to call JavaScript in SharePoint Calendar Add Button Click event ?
2
votes
3answers
304 views
How to change active directory password from webpart?
How to change active directory User Account Password using code?
2
votes
3answers
509 views
Retrive data using Caml Query Join Operation
How can I retrieve data from two SharePoint List using Join CamlQuery ?
1
vote
1answer
80 views
0
votes
1answer
253 views
In sharepoint 15, How do I use the person field in a custom web part?
Sharepoint 2013 gives a pop up when the cursor is kept on top of a users name ( the pop up allows to connect to email, lync, etc)
I need to add that field in my custom webpart... Is there any way ?
1
vote
1answer
499 views
Use a querystring parameter in a CAML Query
I want to pass a parameter between two separate web parts I am developing. In my 'Detail' webpart i need to build a CAML query to display the correct profile based on their name.
pdquery.Query = ...
0
votes
2answers
175 views
Does web part property validation only work for visual web parts?
Suppose I define a web part property like this:
private string _myString = "default value";
[WebBrowsable(true),
WebDisplayName("My string"),
WebDescription("A simple bit of text to ...
1
vote
2answers
2k views
Deploying web part from Visual Studio?
I exported a Core Search Results Web Part and created a new Visual Web Part in a Visual Studio project. I have added some code to the .cs page and the code for my exported webpart to the .webpart file ...
1
vote
1answer
56 views
Web Part Resources e.g. Images and Scripts [duplicate]
What is the best practice for including resources such as Images / Stylesheets / Scripts in a custom visual web part (built with Visual Studio)?
1
vote
1answer
680 views
how to Render Controls from CodeBehind into a specific Panel
I'm in the process of working thorugh Microsofts video tutorials for developing on Sharepoint. My actual small project is to create a visual Webpart which displays a list of all registered users with ...
1
vote
1answer
713 views
Causes of “The Web Part you are connecting from does not allow authoring of connections”
When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is ...
0
votes
1answer
489 views
“LinkTitle” column from event list dose not render when added to a repeater control?
I have the following code to render the event Titles (the LinkTitle Column) in a custom web part:
<asp:Label ID="Title" runat="server" CssClass="titleStyle" ...
0
votes
1answer
234 views
How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.
I am creating a visual web part to display the calendar events in the form of an events list with custom css. The web part will be on the home page of my site. Here is what I have right now and it is ...
1
vote
2answers
1k views
Access denied in Sharepoint 2010 HTTP handler (.ashx)
I've developed a Visual Web Part for Sharepoint 2010 that includes an HTTP handler for some AJAX functionality. I followed this guide to accomplish this.
I've createad a brand new SP 2010 web ...
0
votes
3answers
5k views
Cannot connect to the Sharepoint Site from Visual Studio 2010
I'm new to Sharepoint. I'm trying to create a simple webpart using Visual Studio 2010 but when I try to validate my Sharepoint Server (both VS 2010 and Sharepoint are present in two different system - ...
1
vote
1answer
655 views
How do I Retrieve the choice values of a column in a Document Library
I am fairly new to SharePoint development and as you may all know that it is very basic for one to know how to access fields in a choice column...
My problem:
I want to access the values of the ...
0
votes
2answers
348 views
How to get FBA users' profile with ASP.NET
I'm getting Windows users' profiles, in my webpart, doing the following:
UserProfileManager pm = new UserProfileManager(SPServiceContext.Current);
SPUser spuser = web.AllUsers.GetByID(user.Id);
...
0
votes
1answer
537 views
Set web part custom property when adding to page from code
We have a solution that adds All Assignments Web Part from Sharepoint Learning Kit into a page. Here are code snippets we use to do that:
public static string AddWebPartToPage(SPWeb web, string ...
1
vote
3answers
2k views
Getting error “Attempted to use an object that has ceased to exist.” when adding web part
I have created a web part in visual studio, it deploys fine, but when I try to add it to a page I get the following error:
Attempted to use an object that has ceased to exist. (Exception from
...
1
vote
1answer
533 views
Building a custom web part for SharePoint 2010
I'm interested in building a custom web part for SP2010 that's editable by the page editor via the web part menu's "Edit Web Part" option; specifically, I'd like to start with this: ...
3
votes
5answers
1k views
Visual web part and custom web control - can't register
I have created visual web part and copied custom web control which I'd like to use. My control looks as below:
namespace AppsListWebPart
{
[ToolboxData("<{0}:CustomImageButton ...
1
vote
1answer
479 views
Visual web part properties - override drop down list text
I have an visual web part with custom enumeration property which is rendered as drop-down list. I'd like to localize what is displayed in the list, because it's not very informative for the end user. ...
0
votes
1answer
944 views
Localizing ASP markup in webpart issue
In my web part I have an label, which I want to be localized:
<asp:Label ID="AppJSTNameLabel" runat="server" Text="<%$Resources:AppListWebPart,NoSelection%>" />
I have mapped Resources ...
2
votes
1answer
1k views
Visual Web part - async load
I want to create async load of visual web part. Code behind (web part) needs some time to load data so I figure to create that in async way (on page load). Scriptmanager is placed in master page (ajax ...
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 ...