0
votes
1answer
48 views

toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010 a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
1answer
38 views

Datatables not working when placed in one single webpart?

We have added two datatables in one single webpart. And when one of the datatable is empty the search function does not work for the other one which has data. Why does that happen? Or how can we ...
0
votes
1answer
108 views

SPMenu Field for sharepoint document library

I have written code where it will show the Sharepoint document library in sp grid view.It is showing the grid but i want the default spmenu field for the type icon. please see the attached image. ...
0
votes
2answers
113 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
2
votes
1answer
56 views

Create a VisualWebPart from Picture Library

I've a Picture Library to which I added pictures,now i want to create a Visual Web Part which displays a list of pictures added to library like this I created the similar design in ascx file like ...
0
votes
1answer
58 views

Get Chart web part to dynamically change with original share point list

I have a sharepoint list that contains a list of projects and their technology. Example. P1 - Java P2 - SAP P3 - Oracle P4 - Java p5 - Oracle I want to be able to represent the Tech distribution ...
0
votes
0answers
232 views

SharePoint 2013 Updatepanel Idle

I have implemented AJAX update panel on my SharePoint visual web part. The web part contains two dropdownlists and and a grid surrounded by update panel. The page is working fine in Chrome/Safari/IE ...
4
votes
3answers
5k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix ...
1
vote
2answers
66 views

ModalupDialog not Working Properly

i had made Modalupdialog for Document Upload fro following Cod. <script type="text/javascript"> function RedirectUpload() { var tempUrl = ...
1
vote
1answer
324 views

I want to make a weather webpart that displays temperature by using Api like Google or yahoo

I want to make a Weather web part form any api. I have searched on Google but could not find any good solution. So, any link or suggestion or steps for that?
6
votes
1answer
200 views

Protect wsp file from Reverse Engineering

How to protect wsp file so no one can read my source code. When we change wsp file extension from wsp to zip, it gives all dll file and this dll can be extracted from .net reflector and get all source ...
0
votes
1answer
189 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
119 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 ...
1
vote
1answer
437 views

need to display image of the user in the people picker, Sharepoint 2013?

In the people picker, the attributes it shows are name,designation and their online or offline status, Is it possible to display the image of the person?
3
votes
0answers
182 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.
2
votes
2answers
968 views

How to set visual webparts to load one after - another sharepoint 2010

I have a webpart page which have 2 custom visual webparts. When i set the debugger point on both the page loads of the webpart the 2nd visual webpart debugger is hit...that makes me think the 2nd ...
1
vote
3answers
478 views

Jquery clickable Tooltip inside SharePoint WebPart

I have a requirement in which when ever user hover over a text(hyperlink) a tool-tip should appear that should contain images which are clickable using JQuery $('.cover_beholder').hover( function ...
0
votes
2answers
66 views

Getting value on a custom webpart from another custom webpart on a page

We have a SharePoint page which contains one visual webpart(vw1) which is displaying few values(id,name,address) on it. Now i need to add one more custom webpart(vw2) and which should get the value ...
1
vote
1answer
259 views

Change Sharepoint Calendar View from month to day

How to change calendar view from month to day on button click event without ribbon ?
1
vote
1answer
470 views

Call Javascript on Sharepoint Calendar add button Click

How to call JavaScript in SharePoint Calendar Add Button Click event ?
3
votes
3answers
3k views

How to change active directory password from webpart?

How to change active directory User Account Password using code?
2
votes
3answers
834 views

Retrive data using Caml Query Join Operation

How can I retrieve data from two SharePoint List using Join CamlQuery ?
1
vote
1answer
180 views
4
votes
2answers
1k views

Create a custom error page to redirect to instead of generic AccessDenied.aspx?

When a user has not been given permissions to a particular site they receive the ugly "Error: Access Denied" page. Is it possible to capture this on one particular team site (via custom webpart) and ...
1
vote
0answers
169 views

SPQuery on ECT very slow

I am creating a custom web part which is supposed to return results from an External Content Type(ECT) List which contains almost 40,000 records. There are multiple ways the items can be searched and ...
1
vote
1answer
410 views

Permissions to write into but not view a list?

I have a custom web part on my home page that is essentially a textbox and a button for submitting suggestions. The suggestions are written to a custom list named "Suggestions". Now, I would like ...
0
votes
3answers
501 views

UserProfileManager in Console Application

I have code that works just fine (visual web part). I had deleted the testing console application, and now I have need for it again. The browser will open up once running the console application, but ...
1
vote
1answer
251 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
0
votes
1answer
676 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
313 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 ...
0
votes
1answer
652 views

Rendering IMAGES (attached to announcement list) in my custom web part?

Please bear with me as I am brand new to the whole sharepoint world. I want to be able to display images that have been attached to OOTB announcement list in a custom visual web part I am trying to ...
1
vote
2answers
2k 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%" ...