摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="PageEdit.aspx.cs" Inherits="PageEdit" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xm 阅读全文
posted @ 2011-03-24 14:49 Seven_Milk 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Extjs分页好像只能从aspx页面取数据,因为如果从webservice中取数据,totalProperty不知道怎么设置,这样总页数是不对的。从aspx页面取数据,页面能接收到start, limit参数Ext.onReady(function () { Ext.QuickTips.init(); Ext.form.Field.prototype.msgTarget = 'side'; bJsonReader = Ext.extend(Ext.data.JsonReader, { read: function (response) { var json = response 阅读全文
posted @ 2011-03-24 14:39 Seven_Milk 阅读(983) 评论(0) 推荐(0) 编辑
摘要: //从webservice中取数据ajax Ext.Ajax.request({ url: 'WebService.asmx/GetComboxFirst', method: 'POST', //jsonData: { UserName: "" }, headers: { 'Content-Type': 'application/json;utf-8' }, success: General, failure: On_Error }); function General(result) { var data = 阅读全文
posted @ 2011-03-24 12:35 Seven_Milk 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 页面文件<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ComboPage.aspx.cs" Inherits="ComboPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><h 阅读全文
posted @ 2011-03-24 10:11 Seven_Milk 阅读(1031) 评论(0) 推荐(0) 编辑