摘要:
UpdatePanel 动态添加控件例子,在之前面页要加一个ScriptManagerUpdatePanel up = new UpdatePanel(); up.ID = "UpdatePanel1"; this.Form.Controls.Add(up); LiteralControl lc = new LiteralControl(DateTime.Now.ToString()); up.ContentTemplateContainer.Controls.Add(lc); Button btn = new Button...
阅读全文
posted @ 2012-04-22 13:26
gzh4455
阅读(499)
推荐(0)
摘要:
<%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script runat="server"></script><html xmlns="http://www.w3.org/1999/xhtml" &g
阅读全文
posted @ 2012-04-22 10:44
gzh4455
阅读(299)
推荐(0)
摘要:
GetEmployee.ashx 代码<%@ WebHandler Language="C#" Class="AspNetAjaxOverview.GetEmployee" %>using System;using System.Web;using System.Web.Script.Serialization;namespace AspNetAjaxOverview{ public class GetEmployee : IHttpHandler { public void ProcessRequest(HttpContext contex
阅读全文
posted @ 2012-04-21 23:52
gzh4455
阅读(934)
推荐(1)
摘要:
显示页面function createXMLHttpRequest(){ if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if(window.XMLHttpRequest){ xmlHttp = new XMLHttpRequest(); }}//创建XMLHttpRequest对象createXMLHttpRequest();function callServer(){ //获取表单中的数据 var users ...
阅读全文
posted @ 2012-04-21 23:38
gzh4455
阅读(281)
推荐(0)
posted @ 2012-04-17 00:47
gzh4455
阅读(4)
推荐(0)
摘要:
这篇随笔用自下义开发FolderNavigation 来了解自定义控件开发的流程,下面是讲建义的示例代码首先新建一个空的SharePoint项目,添加两个类,两个类的代码不是主要的,主要是讲其开发部署流程,一个是WebFolderNavigation.cs, 一个是SPUtil.csWebFolderNavigation.csView Code using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.UI.WebControls;using System.
阅读全文
posted @ 2012-04-15 17:59
gzh4455
阅读(216)
推荐(0)
posted @ 2012-04-15 15:11
gzh4455
阅读(3)
推荐(0)
posted @ 2012-04-15 14:56
gzh4455
阅读(2)
推荐(0)
摘要:
.textbox { font-family: "Verdana"; font-size: 9pt; color: #000000; border-color: #000000 #000000 #000000 #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border...
阅读全文
posted @ 2012-04-14 20:26
gzh4455
阅读(4091)
推荐(0)
摘要:
.btn { font-family: "Verdana"; font-size: 9pt; color: #FFFFFF; border-color: #000000 #000000 #000000 #000000; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;...
阅读全文
posted @ 2012-04-14 20:24
gzh4455
阅读(214)
推荐(0)