I have updated my FileserverAccess Webpart.
added danish language support (thx to Anja) performance tuning Original post
Just a small update for my Display all my alerts Webpart.
Handling search alerts is improved the assembly will not install in the GAC (Global Assembly Cache) to get rid of the FullTrust setting in the web.config Tags: SharePoint Webpart
Hello everyone. I have updated my SharePoint Webcontrols class. The original post shows the usage, and gives additional information. –> original post
Tags: SharePoint .NET
I have update my Fileserver Access Webpart.
Tags: SharePoint Webpart
**Update:
** The Webpart is not (yet) working as expected. Ajax only works for postbacks. The initial load will take longer, if you have many directories. I am working on this…
**Update2:
** Almost done! Ajax is working fine. Ajax is registered, so you don’t need to modify the web.config yourself.
Todo: Performance.
Hang on just a little more.
**Update3:
** Done. I have worked on my Webpart. It will now be faster and it is working 🙂
I updated my WikiWebpart. You can now download it as a SharePoint Solution. Steps to install the solution: Install the solution via “stsadm -o addsolution -filename RH.WikiWebpart.wsp” Go to your "Central Administration > Operations" and deploy the solution 1.
* * Active the Feature for your Sitecollection
Go to “Site Actions > Site Settings > Site Collection Administration > Site collection features” and active the feature
##### Add the Webpart to your Wiki library
The "old" SharePoint Server 2003 offered the ability to display all alerts from a user on his/her MySite. MOSS and SharePoint 2010 lacks this functionality. So I wrote a Webpart, which will display all my alerts. Of course is multilingual. Currently there is English, German and Spanish language support included. And it will work on Windows SharePoint Services V3 as well ass SharePoint Foundation. You don’t need the Office Server / SharePoint Server 2010 for it 🙂
Please use my custom field type. It is more flexible –> http://www.hezser.de
I updated my Wiki Webpart. For all of you who don’t know what it does:
The normal Wiki Edit Form misses the ability to upload pictures. My Webpart, which has to be included to the EditForm.aspx, allows you to upload a picture. It also creates a link in your Wiki post, which displays the uploaded image.
This release of the Webpart is multi lingual.
I started to write a Webpart, which shows the content of a remote website. You can specify logon information, as well as proxy information.
**It is not ready yet! But I was asked for it. So I will publish it unfinished!
**
Download
You can display multiple list items with SharePoint and SharePoint Designer quite easy. But how do you display a single listitem? I worte a Webpart, which does this. If there are more than one listitem, you can page through them. And if you like, you can pass an itemid via a Webpart connection. In the Webpart properties you can select the list/library. If you like, you can specify a view other than the default view.
In this post I want to show how to create an Ajax Webpart, which receives its data from a Webservice – and until the data arrived – shows a status bar.
As base for the Webpart, I took the one from Mark Collins and his great article http://sharethispoint.com/archive/2006/11/15/Build-web-parts-with-ajax.aspx.
The approach is to render the Webpart with only a , and let the client – after it finishes querying the Webservice – fill the data into the previously created.
Visual Studio Extensions If you want to write your own Webpart, you can start from scratch with a Class Library, or use the templates from http://www.microsoft.com/downloads/details.aspx?FamilyID=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&DisplayLang=en
The downside of this VS templates is, that they can only be used on a computer, which has SharePoint installed, and you cannot open a project created with the VS templates with a VS on which the templates are not installed.
Server side controls Ishai Sagi wrote a great article about Webpart development.
Now that we know how to create a simple Webpart, we want to add more functionality to it. Let us start with some Controls.
Declare a Control as class variable Create it in CreateChildControls Modify the Control in OnPreRender Render the Control with its content Declare a Control public
class
simpleWebpart:WebPart
{
private
HtmlGenericControl _MyDiv;
CreateChildControls This method creates the control. After the creation, we will be able to access the control from elsewhere, to modify its properties or its content.
To deploy a Webpart to a SharePoint Installation, complete the 3 steps beneath:
Copy the dll from your Webpart to the bin folder of a webapplication Register the dll in the web.config as safe Add the Webpart to the Webpartgallery of a sitecollection Debug the Webpart Copy the dll from your Webpart to the bin folder of a webapplication Copy your dll to the bin folder of your IIS virtual server directory.
In this blog post, I want to show you how to create a simple Webpart. All you need is a Visual Studio 2005 (e.g. the express version) and of course SharePoint.
Start your VS and create a new “Class Library”
Add a reference to the Microsoft.SharePoint.dll. We will create a SharePoint Webpart, to be able to add Properties.
To display some text, override the render method. You have to create a reference to the Microsoft.