上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页

2012年2月21日

摘要: 创建 WindowsPhone Silverlight 应用程序的第一步是创建新项目。创建新项目的步骤确保下载并安装了 WindowsPhoneSDK。有关更多信息,请参阅安装 Windows Phone SDK。从 Windows“开始”菜单启动 Visual Studio2010 Express for WindowsPhone。如果显示“注册”窗口,则可以进行注册或暂时关闭该窗口。通过选择“文件 | 新建项目”菜单命令来创建一个新项目。将显示“新建项目”窗口。展开Visual C#模板,然后选择Silverlight for Windows Phone模板。选择“Windows Phon 阅读全文
posted @ 2012-02-21 15:04 SUNJUNLIN 阅读(463) 评论(0) 推荐(0) 编辑

2012年2月20日

摘要: 今天很冲动,开始准备学习Window Phone 7 阅读全文
posted @ 2012-02-20 21:24 SUNJUNLIN 阅读(616) 评论(8) 推荐(0) 编辑

2012年2月14日

摘要: 列表的显示表单添加打印功能moss 列表如果使用了infopath作为表单,这样就不会有打印预览的按钮了,不过如果是表单库就会有这个打印预览。那怎么打印呢,我找了一些资料,觉得有两个思路:1.从页面考虑,采用前端的代码添加打印功能2.从ribbion考虑,考虑添加打印按钮,再后端调用API实现打印。这里主要介绍第一种:1. Click on the “List” tab under List Tools2. Click on the drop down arrow on the “Modify Form Webparts” button (pictured)3. Select “(Item) 阅读全文
posted @ 2012-02-14 15:49 SUNJUNLIN 阅读(1640) 评论(0) 推荐(0) 编辑

2012年2月12日

摘要: When you using Windows Authentication (NTLM + AD) with your sharepoint site you may want to enter credential after you sign out from your site.But it is not easy and somehow imposible when using authentication NTLM and IE .Beacuse after you sign out and try to login again ,automatic login proccess l 阅读全文
posted @ 2012-02-12 23:45 SUNJUNLIN 阅读(837) 评论(0) 推荐(0) 编辑

2012年2月10日

摘要: /// Gets the SPUser from field of Sharepoint list/// /// <param name="aItem">The item./// <param name="aIntenalName">The internal field name/// private SPUser GetSPUser(SPListItem aItem, string aIntenalName){ SPFieldUser field = aItem.Fields.GetFieldByInternalName(aIn 阅读全文
posted @ 2012-02-10 14:12 SUNJUNLIN 阅读(467) 评论(0) 推荐(0) 编辑

2012年2月8日

摘要: 在moss开发中,经常会用到caml语言及第三方辅助工具,如U2U等,今天我就非不用这些工具,看看能不能照样工作?答案当然是可以的。好,其实在vs2010中,已经集成有这样的功能方便我们开发:新建一个sharepoint连接:如下图找到自己的网站下的列表,要开发的那个字段:点中,并且打开属性窗口:好的,这样我们就可以直接用了,但是如果要写好CAML语句,还是得用第三方的工具,生成语句。除非你不用靠他们生成语句,但是有时环境没有这些工具,刚好,你只是想改个字段名字,这样,就可以用这个方法啦,是不是很好呢? 阅读全文
posted @ 2012-02-08 22:08 SUNJUNLIN 阅读(792) 评论(0) 推荐(0) 编辑
摘要: 笔记本安装双系统:win7,win2008 R21.win7上有vitrual box,里面安装了window 2008 R2,这个环境里面有MOSS2010,VS2010,AD,还有SQL2008 R2.2.win2008 R2安装Hpyer-v(在功能里面添加),Hyper-v新建虚拟机,里面安装了win 2008 R2, 这个环境同上,所有软件也是全部安装在一个环境里面。1的好处是方便,便于共享本机的内容;坏处是,vbox可能很难迁移到其他有hyper-v的服务器环境,当然,所有东西全部装在同一环境中,也是不太好的。2的好处是虚拟机容易挂到有hyper-v的服务器上,坏处是服务器版本的系 阅读全文
posted @ 2012-02-08 17:40 SUNJUNLIN 阅读(531) 评论(2) 推荐(0) 编辑
摘要: Changing the SharePoint Site in a Visual Studio 2010 / SharePoint 2010projectI created a new Visual Studio project and entered in the url of a site that simply didn’t exist. Whoops! I didn’t want to create a new site for just this project, so I wanted to change the URL that Visual Studio 2010 uses t 阅读全文
posted @ 2012-02-08 15:55 SUNJUNLIN 阅读(1038) 评论(1) 推荐(0) 编辑

2012年2月7日

摘要: As I understand, you want to show the Office documents using Office Web Apps. Instead of using the ECB actions, you want to open it using Hyperlink, am I right?When you try to view the word document in Brower, you will get a url like this:http://servername/_layouts/WordViewer.aspx?id=/Shared%20Docum 阅读全文
posted @ 2012-02-07 15:36 SUNJUNLIN 阅读(270) 评论(0) 推荐(0) 编辑
摘要: In that case you could check / ensure permissions on a certain list item with the method DoesUserHavePermissions:SPListItem item =//...if(item.DoesUserHavePermissions(SPContext.Current.Web.CurrentUser,SPBasePermissions.ViewListItems)){ // futher actions if user has permission goes here.} 阅读全文
posted @ 2012-02-07 15:35 SUNJUNLIN 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页

导航