07 2012 档案

摘要:using System;using System.Collections.Generic;using System.Text;using System.DirectoryServices;using System.Security.Principal;using System.Runtime.InteropServices;using System.Data;namespace ADHelper{ public class ADHelper { #region 私有变量 /// <summary> /// homeMTA /... 阅读全文
posted @ 2012-07-18 11:33 StarKong 阅读(428) 评论(0) 推荐(0)
摘要:In Customize the People Search Results – Part 1 we learned how to pimp the search results from looking something like this:To something like this:In Part 2 we are going to learn how to add other fields (properties) to the Search results.How do we do this?Let’s first include the Mobile phone of a use 阅读全文
posted @ 2012-07-17 10:38 StarKong 阅读(237) 评论(0) 推荐(0)
摘要:Out of the box:First of all let’s start off with showing how the default People Search Results look like:In my opinion not really something you can give to your users to work with. No labels, no design, no clear layout.This article will try to show you how you can beautify these results a bit.Prepar 阅读全文
posted @ 2012-07-17 10:33 StarKong 阅读(378) 评论(0) 推荐(0)
摘要:SharePoint网站中默认的welcome菜单如下样式是固定的如下:下拉列表如下:现在需要把菜单颜色改成白色,下拉列表中只保留Sign in as Different User 和 Sign Out两项。查看相关代码如下:<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %><wssuc:Welcome id="IdWelcomeMain" runat="se 阅读全文
posted @ 2012-07-17 10:28 StarKong 阅读(481) 评论(0) 推荐(0)
摘要:1、删除临时文件:-- 停止iis服务 iisreset /stop-- 删除临时文件 rd -s -q "%windows%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\@foldername"--- %windows% 是服务器windows的安装目录。-- 启动iis服务 iisreset /start2、重置临时目录在web.config中增加如下节点: <compilation tempDirectory="d:\MyTempFiles" />,可将网站的编译 阅读全文
posted @ 2012-07-13 17:44 StarKong 阅读(564) 评论(0) 推荐(0)
摘要:我们可能会产生这样的需求,如何在Sharepoint Page中加入jQuery。我们知道,Sharepoint所有的"开箱即用"的主页(如:v4.master, default.master, minimal.master, and nightandday.master)中都包含有如下的HTML标识 <SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/&g 阅读全文
posted @ 2012-07-13 11:13 StarKong 阅读(272) 评论(0) 推荐(0)
摘要:JQuery是我们在进行SharePoint开发的时候使用的比较频繁的JS类库。本文向大家介绍一种简单方便的方式,把JQuery框架集成到我们的SharePoint中。我们来创建这样一个Feature.还是使用Visual Studio 2010. 1.创建一个空SharePoint项目“Empty SharePoint Project”。 2.修改默认创建的Feature,重命名成JQuery,修改其对应的Title和Description。 3.创建一个普通的自定义控件,添加类文件,命名成jQueryControl.cs,该类继承自System.Web.UI.Control,重写其C... 阅读全文
posted @ 2012-07-11 13:43 StarKong 阅读(288) 评论(0) 推荐(0)