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

learn more… | top users | synonyms

0
votes
1answer
2k 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 ...
1
vote
2answers
1k views

How to Bind Data to Traditional ASP.NET Controls in SharePoint Foundation 2010?

First off, my background is ASP.NET Web Forms. I'm sure this is very simple but I'm quite new to SharePoint. We're running SP Foundation 2010. I'm going to build a WebPart in VS.NET 2010 and deploy ...
4
votes
1answer
622 views

Visual web part - data binder issues

We have couple of lists in our application. Application types is a list which contains information about various applications - name, description and icon (as URL field with image format). Second one ...
0
votes
2answers
286 views

Add newuser with roles to spgroup

i want to add a user to a spgroup with specified roles can any one help to write the code in visual webpart? thanks Naveen
1
vote
1answer
3k views

How to add a custom footer navigation to SP2010 Master Page?

I'd appreciate any suggestion on how to add a custom footer navigation similar to the one found at http://www.washington.edu to a master page? The link doesn't have to be automatically generated as ...
0
votes
1answer
544 views

Sharepoint 2010 Visual WebPart and LinqDataSource

How do I use Linq DataSource in a SharePoint 2010 Visual Web-part. When I type <asp:LinqDataSource there are nothing in the Visual Studio auto-complete. When I run the code I would get this error ...
1
vote
4answers
2k views

Problem with HTTP handler in Sharepoint 2010

I'm developing a visual web part for Sharepoint 2010. This webpart needs to get some data via AJAX. So I went for the HTTP handler + jQuery solution posted here. But I'm getting a problem when trying ...
1
vote
1answer
952 views

How to make jQuery AJAX request with a HTTP Handler in SP10?

I'm developing a SP 2010 Visual Web Part that needs to load some data via AJAX. I found this very helpful article but I'm having some doubts about it. I have the Visual Web Part project, inside I ...
2
votes
1answer
2k 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 ...
0
votes
1answer
639 views

On adding a visual web part I get this error “Key cannot be null. Parameter name: key”

I've created a SharePoint 2010 Visual Web Part project. Added some html to the ascx file and deployed it. When I try to add it to my page I get this error - Key cannot be null. Parameter name: key ...
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 ...
7
votes
3answers
3k views

How to asynchronously load and refresh a Visual Web Part?

We have developed a Visual Web Part for Sharepoint 2010 with Visual Studio 2010 (Visual Web Part project template). The web part loads some stuff and shows a list of items. It takes some seconds to ...
2
votes
2answers
816 views

One Visual Webpart Multiple Times On Page (problems saving personalization state)

I have a requirement for building a budget report which has the same key fields for 6 different categories. I have written a visual web part which pulls a listitem for each section and displays the ...
0
votes
1answer
330 views

Prevent duplicate insert on refresh without session?

I'm working on SharePoint 2010 (using a visual web part). Is there any way to prevent duplicate inserts in a list when a page is refreshed using F5, without using session?
1
vote
2answers
310 views

Visual webpart not displaying for anonymous users

I configured my SharePoint application to allow anonymous access and it's working fine. When I add a visual web part that contains just a label to a page and approve it, anonymous users can't see the ...