Questions tagged [web-parts]

Web parts are are the building blocks of Microsoft SharePoint web pages.

1693 questions
0
votes
2 answers

convert asp.net code to WebPart code issue

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I have the following code which works correctly in ASP.Net (aspx) and I want to implement the same function…
George2
  • 44,761
  • 110
  • 317
  • 455
0
votes
2 answers

Asynchronous methods in a webpart

I have been coding for some days on a webpart now. The point of this webpart is to clean up a given document library. I have 16 000+ msg files in there and I have to validate the To and From headers of each msg file against some given rules. All is…
Maarten Louage
  • 115
  • 1
  • 7
0
votes
2 answers

Sharepoint-customizing usercontrol property in smartpart

If anyone is having idea how to customize properties in a smartpart. I have created usercontrol and i m wrappin it in a smartpart.I want to upload my xml from Document library. private string feedXML; [Browsable(true), …
AB.
  • 849
  • 4
  • 14
  • 23
0
votes
1 answer

Reference common Javascript file in two solutions

/ ..Common/Scripts/Script1.js ..Sharepoint2010/Layout/Scripts/[reference to Script1.js] ..Sharepoint2013/Layout/Scripts/[reference to Script1.js] Developement for Sharepoint allows to deploy resources such as js and css files. Different versions of…
Max
  • 1,463
  • 5
  • 19
  • 34
0
votes
2 answers

how to use javascript and css in WebPart?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to develop a WebPart, which refers css and javascript…
George2
  • 44,761
  • 110
  • 317
  • 455
0
votes
2 answers

64 bit webpart on SharePoint 2007 32 bit

If I develop a 64 bit webpart DLL does it work with SharePoint 2007 32 bit?
sahil
  • 1
0
votes
0 answers

Implement update panel in sharepoint 2010 for postback effect by one the webpart

Background: I have a site on sharepoint 2010 with 5 site pages, each page have some content. Problem: One of the page, have tab web part from MSDN, this webpart is used to implement tabs in SP site, here is the link of…
0
votes
1 answer

Pulling CRM 2011 data into Sharepoint 2013 using a webpart?

I've been hunting all day trying to find some good examples/tutorials on how to pull data into Sharepoint 2013 from CRM 2011. The best thing I have found so far is a SP2010 example, but with VS2012 and SP2013 it seems like so much has changed, and…
Goose
  • 3,241
  • 4
  • 25
  • 37
0
votes
1 answer

SharePoint AJAX Web Part 401.2/3 errors

I recently began writing an AJAX web part for use in SharePoint and I am having a strange error. It seems that EnsurePanelFix() is causing the web part to throw a 401 error; in the log, both 401.2 and 401.3 errors are showing up right around the…
Geo Ego
  • 1,315
  • 7
  • 27
  • 53
0
votes
3 answers

How to register a stylesheet on a Master Page within a Web Part

How would I register a Style Sheet on the Master Page within a SharePoint Web Part. In other words how would I add a CSS link on the master page, at run time, and the code which does this is present in a custom web part. I do not want to change the…
iJK
  • 4,655
  • 12
  • 63
  • 95
0
votes
0 answers

How to not loose the selected item index in a post back using ajax?

I am writing a visual web part which has ajax implemented. I have bunch of web controls like checkboxlist,dropdownlist,radiobuttonlist. I have set autopostback equals to true so that some server events happens in every item selection. I want to…
user2664298
  • 175
  • 1
  • 7
  • 22
0
votes
1 answer

Sharepoint html element naming conventions, by Sharepoint Controls

A few times I've attempted to customize a SP2007 page using css, html, or javascript in Sharepoint Designer; however, in Sharepoint Designer I am not able to get direct access to the desired elements since they are generated by a Sharepoint Control…
gcarterIT
  • 125
  • 1
  • 4
  • 13
0
votes
1 answer

Using SharePoint Report Viewer Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx

I have recently tried to use Report Viewer Web Part in a SharePoint page. The reports have been used outside SharePoint for years. We are currently on SSRS 2008 R2 native mode and SharePoint 2007. After a while, when you go to the page with the web…
0
votes
0 answers

SharePoint Versioning issue

Good day, I have hit a speed bump with SharePoint. I have developed a web part and application page, and packaged them in a wsp. In my dev environment it seems to work with no problems, but when it is deployed in the testing environment it seems to…
0
votes
1 answer