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

learn more… | top users | synonyms

0
votes
0answers
10 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?
1
vote
1answer
425 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?
0
votes
2answers
21 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
30 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
31 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 ...
1
vote
1answer
288 views

User profile picture in visual web part

I want to make user upload the profile picture in my web part, I searched over the internet how to accomplish this? I found the this post which describes how to get it. My code is: void ...
0
votes
1answer
13 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
1answer
320 views

Filter Parameter from Visual Web Part to XSLT or DataForm Web Part

I have a scenario where from Visual Web Part I need to send filter parameter to XSLTListView or DataForm Web Part on the same page! If I use Query String then I need to Response.Redirect and that will ...
0
votes
2answers
34 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
22 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
15 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
24 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 ...
4
votes
1answer
662 views

How to create a multilingual visual webpart in SharePoint 2013

Have anyone ever implemented multilingual visual web part in SharePoint 2013? I see there are many links out there on this topic but they are not cohesive and complete. I don't know how can I address ...
1
vote
3answers
460 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
246 views

the name 'initializecontrol' does not exist in the current context visual studio 2013

I am encountering this error when I create a visual web part in Visual Studio 2012: the name 'initializecontrol' does not exist in the current context visual studio 2013 Edit 1: the error appears ...
1
vote
2answers
537 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
0answers
92 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
2answers
453 views

How to open document library file in client application programmatically?

I have a web part which shows the list of documents which are stored in the document library. I want to open the document in respective client application of client machine programmatically. ...
1
vote
1answer
30 views

Web Service call in Sandox Visual Webpart

I have web service which I want to call in my sandbox visual web part. when I'm call web service method in web part at that time I'm getting this error Web Part Error: Unhandled exception was thrown ...
1
vote
0answers
18 views

Unknown server tag when using visual webpart in masterpage in sharpoint 2010

This is just a basic question. I have a solution say "My.Solution".In this I have a project say "My.Project". I added a visual webpart say "Menu". The namespace of the webpart is like ...
1
vote
0answers
54 views

LINQ DataSource DataContext: Could not load type

I made a very simple webpart with a grid view and and a LINQ to SQL data context object to surface some employee information for a phone list. I was able to databind the grid view directly to LINQ ...
4
votes
3answers
4k 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
326 views

Getting ECMAScript Client OM Intellisense to work in ASCX/JS

I can't for the life of me get intellisense working for the Client OM. It seems to work on another box I have tried so I'm wondering if I have found some kind of bug/configuration issue. I have tried ...
0
votes
1answer
43 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 ...
1
vote
2answers
377 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 ...
0
votes
2answers
72 views

Custom webpart to display HTML form which supports adding additional dataRow on the fly?

Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on ...
1
vote
0answers
41 views

Modify SharePoint sandbox manifest.xml

I need to modify the SharePoint sandbox manifest.xml. Can any one help me with how I can do this?
0
votes
1answer
81 views

Deploy Farm Solutions to Online SharePoint 2013

I am migrating SharePoint 2010 project to online SharePoint 2013. I managed to move lists, document libraries..etc. with sandbox solutions. But can any one help me how can I deploy the farm ...
2
votes
5answers
1k views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
0
votes
0answers
56 views

Fire events on TIME changed in date picker

I am making a visual web part that has a date and time picker. Essentially, I would like the first of two date pickers to update the second date picker as long as the second one has not been modified ...
0
votes
1answer
35 views

SP 2010 Development Concepts

I'm building a custom addon for a SP 2010 instance. I've been able to get a Visual Web Part in visual studio deployed to my SP instance and debug it. As far as I can tell I have all the normal ...
0
votes
1answer
78 views

Using Charts in SharePoint 2013

I want to use a custom chart in SharePoint which picks up data from a list? I have not worked with SharePoint charts can anyone give me an example of a working chart? And also if there are many ...
0
votes
1answer
61 views

Changing Mode from BrowseDisplayMode to Edit Mode

I have a custom webpart, i am trying to get to do a one-click transition from WebPartManager.BrowseDisplayMode to SPControlMode.Edit. Unfortunately, there is no direct means of transitioning between ...
0
votes
1answer
55 views

Trying to learn SherPoint development with Sharepoint.com

Because I don't have the hardware or license i bought Sharepoint Online from sharepoint.com I've just started out, and want to for instance create a poll. I Visual Studio I have two choices: App ...
0
votes
1answer
35 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 ...
1
vote
2answers
1k views

VS2012: Visual Webparts Properties not showing?

I've created a Sharepoint 2010 Visual Webpart in Visual Studio 2012. The structure of the template that it generates is slightly different than in VS 2010. Previously, it would create the Webpart ...
2
votes
4answers
565 views

Issue with Sharepoint DateTimeControl

DateTimeControl is inside grid and I bind the grid inside !ispostback section, on row databound of grid I find that datetimecontrol and disable it. When button click event (outside of grid), the ...
1
vote
1answer
149 views

How to get username through REST

I am currently working with a task where you have a SPList in one farm that holds some data that we need to aggregate into a view on another farm. Therefore I am working on a Visual Web Part that ...
0
votes
2answers
60 views

Error occurred in deployment step 'Add Solution': Feature with Id 'guid' is not installed in this farm, and cannot be added to this scope

I have added FeatureEventReceiver to the solution and here is my code, public override void FeatureInstalled(SPFeatureReceiverProperties properties) { ...
1
vote
4answers
1k views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
1
vote
1answer
167 views

using $SPUrl when developing visual web part via visual studio 2013 or 2012 and ascx.g.cs file gets empty!

Im developing a Visual Web part for SharePoint 2010 via Visual Studio 2013. And i want to add css link to visual web part in .ascx file like this: <SharePoint:CssRegistration Name="<% ...
1
vote
1answer
36 views

How to debug why i cannot add a webpart to a page in SP Designer

I have several custom webparts which i am attempting to add to a custom page WebPartZone using SPD2010. I can successfully add one, however when i attempt to add the other i get an "Error Creating ...
0
votes
2answers
110 views

Cannot save sharepoint page with my custom webpart (with asp.net validation controls)!

I am using sp2010. I have created a visual webpart in Visual Studio 2010. In this webpart I have created a sort of contact form with fields and a button. I have deployed this webpart to my sp site and ...
0
votes
0answers
45 views

Sharepoint - Visual Studio 2012 Deploy problem

I'm having a problem, when I deploy my solution through VS2012 it looks like it wont update what I already have deployed, the changes I make on code wont take effect. I have the following scenario: 1 ...
0
votes
1answer
372 views

Getting Metadata column field control on Custom form in sharepoint

I have a custom custom sharepoint form which i have created using visual webpart. I want to have a Metadata field in my custom form.However, i am not able to find it in my ascx file. Please help.
0
votes
1answer
34 views

how to create a visual web part in the following format [duplicate]

I am a newbie to Visual Studio, it would be great if someone could provide me with an idea how to create the webpart in the following format Thanks
0
votes
1answer
814 views

In SharePoint 2013, How do I use the person field (people picker) 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 ?
0
votes
1answer
82 views

Web part throwing exception at run time but not in debug mode

The below code is throwing exception at run time but does not throw exception while debugging in Visual Studio. This is really causing difficulty for me to detect the cause of exception. Below I have ...
0
votes
2answers
202 views

How to set the ScriptManager Property programmatically in Visual Web Part?

I have a web part in which I have placed an update panel. To use this web part in the Safari browser there is an issue that the whole page is refreshed instead partial page rendering. The same web ...
1
vote
0answers
126 views

Update panel not working in Safari browser

I have a visual web part in which one button and a label inside an update panel. When I run the web part in IE and Firefox it works fine but it does not work in Safari. My declarative part is: ...