上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页
摘要: jQuery 的选择器可谓之强大无比,这里简单地总结一下常用的元素查找方法 002 003 $("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元素 004 $("div") 选择所有的div标签元素,返回div元素数组 005 $(".myClass") 选择使用myClass类的css的所有元素 0... 阅读全文
posted @ 2010-12-15 21:55 小师傅 阅读(166) 评论(0) 推荐(0) 编辑
摘要: SPFieldRatingScale================================Below code snippet renders SharePoint survey results as Pie chart using Telerik chart control: using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Drawing;using System.Runtime.InteropServices;using System.Web 阅读全文
posted @ 2010-12-07 21:08 小师傅 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Imagine a remote application that uses SharePoint Web Services to retrieve a list item’s attachments to perform some action on them or provide a link to them. This application could have been coded in WSS 2.0 using a mix of the GetListItems and GetAttachmentCollection methods of the Lists Web Servic 阅读全文
posted @ 2010-12-07 21:06 小师傅 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 【实例演示】橡树小屋的blog1234 用JQuery操作DOM确实很方便,并且JQuery提供了非常人性化的API应付我们的各种需求,其中选择器在此示例-“JQuery实现图片轮播效果”上体现的尤为出色。大大简化了js的代码。【原理简述】这里大概说一下整个流程:1,将除了第一张以外的图片全部隐藏,2,获取第一张图片的alt信息显示在信息栏,并添加点击事件3,为4个按钮添加点击侦听,点击相应的按钮,用fadeOut,fadeIn方法显示图片4,设置setInterval,定时执行切换函数【代码说明】filter(":visible") :获取所有可见的元素unbind():从匹配的元素中删除绑 阅读全文
posted @ 2010-12-06 23:42 小师傅 阅读(600) 评论(1) 推荐(0) 编辑
摘要: 分页是Web应用程序中最常用到的功能之一,AspNetPager 简单实用,应用到项目后台中,棒极了!自定义样式:后台:/// param name="currentPage"当前页/param 02/// param name="pagesize"每页显示数/param 03/// param name="recordcount"/param 04/// returns/returns 05public static DataSet GetPage(string sql, int currentPage, int pagesize, out int recor 阅读全文
posted @ 2010-12-06 21:57 小师傅 阅读(317) 评论(0) 推荐(0) 编辑
摘要: //遍历option和添加、移除optionfunction changeShipMethod(shipping){var len = $("select[@name=ISHIPTYPE] option").lengthif(shipping.value != "CA"){ $("select[@name=ISHIPTYPE] option").each(function(){ if($(this... 阅读全文
posted @ 2010-12-01 23:11 小师傅 阅读(120) 评论(0) 推荐(0) 编辑
摘要: In this article we will see how to implement client side validation in SharePoint list with out using SharePoint designer.For this follow the below steps找到需要有效性验证的页面,如NewForm.aspx或者EditForm.aspx在URL后面... 阅读全文
posted @ 2010-11-28 22:22 小师傅 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 前言最近的一个项目需要在MOSS 2007中嵌入Silverlight报表,而Silverlight报表则需要开发相应的WebService作为数据源,而这个从MOSS列表中获取数据的Web Service则要以自定义WebService的方法部署在MOSS站点中。园子里几位前辈在若干年前已经写过一些在MOSS中部署自定义WebService的方法(如:文章一,文章二),但可能是MOSS版本不同的... 阅读全文
posted @ 2010-11-28 16:46 小师傅 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 大部分的参考是来自MSDN: http://msdn.microsoft.com/en-us/library/exchangewebservices(EXCHG.80).aspx 2007版的Exchange服务器提供了webservice,我们可以方便的在.NET程序中添加该引用,然后就可以方便的实现邮件的抓取,发送,删除等功能。我测试是在控制台程序中使用该webservice,步骤如下: 1 ... 阅读全文
posted @ 2010-11-14 11:28 小师傅 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 本文转载自:http://space.itpub.net/221062/viewspace-580298我总结几个关键点1. 服务必须声明为ScriptService(否则会出现下面的问题)2.服务的方法不需要任何更改,保持原状3.客户端用jquery的.ajax方法来调用3.1 type必须是post3.2 contentType必须是application/json3.3 dataType必须... 阅读全文
posted @ 2010-11-07 17:27 小师傅 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页