0
votes
0answers
22 views

“NavigateUrlField” attribute in Sharepoint TreeView Not working?

Am doing a sample Project for my company in Sharpoint designer . While trying to create a treeview navigation for organization chart , am Getting the below error : Could not bind to the 'url' ...
0
votes
0answers
33 views

SharePoint 2010 Web Part that needs to call a dll and .js files

I am trying to create a SharePoint 2010 web part. The web part I am trying to create will contain, among other things, a custom asp.net server control as a dll. The dll refers to a number of files ...
2
votes
1answer
108 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
1
vote
0answers
222 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
0
votes
0answers
36 views

XsltListViewWebPart SampleData

I use dynamically added to aspx page XLV webpart. Now, when its not needed, I dont wont to create any database request and just provide XLV with sample data (or prevent it from showing anything). How ...
2
votes
1answer
197 views

Updating contents in a custom webpart in a Discussion Board topic page

I have made a custom Visual Webpart. I'm wanting to periodically update a label in the webpart without refreshing the whole page. I've got the label to update, however it is also updating the replies ...
2
votes
1answer
580 views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
0
votes
2answers
57 views

Help embedding asp.net page in a Sharepoint Web Part

First off, I do not have access to designer, so I'm attempting this through my SharePoint site's on-page edit tools. I realize that this may not be possible, but I'll ask the question anyway. :) I ...
0
votes
1answer
167 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
2answers
975 views

How can I send data to a modal popup without using a jquery string?

as a bit of background I am new to Sharepoint development, as well as web programming in general. I've done asp.net programming in the past, but not much javascrip/ajax/jquery. From the (tons...) of ...
0
votes
1answer
735 views

visual basic in sharepoint 2010

I am new to SharePoint. My head in the office told me that if you want to learn SharePoint, you have to learn ASP.Net first because we need to add webparts to the portal. I installed visual ...
4
votes
2answers
458 views

Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?

Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
1
vote
0answers
265 views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
0
votes
3answers
328 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
1
vote
1answer
236 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
3
votes
2answers
649 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...
0
votes
1answer
92 views

Add content to Web Part without reloading

I am developing a Search Web Part for a WSS 3.0 site in Visual Studio 2008. The user types in their search criteria, then clicks OK. In the Click event, I am iterating through every Site Collection in ...
0
votes
1answer
5k views

How to copy a Sharepoint page?

In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control. Having ollowed "Using ASP.NET Validation Controls" of ...
0
votes
1answer
3k views

How do I update a lookup column from a dropdownlist?

I'm creating a custom web part in asp.net for SharePoint 2010 programmatically. When a user presses an Add button, the selected item from the dropdownlist is supposed to then be added to the Groups ...
0
votes
1answer
1k views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
2answers
2k views

Adding row values to a specific column in a datatable?

I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
0
votes
3answers
285 views

Tool to get SPList in webpart using tool

I want to get SPList data in webpart just passing name in tool. Anybody have any idea about that?Please Suggest me.
0
votes
1answer
636 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
305 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
2answers
2k views

Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part

I have a requirement to build a Event web part that shows the 5 most upcoming events and a see all link (that links to the OOTB calendar view). Here is a graphical representation: How exaclty do I ...
0
votes
1answer
4k views

An example of databinding the repeater control?

I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
1
vote
1answer
4k views

CAML Query to filter a list item based on comparing item[“Title”] to ascx label.text control?

"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>'Label1.Text'</Value> </Eq></Where>"; I have not run this and checked yet, simply because I ...
3
votes
3answers
581 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
1
vote
2answers
495 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
2answers
285 views

PerformancePoint Services 2010 - Reuse dashboards in external standalone ASP.Net application?

I am a newbie to PerformancePoint Services 2010 & Sharepoint 2010. Assuming we have the necessary licenses, we are wondering what is the best option to include the dashboards developed in PPS/SP ...
5
votes
5answers
4k views

Refreshing custom developed web part

I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
1
vote
3answers
485 views

Error occurred in deployment step 'Recycle IIS Application Pool': Microsoft .NET Framework 3.5 SP1

I recently installed Sharepoint 2010 Foundation on my windows 7 machine, this itself took a while but appears to be ok, ie create sites, libs etc etc. I'm now trying to create a simple webpart which ...
2
votes
1answer
2k views

How do I get my query results to display in my web part?

I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading. I'm trying to build a web part that runs a simple query against a ...
0
votes
4answers
307 views

sharepoint web part rendering

I've been pulling my hair out long enough on this one.. would appreciate some help :) I've created a custom DataFormWebPart which I need to render certain contents to all users of a sharepoint list. ...
4
votes
2answers
3k views

How to use InputFormTextBox in a custom web part ?

I'm currently trying to integrate a rich text editor into my web part. I've found that I can integrate an InputFormTextBox in my aspx page : <SharePoint:InputFormTextBox ...
2
votes
2answers
195 views

Sharepoint Web Part restrict to zone

Is there any way to restrict a web part to a certain zone? I know I can restrict it by using the AllowZoneChange flag, but is it possible to make sure the web part can only be added to certain zones? ...
0
votes
1answer
155 views

SharePoint Web Part Gallery details of each web part

When using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the ...
2
votes
2answers
2k views

When to use application pages (aspx) versus web parts?

I'm struggling with this question at the moment... Basically I'm pulling a set of data out of a DB table related to our LOB application, listing it, and then want to click through from this list to ...
1
vote
4answers
262 views

What is something I should to to help me to Learning SharePoint?

I have a list of items I was told I should learn below. Can you tell me if there is one that I should remove and one I can add that will help me learn sharepoint backend development. I have been ...
2
votes
2answers
520 views

When to use CreateChildControls() vs. embedding in the ASPX

I'm developing a webpart for SharePoint 2007 and have seen several posts that advise to do all the creation of controls in the code-behind. I'm transitioning from Java J2EE development so I don't have ...
2
votes
3answers
532 views

Any problems using Smartparts to host ASP.NET user controls directly in Sharepoint?

I am thinking about using SmartParts (http://www.codeplex.com/smartpart) to directly Host ASP.NET user controls in sharepoint. This needs however that I manually copy all user controls to all WFE ...
2
votes
3answers
2k views

Problem with SPGridView and SPGridViewRow.FindControl

In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code. The columns for the gridview are created mostly as ...
0
votes
1answer
767 views

clscompliance parser error when adding web part in webpartzone zonetemplate

I am adding a web part directly into a zonetemplate in a page layout. When i insert a custom web part that has a web part property of type uint, i get an YSOD server error: Parser Error ...
9
votes
9answers
4k views

ASP.Net WebPart or SharePoint WebPart

This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...