web-parts

Page viewer webpart won't take login parameters

吃可爱长大的小学妹 提交于 2019-12-19 10:03:17
问题 I need to show an external site through our sharepoint portal and have added a Page viewer web part. The problem is that the address includes a login and password used to autologin to the external site but Sharepoint only shows the login page on click. If I click the "Test link" in the web part properties it opens as it should but in a different window and not in the sharepoint frame. The adress has the format http://www.site.com/companyname/Login.aspx?style=companyname&lang=en&l=login&p

Page viewer webpart won't take login parameters

戏子无情 提交于 2019-12-19 10:03:13
问题 I need to show an external site through our sharepoint portal and have added a Page viewer web part. The problem is that the address includes a login and password used to autologin to the external site but Sharepoint only shows the login page on click. If I click the "Test link" in the web part properties it opens as it should but in a different window and not in the sharepoint frame. The adress has the format http://www.site.com/companyname/Login.aspx?style=companyname&lang=en&l=login&p

ASP.NET Web Parts: Drag and Drop Support in Non-IE Browsers

半世苍凉 提交于 2019-12-17 20:39:50
问题 I have been using web parts on my site since ASP.NET 2.0 came out. Dragging and dropping web parts works great in Internet Explorer, but it doesn't work at all in Firefox, Chrome, or Safari. I recently upgraded the site to ASP.NET 3.5 SP1, but I am still unable to drag and drop web parts in non-IE browsers. How can I enable drag and drop web parts in these other browsers? Update (2/9/2010): This mentions this problem, but offers no solution: http://forums.asp.net/t/1294857.aspx Update (2/19

How to get started with developing SharePoint web parts?

匆匆过客 提交于 2019-12-14 02:34:43
问题 I'm not really a developer but I have experience in PHP, Java and want to have a go at developing some really simple SharePoint web parts (for WSS 3.0, MOSS 2007 and in future 2010). I assume it requires knowledge of ASP.NET. Should I start learning C# or get stuck straight into web parts. Any good tutorials for a complete beginner? 回答1: If you are going to start from scratch, I highly recommend SharePoint 2010. The development environment is so much better and simpler and does not require

ASP.NET - Add Event Handler to LinkButton inside of Repeater in a RenderContent call

我们两清 提交于 2019-12-14 00:31:23
问题 I've got a Sharepoint WebPart which loads a custom User Control. The user control contains a Repeater which in turn contains several LinkButtons. In the RenderContent call in the Webpart I've got some code to add event handlers: ArrayList nextPages = new ArrayList(); //populate nextPages .... AfterPageRepeater.DataSource = nextPages; AfterPageRepeater.DataBind(); foreach (Control oRepeaterControl in AfterPageRepeater.Controls) { if (oRepeaterControl is RepeaterItem) { if (oRepeaterControl

Minimum development environment for sharepoint 2007 webparts

血红的双手。 提交于 2019-12-13 18:13:48
问题 I know there are already a couple of questions out there about sharepoint development environments, but I was wondering if there's a shortcut if all I want to do is develop a relatively simple webpart. Do I still have to create a virtual machine with windows server, install sharepoint, sql server, wss etc., etc. or is there some easy way to get up and running more quickly? In short, what's the absolute minimum environment I need to develop a webpart for sharepoint 2007? 回答1: Unless you are

SharePoint 2013 - display the detail from a list item in a branded page, NOT the default SharePoint details page

我的梦境 提交于 2019-12-13 06:49:42
问题 I am a COMPLETE beginner when it comes to SharePoint! So, forgive my lack of knowledge. I'm sure the answer to this question is probably in a million different places on the internet somewhere. I trust StackOverflow for the best answer...! I have a SharePoint site collection that will eventually be an internet site. It is custom branded using HTML master pages and page layouts. So, I want to create a list and use that as an Announcement list. The title will be a link that, when clicked, goes

Using custom css within a Sharepoint webpart as a Embedded Resource is not working, why?

回眸只為那壹抹淺笑 提交于 2019-12-13 05:41:10
问题 I've read in another question here how could I use custom CSS within my Sharepoint WebPart. So I followed this link: http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=42 And I put my css as an embedded resource. Everything ok, I launch the page. But my style doesn't appear. I peek at the source code, and I find my resource: <script src="/WebResource.axd?d=YuTREer2woiGbjiSaZdP0bLrdm6vpTygUffdwMFJr0zmn76B3vav0QRpmxzvYvKzZRnmgKpNbLHpnJf-W4rfrv-MrIZEoz6tWi5xHXTiN3lcxdP3s7ysDExW

Sharepoint WebPart, include additional assembly in wsp package

青春壹個敷衍的年華 提交于 2019-12-13 03:19:18
问题 I created a utility library for my Sharepoint WebParts. Now when I reference this library from my WebPart project, it compiles fine, but the library is not included in the .wsp package. This means the library assembly is not deployed to the target system, causign the WebPart to fail. Is there any way to fix this? I am using Visual Studio 08 & VseWSS 1.2. 回答1: Brij's answer is partially correct, your VSeWSS version is the problem. This feature only came in version 1.3 (I recommend the March

Error deploying visual web part to SharePoint 2013 (Activate Features)

你说的曾经没有我的故事 提交于 2019-12-12 14:01:45
问题 I'm trying to deploy a simple web part to SharePoint 2013 using Visual Studio 2013 and I am getting the following error: Error occurred in deployment step 'Activate Features': Feature with Id '....' is not installed in this farm, and cannot be added to this scope. Spent a long time trying to find a solution to this. Several blogs and forums talking about it and giving different solutions (none worked for me). Feature scope is set to site, and solution is not set to sandbox. Deployment works