Visual Web Part is a Web Part built using a User Control (.ascx)

learn more… | top users | synonyms

3
votes
0answers
18 views

SharePoint 2013 Site Definition Toolbar Type Standard not showing

I have a problem with the toolbar type "standard" in SharePoint 2013. If I insert a XsltListViewWebPart with , there is no "New Element" button. And no "View Choice" and something like that. I've ...
0
votes
1answer
21 views

SharePoint cascading drop down on visual web part using client side code

Hi I am working with cascading drop down in a visual web part. I am able to complete this functionality using c# but I want to implement this functionality using JavaScript jquery basically I want to ...
0
votes
1answer
38 views

SharePoint visual webparts for NewForm with client side coding

I need to use visual web parts to create a new item form for a list. I know I can do this by using SSOM.. But I want to reduce the load on the server Can I use CSOM?.. Or is CSOM mainly for sandbox ...
0
votes
0answers
9 views

Show all Lists of current site in custom web part properties in SharePoint 2013

I have been trying to load all the SP Lists of current site in web part properties, but i just found out that there is no cs file of the web part in 2013, has the concept of web part properties ...
0
votes
2answers
28 views

Can I deploy a farm solution to my site collection only

I have created a visual web part using visual studio of type "Farm solution", then I add the wsp file using the following command:- PS C:\Users\Administrator> Add-SPSolution ...
1
vote
2answers
95 views

Fixing managed meta data navigation problem

I have the following :- SharePoint server 2013 web application. the web application contains two site collections of type enteprise wiki. i have enabled metadata navigation for the two site ...
0
votes
3answers
38 views

SharePoint 2010 how to find the subsite name programmatically and refer the Parent site WebPart

I have List created in the Parent Web and created a Visual WebPart to pull the data from the list and display. When I add the same WebPart in the SubSite pages the data is not populating to display. ...
0
votes
0answers
22 views

Please wait message while page with visual webpart is loading

I have a page which consists of a Visual webpart. The user goes to the page by clicking on the Sharepoint default side nav. The page I mentioned earlier takes a while to load and I would like to have ...
0
votes
0answers
21 views

Issue when *directly* deploying a Solution on SharePoint 2013

I have been having trouble deploying a WSP file (a solution containing visual web parts and [primarily] core backend logic) to our SharePoint 2013 server. Deploying through Visual Studio works ...
0
votes
1answer
53 views

People Picker custom error message

I have people picker in my custom web part (SP 2013), and all my controls in updatePanel. Requirement is to set a custom error message for people picker. I am able to change the error message in ...
0
votes
0answers
24 views

URL field in sharepoint : Points to Control Template when http removed

We have a requirement to display urls based on logged in user . We created a single line of text for url storage in sharepoint list . C# code pulls the data and displays correctly . All is well when ...
2
votes
1answer
42 views

Removing add new in a custom webpart

I am currently using Sharepoint 2013 foundation. I created a custom Web Part in Visual Studio to help filter a custom list on logged in users. Each logged in user will see a separate view. I then add ...
2
votes
1answer
53 views

Convert asp.net website solution to visual web part

I have a small website written in asp.net c#. It consists of 7 pages or less and a master page, connected to a database and references a class library. How to convert it to a visual web part in ...
0
votes
0answers
12 views

How to clear custom property value in web part

I have created a custom property ListName in a Visual web part that takes string as input. I am using a check condition in page load and if that check fails, I want to clear the text box (custom ...
2
votes
0answers
24 views

Chart control data points not visible - Visual WebPart

I have created a Chart control based visual webpart. I have used custom labels for both x and y axis. The problem when i am trying to plot xy values, it is not visible in the chart. Code ...
1
vote
3answers
664 views

Error occurred in deployment step 'Activate Features'

I am creating and deploying Visual Web Part on SharePoint 2013 with VS 2013 as Farm Solution. When deploying Web Part on the server i get the following error: Error occurred in deployment step ...
0
votes
2answers
73 views

CSS Styles in ASCX are not being Rendered

I have a Visual WebPart being used on a self-hosted SharePoint 2013 stack. Problem is that in the WebPart design file, I have a Style tag <style>.. with some definitions for how certain ...
0
votes
0answers
118 views

Attach file to list item in SharePoint 2013 Sandboxed solution

I have developed a visual webpart in Sandboxed solution for SharePoint 2013/Online. I am trying to add an attachment to list item at the time of creating the item using Client Object Model. I have ...
0
votes
0answers
22 views

Add Property page value to sharepoint ASP page

I have a simple SharePoint 2013 webpart that will simply use the marquee tag to scroll text across the part. I have one personalization part in the configuration section: the text to scroll. The ...
0
votes
0answers
20 views

Web part mysteriously prevents saving edits to webpart-page

I've got a mystery problem with a visual webpart in SP2010. The webpart itself is working perfectly. Weird thing is that after you add an instance of this particular webpart to a page (by editing a ...
0
votes
0answers
126 views

Sharepoint web control in visual web part - value cannot be null, parameter name: input

I create a visual web part to change edit form of Task list. When I click Sharepoint:Savebutton i get error: Server Error in '/' Application. Value cannot be null. Parameter name: input ...
1
vote
0answers
42 views

How to show sorting arrow in SPGridView

I have an SPGridView control in a visual web part. I am trying to implement sorting functionality, but the grid control is not displaying the sorting arrow next to each column header. How can the ...
0
votes
2answers
66 views

SPGridView SelectedRow.Cells[] returns empty value

I have created an SPGridView control in my visual web part. Inside SPGridView, there is an SPHyperLink control that stores some URL. When accessing this value using SPGridView ...
0
votes
0answers
21 views

The type or namespace name 'MontlyCalendarView' could not be found

I am following this document Walkthrough: Creating a Web Part for SharePoint by Using a Designer but I get this error: The type or namespace name 'MontlyCalendarView' could not be found. Are ...
0
votes
2answers
40 views

How to trigger a click event for a column item in SPGridView control

I have created a SPGridView control in a visual web part project. This control displays all the folders inside a Document library. I have used SPBoundField to the display the column data. Is it ...
0
votes
0answers
24 views

How to know if the expanded node in a TreeView control is a list node or a folder node

I have created a tree view structure using TreeView control in Visual Web part. This structure shows all the document libraries and the folders inside it. Is there a way to know whether the expanded ...
0
votes
1answer
161 views

Unable to Edit Web Part Properties in Web Part Zone in 2013

I have a custom page layout that I have designed using Visual Studio. Within it I have several web part zones and I have a zone where I would like users to be able to edit the properties of the web ...
0
votes
2answers
61 views

set a users profile to default sharepoint image programatically

I am trying to create a custom web part which shows the current users photo and his name. Also i am giving two buttons one for adding an image and another for setting it to default image or removing ...
0
votes
0answers
38 views

Getting error when trying to open a spsite in Application page

I am Trying to open an spsite in Application page like Sp context.current.web but here spcontext is null so i tried like giving whole URL path via a string .Here error coming as 404 file not found ...
0
votes
0answers
21 views

Plain HTML css-links and script-links in a Visual Webpart? (sp2010)

The recommended way of adding js and css to any Sharepoint component is using Sharepoint:CSSLinks and RegisterClientScriptBlock. But I hate it! I like being able to use as much pure HTML as possible, ...
1
vote
0answers
34 views

SharePoint 2010 and 2013 can't not find SPLimitedWebPartManager

I trust this is one of the most common question when approaching with adding webpart to you sandbox solution through SharePoint 2010 or SharePoint 2013 I have researched google for a while and can't ...
1
vote
3answers
663 views

the file '/_controltemplates/.ascx' does not exist

I am making a visual web part which is referencing a user control. The code in SharePointProjectItem.spdata is given below. <ProjectItemFile Source="ExportUserControl.ascx" ...
0
votes
1answer
65 views

c# add existing webparts on site into sandbox webpart solution

I want to create a webpart using sandbox webpart solution on C# which contents two or more webparts (such as a list, task, document,...) existed on my Sharepoint site. So my new webpart will have some ...
0
votes
0answers
107 views

Update panel AsyncPostBack not update pannel

I'm create simple visual webpart, but update panel not update updatepanel1 if is using async callback. Response from button click: http://pastebin.com/zWmPL4XB, if use PostBackTriger it work fine. ...
0
votes
3answers
239 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...
1
vote
2answers
141 views

Missing my custom webpart property, what did I miss in my code?

I am using sp2013. I developed a visual webpart in visual studio 2013. I have added this code in the codebehind of my webpart: public partial class VisualWebPart1UserControl : UserControl { ...
1
vote
2answers
63 views

Storing data entered into a custom web part

When building a visual web part that uses an ASP form for an interface, what is the generally-accepted "best" way to store the data once the user has filled out the form? The only way I can think of ...
0
votes
0answers
19 views

Import my visual webpart to my site I get error; “$Resources:core,ImportErrorMessage;”

When I import my visual webpart to my site I get error; "$Resources:core,ImportErrorMessage;". My solution has WCFService project and visual webpart calls WCF service. I have added my webpart to ...
0
votes
2answers
221 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
0
votes
1answer
83 views

Visual WebPart custom properties scope

I want to set the scope of the custom properties of visual web part so that every time user add the custom web part in different page in pages library, values can be changed for the properties and ...
2
votes
1answer
394 views

Reading Web Part custom properties using JavaScript client object model in SharePoint 2010

Is it possible to read visual web part custom properties using Java script client object model in SharePoint 2010?
0
votes
0answers
55 views

Set Permmision to SSRS report Programmatically

I like to get all SSRS reports in my custom web part and set Permission to specific User for specific Report. How to list out all reports and set their permissions programmatically?
0
votes
2answers
26 views

How do you display a link that when clicked opens up a new email in Outlook?

I am creating a visual web part that displays the site owners of a SharePoint site and each site owner's email. I would like users to be able to click the email address, and this will open up a new ...
0
votes
1answer
46 views

How do you display a list of users with full control?

I am currently working on creating a visual web part that displays a list of users with full control to a SharePoint site, along with their loginID and email. The code I've written lists all the users ...
0
votes
1answer
89 views

My gridview does not display.

I am creating a web part on SharePoint that shows site owners and their email addresses. I am able to show that information in a listbox, but I would rather do it in a gridview. When I change my code ...
0
votes
1answer
179 views

Style form field control

I have created a visual webpart. In that I created a SharePoint form field control instead of asp.net textbox. I am not able to apply styles to this control and it's not looking good in the form. How ...
0
votes
2answers
312 views

How do you show a list of site owners for a SharePoint site?

I am trying to create a web part that will list the site owners of a SharePoint site. I'm not sure where to start. I've been unable to figure out how to access the permissions property of a site. Any ...
-1
votes
1answer
47 views

may i know how to use list field iterator ?will u pls give one scenario?

I want to know the purpose of list view iterator and need to use in my current project.will u please brief on this. I have some 20 fields in visual webpart by using asp.net controls but as per the ...
0
votes
0answers
170 views

<SharePointWebControls:UserField> in visual web part not displaying more than one users details

I have a list in which there is one user field and in the visual web part I want to display the data of that list. To view user's details I want to display the details in the way SharePoint displays ...
1
vote
2answers
85 views

How to make taxonomy picker accessible for anonymous users?

I have a visual web part in which I have placed one taxonomy picker control to select the managed metadata for user. The web part is going to be accessed by the anonymous users. But when as an ...