Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

.NET Framework 3.5 SP1 and VS 2008 SP1 
Tuesday, August 12, 2008, 08:24 - .NET
Posted by Administrator

Here you are:

add comment ( 5 views )   |  permalink   |   ( 2.9 / 1074 )
Using SharePoint PeopleEditor Control 
Friday, August 8, 2008, 15:29 - SharePoint
Posted by Administrator
When you want to use the PeopleEditor control you need the correct refence in your custom SharePoint page.

<%
@Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>



Add a user to the picker (c#):

ArrayList list = new ArrayList();
list.Add(
    new PickerEntity()
    {
        Key = @"DOMAIN\User"
    }
);
userPicker.UpdateEntities(list);


Retrieve selected user(s)(c#):

PickerEntity pe = (PickerEntity)userPicker.Entities[0];
string username = pe.Key;
//or if the entities are resolved
PickerEntity pe = (PickerEntity)userPicker.ResolvedEntities[0];
string username = pe.Key;


that's it
</tom>

add comment ( 22 views )   |  permalink   |  related link   |   ( 2.8 / 829 )
Adding Breadcrumb Navigation to SharePoint Application Pages 
Friday, August 8, 2008, 11:46 - SharePoint
Posted by Administrator
It is very easy to add a breacrumb to your custom application page.

First of all you need to create an xml file in the
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ folder.

Rename this new xml file like this
layouts.sitemap.*.xml where you can change * to any string you want.

then change the content of the XML file like this
<?xml version="1.0" encoding="utf-8"?>
<siteMap>
<siteMapNode url="/_layouts/cutomapplicationpage.aspx"
parentUrl="/_layouts/settings.aspx" title="Custom Application Page"/>
</siteMap>


finally use
STSADM -o copyappbincontent

</tom>
1 comment ( 15 views )   |  permalink   |  related link   |   ( 2.9 / 569 )
Creating a site administration page that looks like a real SharePoint administration page 
Thursday, August 7, 2008, 18:37 - SharePoint
Posted by Administrator
Ton Stegeman [MVP] wrote a wonderful article about how to create a custom sharepoint page.

Article

However, when you are searching for the hidden

Microsoft.SharePoint.ApplicationPages.WebAdminPageBase assemby

stop searching!

It is NOT in the sharepoint.dll. You must add a new reference to the Microsoft.SharePoint.ApplicationPages.dll. You can find this dll here:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG\BIN\Microsoft.SharePoint.ApplicationPages.dll

nice to know not?
2 comments ( 24 views )   |  permalink   |  related link   |   ( 2.9 / 404 )
now I'm 100% MCTS 
Thursday, July 31, 2008, 09:44
Posted by Administrator



Yesterday i received my MCTS packet with my personal card
thanks!


add comment ( 12 views )   |  permalink   |   ( 2.9 / 651 )

<<First <Back | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | Next> Last>>