摘要: Below is a screenshot of my project:The first thing I did was to create a new SharePoint 2010 Empty SharePoint Project called DeviantPoint.DownloadZip. Then, I added a reference to ICSharpCode.SharpZi... 阅读全文
posted @ 2010-10-13 13:43 StarWang 阅读(1750) 评论(0) 推荐(0) 编辑
摘要: Managed metadata features The new managed metadata features in SharePoint Server 2010 are enabled by a new Managed Metadata Service application that provides support for two key things:Content Type Pu... 阅读全文
posted @ 2010-10-13 13:21 StarWang 阅读(644) 评论(0) 推荐(0) 编辑
摘要: SPListCollection转DatatableSPListItemCollection unprocessedItems = List.GetItems(query);DataTable dt1 = unprocessedItems.GetDataTable(); Folder类型添加自定义属性 mySite = new SPSite("http://richsql/"); myWeb =... 阅读全文
posted @ 2010-10-11 21:25 StarWang 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: Override this style in your page where your webpart is added through sharepoint designer or via Content Editor Webpart by doing somthing like <style type="text/css">.ms-WPHeader{background-color... 阅读全文
posted @ 2010-10-09 14:09 StarWang 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Create a New SharePoint ApplicationInstead of screwing with your existing application, let’s create a new one so we can safely play. Open Central Administration (make sure that you are running Internet Explorer as Administrator or you will have permissions problems here) and click the “Manage web ap 阅读全文
posted @ 2010-09-28 22:34 StarWang 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: 1.安装Adobe PDF 64 bit IFilter version 9 运行搜索服务的服务器 下载地址:http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 2.修改注册表 运行搜索服务的服务器 以下两端保存为reg格式,双击注册; Windows Registry Editor Version 5.00 [HKEY_LO... 阅读全文
posted @ 2010-09-28 20:22 StarWang 阅读(471) 评论(0) 推荐(0) 编辑
摘要: SharePoint Server 以下这些组件适用于Windows Server 2008及Windows Server 2008 R2。KB971831 (目前该KB还没有对2008 R2进行更新,这个KB为WCF添加一个新模式“AllowInsecureTransport”,如果没有这个模式则User Profile SA、Metadata Service SA不能正... 阅读全文
posted @ 2010-09-28 20:15 StarWang 阅读(641) 评论(0) 推荐(0) 编辑
摘要: Deploying the jQuery JS file is quite easy: I recommend deploying it to the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS folder on every Front End Web Serve... 阅读全文
posted @ 2010-09-16 07:07 StarWang 阅读(278) 评论(0) 推荐(0) 编辑
摘要: SharePoint Server 2007 / MOSS 2007 中启用了个人网站功能,并且配置了正确的SSP,可是用户在访问我的网站时总是提示:创建个人网站时出现错误。有关详细信息,请与网站管理员联系。 MOSS服务器场 具体环境如下: AD服务器1台, DB服务器1台, Web前端1台, App服务1台。 采用Form认证和Windows集成认证2种方式,且2种方式都能正常使用我的网站。 ... 阅读全文
posted @ 2010-08-22 15:38 StarWang 阅读(953) 评论(0) 推荐(0) 编辑
摘要: 1.创建Web Application 时,Select a security account for this application pool 一定要选Configurable的;2.出现Not index for SSP 时,请使用以下方法:Open SharePoint Products and Technologies Configuration Wizard, confirm all Windows with YES, OK and FINISH, settings stay defaultCentral Administration | Operations | Topology 阅读全文
posted @ 2010-08-22 15:27 StarWang 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.自定义现有权限级别在“网站设置”页上的“用户和权限”下,单击“高级权限”。1.在工具栏上,单击“设置”,然后单击“权限级别”。2.在权限级别列表中,单击您要自定义的权限级别的名称。3.在权限列表中,选中或清除相应的复选框以向权限级别中添加权限或者从中删除权限。4.单击R... 阅读全文
posted @ 2010-08-21 08:27 StarWang 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 在javascript中,我们要常常用到event对象来处理一些事件,但是IE和Firefox下event对象的属性是不同的。 1.keyCode||which||charCode IE下支持keyCode,不支持which,charCode。 Firefox下支持keyCode,除功能键外,其他键值始终为0,Firefox下支持which和charCode属性 要获取兼容IE和Firefox的键... 阅读全文
posted @ 2010-08-18 16:56 StarWang 阅读(2508) 评论(0) 推荐(0) 编辑
摘要: ①提示框在后台写:前台代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<scripttype="text/javascript">functionDelSelectedRowFn(){Ext.MessageBox.co... 阅读全文
posted @ 2010-07-29 20:45 StarWang 阅读(480) 评论(0) 推荐(0) 编辑
摘要: ///显示tooltips function showPanelTips(gridPanel) { //控制grid页面展示的对象 var view=gridPanel.getView(); for(var rowIndex=0;rowIndex<gridPanel.getStore().getCount();rowIndex++) { var record=gridPanel.getSt... 阅读全文
posted @ 2010-07-22 10:18 StarWang 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 行选择模式: Js代码 var rowcount = grid.getSelectionNode().getSelections();可以获取全部选中的记录,得到的rowcount将是一个Array,比如想获取sex列的数据,语句如下Js代码 var strsex = rowcount.get(‘sex’); var strsex = rowcount.get(‘... 阅读全文
posted @ 2010-07-22 10:16 StarWang 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 枚举值绑定到下拉框:方法一:绑定enum TestEnum {zero=0,one=1,two=2}ComboBox cbo = new ComboBox(); cbo.DataSource = System.Enum.GetNames(typeof(TestEnum));enum test=enum.one;cbo.SelectedIndex = this.cbo.FindString(test... 阅读全文
posted @ 2010-07-13 22:35 StarWang 阅读(313) 评论(0) 推荐(0) 编辑
摘要: /**//// <summary> /// 把DataSet、DataTable、DataView格式转换成XML字符串、XML文件 /// </summary> public class DataToXml { /**//// <summary> /// 将DataTable对象转换成XML字符串 /// </summary> /// <pa... 阅读全文
posted @ 2010-07-13 22:19 StarWang 阅读(353) 评论(0) 推荐(0) 编辑
摘要: //今天DateTime.Now.Date.ToString();//昨天DateTime.Now.AddDays(-1).ToString();//明天DateTime.Now.AddDays(1).ToString();//本週第1天及最後1天 (要注意的是這裡的每一週是從週日始至週六止)DateTime.Today.AddDays (-(int)DateTime.Today.DayOfWee... 阅读全文
posted @ 2010-07-08 14:19 StarWang 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Group By/Having操作符适用场景:分组数据,为我们查找数据缩小范围。说明:分配并返回对传入参数进行分组操作后的可枚举对象。分组;延迟1.简单形式:说明:from p in db.Products 表示从表中将产品对象取出来。group p by p.CategoryID into g表示对p按CategoryID字段归类。其结果命名为g,一旦重新命名,p的作用域就结束了,所以,最后se... 阅读全文
posted @ 2010-07-06 17:10 StarWang 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 看过Ext - EditGridPanel实现效果的朋友会很惊讶,一个Grid就能实现所有增删改查功能。在展示给客户看时,让你的表现得很风骚。而他们又怎么知道,我们在调试js时,是多么痛苦。 如何在js中调用后台业务逻辑类,在我前面的文章中已经讲述过,而本篇的重点在于js对象与后台对象之间的转换。 1. Json Object转Model —— js定义json对象传递到... 阅读全文
posted @ 2010-07-06 16:09 StarWang 阅读(502) 评论(0) 推荐(0) 编辑