Tuesday, August 12, 2008, 08:24 - .NET
Posted by Administrator
Posted by Administrator
Here you are:




( 2.9 / 1074 )

Tom Van Gaever - BlogHere you are:




( 2.9 / 1074 )
<% @Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
ArrayList list = new ArrayList();
list.Add(
new PickerEntity()
{
Key = @"DOMAIN\User"
}
);
userPicker.UpdateEntities(list); 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;
<?xml version="1.0" encoding="utf-8"?>
<siteMap>
<siteMapNode url="/_layouts/cutomapplicationpage.aspx"
parentUrl="/_layouts/settings.aspx" title="Custom Application Page"/>
</siteMap>