-1
votes
0answers
29 views

Where should i write the piece of code in sharepoint 2010 to get it working [duplicate]

WHERE SHOULD IWRITE THIS PEICE OF CODE TO GET IT WORKING.I AM NEW TO SHAREPOINT. Custom sharepoint field that uploads a file in a specific document library and stores the url of the file after ...
0
votes
0answers
110 views

Editable ListViewByQuery

I used a LVBQ in a visual webpart. The list is displayed successfully and the filter applied using the Query is working without any problem. Now, I want to edit the items displayed by the listview. ...
0
votes
1answer
60 views

Cant access variables assigned in OnPreRender in a click event

Im trying to break down a problem Ive been having for several days. And I think it comes down too the code below. When I assign stuff in OnPreRender, I cant access them with my click event. What am I ...
0
votes
1answer
708 views

Adding a custom control in visual web part

Can anyone please provide steps or a link for deploying a visual webpart with custom control in sharepoint 2013?
0
votes
1answer
2k views

Creating and deploying a visual webpart using VS 2012

I'm new to sharepoint. I managed to create a visual web part in VS 2012. But I don't know how to deploy it properly. I only added a button control to the webpart page. After that I used F5 to deploy ...
0
votes
1answer
90 views

SharePoint 2010 Visual Web Part development @_parser.AddParsedSubObject LiteralControl WebPartPageUserException

I am using SharePoint 2010 Foundation on a vmware virtual machine. I am using Visual Studio 2012 update 3. I am working on a visual web part project. I have so far in this project only used asp.net ...
0
votes
2answers
42 views

Using sharepoint 2010 on another server in VS?

How can I use sharepoint 2010 that is on another server in VS? When I try to create a new project for creating visual web part, A message "Sharepoint not installed on this client" is showed.
6
votes
1answer
209 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 ...
3
votes
0answers
197 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.
3
votes
1answer
175 views

Why Microsoft.SharePoint.WebControls over System.Web.UI.WebControls? [closed]

I am building visual web parts for SharePoint 2010 Foundation, using ASP.NET 3.5 in Visual Studio 2010. For those who are new, these are like making a custom "normal" .net control that you can drop ...
3
votes
4answers
455 views

Problem with Visual web part

Good day! I have an event handler that, when you add a document to the library redirects the user to a web form with the parameters of the document. In the web form, it displays the current user in ...
1
vote
2answers
426 views

Event Receiver redirect to Visual web part

Here is my Event Receiver to redirected to my visual web part: public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); properties.Cancel ...
1
vote
1answer
277 views

Change Sharepoint Calendar View from month to day

How to change calendar view from month to day on button click event without ribbon ?
0
votes
2answers
165 views

XmlFormView and QueryStringFilter

I'm working on a project to automatically generate some document libraries and pages. One of these pages I have to put a infopath form webpart and a TextFilter to send to this form some information (a ...
1
vote
1answer
513 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
875 views

Retrive data using Caml Query Join Operation

How can I retrieve data from two SharePoint List using Join CamlQuery ?
1
vote
1answer
197 views
0
votes
0answers
447 views

Advanced filtering XsltListViewWebPart with custom webpart

I have got simple list rendered by XsltListViewWebPart. I would like to create additional filtering options using custom visual web part to provide list item id's to filter XsltListViewWebPart on same ...
1
vote
1answer
61 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)?
3
votes
1answer
2k views

How do I retrieve a user's LogIn name through the Created By column of a specific item in a document library

Created By Field Returns the following: 1073741823;#System Account I want the following without string manipulation (i.e. without using substring to remove all of the characters before ";#"): ...
0
votes
4answers
2k views

JQuery in a Visual WebPart won't load on the page with the webpart

Hey I have a bunch of JavaScript/Jquery code that works really well when I use a Content-Editor webpart, but does not execute when I add the same code to the VisualWebPart mark up. I am referencing ...
1
vote
1answer
1k 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 ...
2
votes
1answer
972 views

How do I set the Default Value of a TextBox ToolPart without using [DefaultValue(“Default Value”)]

Right now I have created a bunch of custom controls in the ToolPart panel and I want to set a default value for one of the text boxes. Obviously I want the value to be editable by the user. I have ...