急问一个小问题:请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???

bigbigxian 2005-11-07 11:26:53
请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???

也就是说当 点击 Form1中的 button1时,Form2中的 Timer1 的 Enable 由原先的true变成 False!

求完全代码!!!
...全文
108 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ChengKing 2005-11-07
  • 打赏
  • 举报
回复
Form2.cs中:
public static System.Timers.Timer timer1;

Form1中这样修改:
private void Form1_Load(object sender, System.EventArgs e)
{
Form2.timer1.Enabled = false;
}
ExtAspNet v2.2.1 ExtAspNet是一组专业的Asp.net控件库,拥有原生的AJAX支持和丰富的UI效果, 目标是创建没有JavaScript,没有CSS,没有UpdatePanel,没有WebServices的Web应用程序。 支持的浏览器: IE 7.0+, Firefox 3.0+, Chrome 2.0+, Opera 9.5+, Safari 3.0+ 注:ExtAspNet基于一些开源的程序ExtJS, HtmlAgilityPack, Nii.JSON, YUICompressor。 示例: http://extasp.net/ 开源: http://extaspnet.codeplex.com/ 博客: http://sanshi.cnblogs.com/ 邮箱: sanshi.ustc@gmail.com 发布历史: +2010-03-28 v2.2.1 +为TabStrip的GetAddTabReference函数增加重载方法,以便指定Tab的图标(feedback:mmdcup)。 -修正此函数通过PageContext.RegisterStartupScript调用时不能正确显示Icon的BUG(feedback:zhaowenke)。 -修正basic/hello.aspx示例在单独浏览器打开后,不能弹出对话框的BUG。 -隐藏示例首页最外层RegionPanel的边框ShowBorder="false"。 +集成Extjs最新版本v3.1.1。 -增加一个新的Theme - Access。 -修正了Firefox下Zoom In/Out时页面消失的BUG。 -删除Panel的EnableLightBackgroundColor属性,同时EnableBackgroundColor只支持Blue和Gray两种Theme。 +2010-01-31 v2.2.0 -使得Asp.net的控件ImageButton具有和Asp.net的Button控件类似的行为(Ajax提交)(feedback:261629698)。 +TabStrip增加GetAddTabReference和GetRemoveTabReference两个函数,用来向TabStrip控件动态增加删除Tab。 -增加示例tabstrip/tabstrip_addtab.aspx。 -重构了示例网站的架构,目前只有一层IFrame结构。 -为TabStrip增加EnableTabCloseMenu属性,是否启用右键菜单,可用来关闭当前Tab和所有其他Tab。 -为NumberBox增加DecimalPrecision属性,用来控制小数点后的位数(需要设置NoDecimal="false")(feedback:zqmars)。 -Window控件更新。 -关闭按钮默认直接关闭,不会弹出确认对话框。 -GetConfirmFormModifiedHideReference的函数的ConfirmFormModified简化为Confirm,所以此函数更名为GetConfirmHideReference。 -增加两个属性EnableConfirmOnClose(默认false),CloseAction(Hide, HideRefresh, HidePostBack)。 -修正EnableMaximize属性不能使Window最大化的BUG,修正了双击标题栏不能最大化的BUG。 -删除Button控件的SystemIcon属性,比如以前这样定义SystemIcon="Close",现在需要这样定义Icon="SystemClose"。 -WindowPosition默认居,而不是黄金分割位置。 +Button, Window等控件弹出位置属性的变化。 -Window的Target属性由字符串类型变为枚举类型,注意更新以前的代码:Target="_self" -> Target="Self", Target="_parent" -> Target="Parent"。 -MenuButton, LinkButton, Button, LinkButtonField的ConfirmTarget属性由字符串变为枚举类型,可以取三个枚举值Self, Parent, Top。 -Confirm.GetShowReference的最后一个参数target变为枚举类型。 -Alert.GetShowReference的showInParent参数也变为Target枚举类型。 -MenuButton, LinkButton, Button, LinkButtonField增加ValidateTarget用来控制表单验证失败时提示对话框的显示位置。 +2010-01-06 v2.1.9 -集成Extjs最新版本v3.1.0。 -修正灰色皮肤的CSS问题。 -修正Grid的列名不能包含文字符的BUG(feedback:davidwen)。 -为Web.config和PageManager增加属性AjaxTimeout(单位秒,默认30秒)。 -修正了在Grid的PageIndexChange事件不能获取SelectedRowIndexArray属性的BUG(feedback:Violet)。 -Button控件将不再自动拥有display:inline属性,如果希望两个按钮在一行显示,请为第一个按钮设置CssStyle="float:left;"属性。 -修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。 -为TriggerBox和TwinTriggerBox增加EnableEdit属性。 -使用Hidden来显示隐藏ExtAspNet控件,而不是使用Visible属性(Visible目前设置为只读属性)。 -使用Hidden控制Window控件的显示隐藏,Popup已经标记为Obsolete属性。 -Window的实例方法GetCloseReference等以及ActiveWindow的静态方法GetCloseReference等,其的Close全部改为Hide。 -增加TabStripTab控件可关闭属性EnableClose(默认为false)以及两个方法GetShowReference和GetHideReference(feedback:anson)。 -修正绑定到Tree的XMLDocumentIcon属性映射错误(feedback:nopnop9)。 -修正HtmlEditor不能编辑的BUG(feedback:TheBox)。 -修正IE下有时会出现空白页面的情况(feedback:olivia919)。 +2009-12-06 v2.1.8 -修正了使用IFrame的Window关闭后不能再次打开的BUG(feedback:alexa99)。 -修正了IE下Grid一个JS问题(feedback:lqm4108)。 -修正Alert消息引号未编码导致的JS错误(feedback:sun1299shine)。 +集成extjs3.0.3。 -修正弹出对话框的宽度计算错误(会保持最小的状态)。 -增加新的皮肤Gray。 -为示例工程添加改变语言和皮肤的下拉列表。 -为PageContext增加静态函数Refresh,在切换语言和皮肤时使用。 +2009-12-01 v2.1.7 -增加示例(iframe/parent_postback_run3.aspx),如何通过简单的Javascript代码回发父页面(feedback:eroach)。 -修正一些书写错误(feedback:bmck)。 -从Region控件删除SplitColor属性,增加CollapseMode, EnableSplitTip, SplitTip, CollapsibleSplitTip属性(feedback:bmck)。 -BorderPanel更名为RegionPanel。 -DropDownList拥有MarkInvalid方法(feedback:sun1299shine)。 -增加国的省市县三级联动示例(data/shengshixian.aspx)(feedback:Blues T)。 -修正了使用IFrameUrl的Tab在切换过程会重复加载的问题,这是一个在v2.1.6引入的问题(feedback:eroach)。 -修正了启用AutoPostBack的Grid,其RowClick会覆盖LinkButtonField, HyperLinkField, CheckBoxField的点击事件(feedback:yymaoji)。 +2009-11-26 v2.1.6 +修正动态创建Grid列的BUG(feedback:gxpan)。 -增加示例(data/grid_dynamic_columns.aspx)。 -修正Form不能自适应浏览器大小的改变(feedback:kaywood)(WorkItem#6309)。 -增加重载方法Alert.Show(message, title, icon)(feedback:TheBox)(WorkItem#6353)。 -为容器控件(比如Panel,Region,Tab等)增加AJAX属性IFrameUrl(feedback:BluesT)。 -重新设计模拟树的下拉列表的实现,避免选某项后的闪烁。 +2009-11-21 v2.1.5 +Tree优化。 -修正Expanded项和Checked项的状态在回发改变后不能保持的BUG。 -GetNodeById更名为FindNode,保持和FindControl一致命名。 -删除CheckedNodeIDArray属性,增加GetCheckedNodes和GetCheckedNodeIDs函数。 -删除ExpandedNodeIDArray属性,增加GetExpandedNodes和GetExpandedNodeIDs函数。 -增加示例(data/tree_select_run.aspx),如何选当前节点的所有子节点(feedback:wjl_wjl520)。 +TreeNode的属性NodeId被重命名为NodeID,这是ExtAspNet一个命名约定。 -同时更名的还有GridColumn的ColumnId->ColumnID,GetColumnId->GetColumnID。 -Grid1.Columns.FindColumnById函数被Grid1.FindColumn所替代。 -为TreeCheckEventArgs,TreeExpandEventArgs,TreeCommandEventArgs增加Node属性。 -为所有控件增加Focus(覆盖Control默认的Focus函数)和GetFocusReference函数。 -增加示例(other/custom_postback.aspx)(feedback:thebox)。 -如何自定义Javascript脚本和C#处理函数来响应键盘事件。 -为Tree增加AutoLeafIdentification属性。 -增加示例(tree_auto_leaf_identification.aspx)(feedback:wdrabbit)。 +2009-11-17 v2.1.4 -修正Window的关闭按钮提示信息一直是文的BUG(feedback:thebox)。 -部分ExtAspNet控件的设计时支持(会在后续版本逐步完善)。 -v0.2beta2版本关于PersistChildren(true)的描述有误,这个是设计时属性,和运行时是否保持状态没有关系。 -修正CheckBox控件的CheckedChanged事件会被触发两次的BUG(Data PostBack->AutoPostBack, Event PostBack->EnablePostBack)。 -为TextBox,TextArea,DatePicker,NumberBox,TriggerBox等控件增加AutoPostBack属性(feedback:dk3214)。 +为表单字段增加RequiredMessage,MaxLengthMessage,MinLengthMessage属性,用于指定验证失败时提示信息。 -为空则使用默认的提示信息,默认的提示信息支持多语言,建议一般情况下使用默认信息。 +为表单字段增加MarkInvalid和GetMarkInvalidReference函数(feedback:sun1299shine)。 -增加示例:form/form_validate.aspx +2009-10-19 v2.1.3 +增加支持在AJAX时改变的控件属性列表(/ajax.aspx)。 -ExtAspNet支持原生的AJAX,也就是说控件的属性改变在AJAX过程会反映到页面,但并不是所有的控件属性都支持AJAX改变。 -加载s.gif图片在本机进行,不会请求extjs.com远程资源(feedback:efrigate43,abaocoole)。 -在AJAX回发后确保Asp.net的按钮控件仍然具有AJAX的特性。 -更新/basic/login.aspx示例,使用验证图片(feedback:kedee)。 -为Grid增加AutoPostBack属性和RowClick事件,示例在/data/grid_autopostback.aspx(feedback:chenguizhu2006)。 -为所有的表单字段增加AJAX属性ReadOnly(feedback:skydb)。 -GridTemplateField生成到页面控件具有唯一ID,例如Grid1_ct5_Label2,Grid1_ct6_Label2(feedback:geruger)。 +2009-09-27 v2.1.2 -为Tree控件增加GetExpandAllNodesReference和GetCollapseAllNodesReference两个函数。 -修正RELEASE版本下多语言加载的BUG(feedback:yigehaoren)。 -增加pt_BR语言,由Ujvari提供。 +为所有Panel(包括Grid,Tree,Form等)增加枚举类型Icon,其包含1700多个小图标。 -如果Panel具有IconUrl属性,则IconUrl优先于Icon。 -所有Icon的列表在icon.aspx。 -为Button,MenuItem(MenuButton,MenuHyperLink),AccordionLink,TreeNode,Image(如果ImageUrl为空,则取Icon的值)增加Icon属性。 +2009-09-15 v2.1.1 -修正不能动态修改AccordionPane属性Items的BUG。 +为Button, MenuButton, LinkButton, LinkButtonField增加ConfirmTarget。 -如果需要在父页面弹出确认对话框,需要设置ConfirmTarget="_parent"(类似Window控件的Target="_parent")。 +为ExtAspNet.Alert.Show增加点击确定的JavaScript回调函数。 -一个典型应用,在Window控件打开新页面,如果传递的参数不正确,则首先提示参数不对然后关闭此弹出窗口。 -ExtAspNet.Alert.Show("参数错误!", String.Empty, ExtAspNet.ActiveWindow.GetCloseReference()); +TreeNode的前面的多选框可以自动回发了。 -为TreeNode增加AutoPostBack属性,增加事件数据类TreeCheckEventArgs,为Tree增加事件NodeCheck。 -示例在:http://extasp.net/data/tree_run.aspx -Grid增加GetNoSelectionAlertInParentReference函数,用来表示没有选任何一项时在父页面弹出对话框的JS代码。 -修正IE7下不能以下划线作为CSS类名的前缀的BUG(feedback:Steve.Wei)。 -添加定时器控件Timer,用来定时发起AJAX请求。 +2009-09-06 v2.1.0 -Button的Pressed属性值能够正确的反映客户端的变化。 -优化Tree控件的AJAX实现。 +为页面的Form添加autocomplete="off"属性。 -参考http://www.cnblogs.com/sanshi/archive/2009/09/04/1560146.html#1635830 +添加对extjs3.0所有语言的支持。 -ExtAspNet扩展的多语言包在js\languages\extaspnet目录下,目前只有en,zh_CN,zh_TW三种实现 -你可以向其添加自己的语言版本,并执行js\languages下的pack.bat打包,最后编译工程。 +2009-09-01 v2.0.9 -为ExtAspNet.Alert添加两个静态方法ShowInParent和GetShowInParentReference,用于在父页面弹出窗口。 +在aspx页面必须显示的声明控件的集合属性(比如Tabs(TabStrip), Items(PanelBase), Nodes(TreeNode))。 -这将会影响所有的aspx页面,所以要特别关注。 -重命名AccordionPanel为AccordionPane (这也是在Asp.net AJAX使用的名称). +所有的面板默认有两个集合属性(Toolbars和Items). -尽管TabStrip, From, Tree, Accordion继承了Items属性,但是你并不能对其设置(此时Items是只读的). -这将会影响所有的aspx页面,一定要将工具条(Toolbars)和Items区分开来。 -祝你生日快乐 - 小师妹妹。 +2009-08-29 v2.0.8 -ExtAspNet支持多语言(en,zh_CN,zh_TW),可以在Web.config修改。 -将所有的示例转化为英语版本。 -修正Tree控件的一个BUG(定义Mappings属性时)。 +PageManager.Instance应该存在于HttpContext.Current,而不是一个全局变量。 -这个BUG导致Asp.net compatibility的示例无法完成,现在已经修正。 +去除PageManager方法AddAjaxAspnetControls,增加属性AjaxAspnetControls。 -这个属性Button得ValidateForms属性类似,可以查看Asp.net compatibility的示例。 +2009-08-25 v2.0.7 -为按钮增加DisableControlBeforePostBack属性 - 回发之前是否禁用按钮,防止重复提交 - 默认为true。 -Grid的Values属性访问限制由internal改为public,这就意味这可以自由改变Grid每个单元格的值了。 -增加示例-如何将Grid控件导出为Excel(data\grid_excel_run.aspx)(feedback:503684912)。 -如果TreeNode的属性Enabled="false",则此项变灰并且不会被选(feedback:your568)。 -修正TreeNode的属性NavigateUrl不接受服务器端URL(以~/开头)的BUG。 -增加Accordion和Tree配合使用的示例(other\accordion_tree_run.aspx)。 -修正Panel图标不能显示的BUG(CSSclass名不能有$字符)。 +去除PageLayout控件,此控件可以使用BorderLayout和指定PageManager的AutoSizePanelID属性来代替。 -这样所有需要占据全屏的Panel(不管你是Accordion,Panel,ContentPanel,Form,GroupPanel,SimpleForm,Tree还是Grid,TabStrip)都可以通过这种方式全屏。 -简单方便,示例可以参考 default.aspx 或者 other\accordion_tree_run.aspx。 +2009-08-14 v2.0.6 -动态生成菜单实例(other\menu_dynamic_run.aspx和other\menu_dynamic2_run.aspx)(feedback:shguo)。 -优化AJAX的内部实现,每个页面保存的ViewState现在减少1/3左右(重要更新)。 -优化Tree节点的NodeId自动生成,减少ViewState占用。 +2009-08-09 v2.0 beta5 +ExtAspNet和Asp.net的提交按钮兼容问题(feedback:千帆)。 -在2009-03-03 v1.3.0曾经提到这个兼容问题,并有这样的规则,如果Asp.net的按钮AJAX提交,必须设置UseSubmitBehavior="false" --也就是说生成的input的type不能是"submit",而这个限制在有些情况下是不可原谅的。 --我们做了优化,现在要使一个Asp.net的按钮能够AJAX提交,你不需要做任何设置(PageManager的属性EnableAjax为true即可,这是默认属性)。 +PageManager的实例方法AddAjaxUpdateControl改名为AddAjaxAspnetControls,现在可以在Page_Load设置需要在AJAX需要更新的Asp.net控件了。 -在Page_Load设置了哪些需要在AJAX更新的Asp.net控件会在回发时保持状态,可以通过RemoveAjaxAspnetControls来去除不需要更新的控件。 -示例在aspnet\fckeditor_run.aspx和aspnet\aspnet_run.aspx。 -FCKEditor和上传控件兼容。示例在aspnet\fileupload_run.aspx。 -修正ToolbarText的文本在AJAX下更新的BUG。 -Button的Pressed属性在AJAX可更新(feedback:mgzhenhong)。 -更新所有示例。在IE7.0,IE8.0,Firefox3.5,Chrome2.0下测试通过。 +2009-08-02 v2.0 beta4 +和Asp.Net的Forms Authentication兼容[feedback:mgzhenhong]。 -采用和Asp.Net Ajax类似的处理方式,需要在配置文件Web.config增加一个httpModules。 -现在支持Response.Redirect,你可以选择Response.Redirect或者ExtAspNet.PageContext.Redirect重定向页面,两者效果一样。 -支持FormsAuthentication.RedirectFromLoginPage(accountID, false);这样的方法。 -Button增加Type属性button,reset,submit)[feedback:mgzhenhong]。 -修正Alert.Show方法不能指定文本前图片的BUG[feedback:xmq&mgzhenhong]。 -修正IE下某些弹出窗口的IFrame第一次不能加载的BUG。 -增加Menu和Accordion的示例。 -修正Window控件的IconUrl有时不显示(Target="_parent")的BUG[feedback:xmq&mgzhenhong]。 +2009-07-22 v2.0 beta3 -兼容FCKEditor。 -在IE8.0,Firefox3.5下测试通过。以后ExtAspNet将不会对IE6.0提供支持。 +2009-07-13 v2.0 beta2 -集成extjs最新版本v3.0。 +兼容IE6.0-7.0-8.0。 -这应该是Extjs3.0的一个BUG,在IE6.0-7.0下面设置Ext.QuickTips.init();会导致buttonclick事件无法响应(IE8下无此问题)。 -目前先禁用IE6.0-7.0的QuickTips。 -优化底层JavaScript。 +2009-07-05 v2.0 beta1 -更新extjs库到最新版本v3.0 RC2; 目前只有一个缺省皮肤(Theme)。 -使用YUI Compressor压缩JavaScript和CSS文件。 -Release版本每个页面只包含一个JavaScript文件(语言文件除外)和一个CSS文件。 -ExtAspNet自身的CSS会紧挨着页面标签引入,这样在<head><em>中</em>自定义的样式可以覆盖ExtAspNet缺省样式。 +Alert对话框会遮挡所有的Window窗口。 -使用<em>一个</em>变通的方法解决,因为无法<em>改变</em>Ext.Message的默认z-index(9000)所以将box.window_default_group的zseed调整为6000。 -为所有按钮的左右增加5px的空白边距:.x-btn <em>button</em> { margin: 0 5px !important; }。 -因为下拉列表不可编辑,所以不能为空,如果不设置SelectedIndex或SelectedValue,则默认选<em>中</em>第一项。 -重新绑定模拟树的下拉列表后,选<em>中</em>项的前面有图片的HTML标签的BUG。 -更新自定义JavaScript组件Ext.ux.SimplePagingToolbar。 -更新示例工程。 +2009-03-25 v1.3.1 -Tree在AJAX回发展开节点时JS错误[feedback:xlli]。[fixed] -Window<em>中</em>的<em>Enable</em>IFrame==false,则点击关闭按钮时报JS错误。[fixed] -页面包含FileUpload控件,需要点击按钮回发并上传文件,则不能采用原生AJAX方式。(参见示例aspnet/fileupload.aspx)[fixed] -HtmlEditor显示隐藏工具栏按钮不起作用,HtmlEditor目前不支持<em>Enable</em>d和Readonly两个<em>属性</em>。[fixed] +2009-03-03 v1.3.0 -如果弹出的窗口(Ext-Window)含有ASP.NET控件FileUpload,则此弹出窗口在关闭时出现JS错误(http://extjs.com/forum/showthread.php?t=8129)[feedback:xlli]。[fixed] -如果页面<em>中</em>存在ASP.NET控件(TextBox),则第二次提交表单就会报错(视图状态不对,其实时没有更新EventValidation隐藏字段导致的<em>问题</em>)。[fixed] -页面上放置ExtAspNet-<em>Button</em>和ASP.NET-<em>Button</em>,则点击ExtAspNet-<em>Button</em>时激发的是ASP.NET-<em>Button</em>的<em>事件</em>,这个BUG和Extjs2.2.1<em>中</em>Ext.Ajax.serialize<em>Form</em>的实现有关。[fixed] -ExtAspNet内部包含HtmlAgilityPack和Nii.JSON两个开源的第三方类库。[added] +如果以前你听过不要在ExtAspNet工程<em><em>中</em>使</em>用ASP.NET标准控件的忠告,那么从v1.3.0版本开始,你可以忘掉这个说法,现在ExtAspNet控件和ASP.NET标准控件和平共处了。[fixed] -如果<em>一个</em>ASP.NET按钮控件要使用ExtAspNet的原生AJAX,只需要设置<em>属性</em> UseSubmitBehavior="false" 即可。 -如果要在一次ExtAspNet的原生AJAX回发时更新ASP.NET控件的值,只需要调用PageManager的公共方法AddAjaxUpdateControl即可(示例:aspnet/aspnet.aspx)。 +2009-02-27 v1.2 beta9 -网络连接出错时的“Ajax Error”改成更加友好的提示信息“本次连接失败!可能是网络连接出错,请刷新页面重试。”。[fixed] -自动测试功能会在以后版本<em>中</em>逐步完善。这个版本完成测试框架,采用Extjs<em>中</em>JS函数进行大部分的测试,对于一些难以测试的地方借助jQuery完成。[fixed] +系统底层代码优化(主要是Javascript的封装和BUG修复)。[fixed] -底层使用Javascript创建<em>一个</em>Window控件的代码由原来的2000字符减少为500个字符。 -PageContext静态类<em>中</em>的GetPageStateChangedFunction改名为GetConfirm<em>Form</em>ModifiedReference,底层代码优化。表示“获取当前页面<em>中</em>表单修改的确认提示框的脚本”。 ---[updated]删除PageContext<em>中</em>的GetConfirm<em>Form</em>ModifiedReference,使用CurrentActiveWindow<em>中</em>的GetConfirm<em>Form</em>ModifiedCloseReference/GetConfirm<em>Form</em>ModifiedCloseRefreshReference/GetConfirm<em>Form</em>ModifiedClosePostBackReference三个方法代替。 -不会修改弹出页面的URL(Ext-Window<em>中</em>的IFrame),以前为了实现功能为每个弹出页面添加box_parent_client_id查询字符串 -去除PageManager的RegisterPageStateChangedScript<em>属性</em>,现在已经将这个功能实现为静态的JS方法。可以通过PageContext.Get<em>Form</em>ModifiedConfirmReference获取此方法的客户端脚本。 ---注意:以前的项目需要在所有的ASPX页面<em>中</em>查找RegisterPageStateChangedScript<em>属性</em>,并删除,否则会运行错误! -A页面有Ext-Window控件弹出B页面,B页面有Ext-Window控件弹出C页面,B页面的Ext-Window控件设置Target='_parent',则弹出的Ext-Window(C页面)会覆盖整个A页面,这是正确的。 ---当时如果用户直接访问B页面,就会报JS错误,因为此时找不到B页面的父页面A了。现在的版本修正为如果找不到父页面,则就在当前页面弹出窗口,这样用户直接访问B页面也不会出错了。 -Window控件的GetIFramePageStateChangedFunction函数改名为GetConfirm<em>Form</em>ModifiedCloseReference,表示“获取先确认IFrame的页面<em>中</em>表单<em>改变</em>,然后关闭弹出窗口的客户端脚本”。 ---为Window控件增加如下两个方法GetConfirm<em>Form</em>ModifiedCloseRefreshReference和GetConfirm<em>Form</em>ModifiedClosePostBackReference,表示“先确认表单<em>改变</em>,然后关闭弹出Ext-Window,再然后刷新父页面或回发父页面”。 ---Window控件的OnClientClose<em>Button</em><em>Click</em><em>属性</em>如果不设置,则默认采用GetConfirm<em>Form</em>ModifiedCloseReference,也即是先判断表单是否更新,然后在关闭窗口。 ---现在可以很方便的为Window控件的关闭按钮添加关闭后刷新父页面或者关闭后回发父页面的行为。 -如果弹出窗口(Window控件)<em>中</em>IFrame的页面不能正常加载(网络暂时出错或页面抛出异常),则此时点击右上角的关闭按钮会报JS错误,因为此时页面尚未加载完毕。 ---此版本修正了这个BUG,即时页面不能加载完全,也能通过右上角的关闭按钮关闭弹出含IFrame的窗体。 -Window控件的IFrameName<em>属性</em>是自动生成的,只读<em>属性</em>。(因为有可能所有的Ext-Window最终都渲染到最外层的页面,为了保证这些IFrame的name不同,IFrameName使用的是GUID,内部处理)。 -CurrentActiveWindow改名为ActiveWindow。 -[特别注意]GetWriteBackValueReference(string controlClientIds, string value, params string[] values)函数现在的定义是GetWriteBackValueReference(params string[] values) ---所有调用GetWriteBackValueReference的地方,需要删除第<em>一个</em>参数(一般是ActiveWindow.GetLoadStateReference())。 +2009-02-23 v1.2 beta8 -ContentPanel<em>中</em>内容不能自动扩展高度的BUG[feedback:huihuang]。[fixed] -DropDownList在Ajax回发时不能计算模拟树的数据[feedback:huihuang]。[fixed] -DropDownList在页面第一次加载时没有不可选择项,则回发时也不会有不可选择项的BUG。[fixed] -升级底层ExtJS类库为v2.2.1(此版本主要是Chrome的支持和部分内存泄漏<em>问题</em>的修正)。[fixed] -页面加载过程<em>中</em>的时间信息保存在Javascript变量window.box.timeInfo<em>中</em>。[added] +增加部分自动测试支持(使用WatiN和NUnit),下个版本将会提供完整的自动测试支持。[fixed] +2008-10-28 v1.2 beta7 -DropDownList没有选<em>中</em>任何一项,回发时报错[feedback:huihuang]。[fixed] -Window显示位置不对,以及不能拖动的BUG[feedback:huihuang]。[fixed] +PageContext优化。[fixed] -去除RegisterExclusiveScript静态函数(这是没有原生ajax之前的产物),使用RegisterStartupScript替代。 -去除RegisterStartupScript的重载函数,只保留最简单的PageContext.RegisterStartupScript(string script)函数。 -Resirect增加重载函数Redirect(string url, string target),其<em>中</em>target可能的取值为_self,_parent,_top,分别表示在当前窗口,父窗口,顶级窗口重定向[feedback:jqpeng]。 -Image控件增加ImageWidth/ImageHeight/ImageCssStyle/ImageCssClass/ImageAlt<em>属性</em>[feedback:jqpeng]。[fixed] -发布包<em>中</em>增加<em>一个</em>Web.config.txt,这是<em>一个</em>空的Web.config文件,包含BOX基本的配置信息。[fixed] -ContentPanel的ShowHeader和ShowBorder<em>属性</em>默认也是true(注意更新以前的应用)。[fixed] -Row和Column布局时,修正IE下设置RowHeight="100%"时显示不正确的BUG。[fixed] -AccordionLink当鼠标移上和移开时,有背景色的变化效果[feedback:huihuang]。[fixed] +TabStrip的Tab控件的<em>Enable</em>PostBack<em>属性</em>会在回发时保持(也即是说如果<em>Enable</em>PostBack=true,回发时没<em>改变</em><em>Enable</em>PostBack的值,则每次切换到此Tab都会回发)。[fixed] -有这样<em>一个</em>效果,如果Tab1默认显示,Tab1的<em>Enable</em>PostBack=true,则页面加载完毕后会回发Tab1一次。 +2008-10-20 v1.2 beta6 +使用控件的站点必须建立虚拟目录,否则会报JS错误(即是脚本资源没有加载),却原来是HTTPCompress组件的<em>问题</em>。[fixed] -需要替换新的blowery.Web.HttpCompress.dll,解决方案见http://pohee.com/it/http-compression-in-aspnet-20/。 +DropDownList优化。[fixed] -去除<em>Enable</em>FirstItem/FirstItemText/FirstItemValue,这个并不能带来很大的好处,反而容易让开发人员困惑。 现在可以方便的在后台DropDownList1.Items.Insert(0, new ExtAspNet.ListItem("全部", "-1"));来达到同样的效果。 +如果某项(ListItem)的Value为空字符串,则通过SelectedIndex和SelectedValue不能选<em>中</em>[feedback:jqpeng]。 -和Asp.net<em>中</em>的保持一致,ListItem的Value值可以为空字符串。 也就是可以这样写DropDownList1.SelectedValue = ""; -ListItemCollection增加重载函数Add(string text, string value),这样方便后台添加列表项。 -处于布局内的容器控件(Layout!=LayoutType.Container),AutoHeight会自动设置为false(避免开发人员发生此类错误)。[fixed] -注意,控件的高度指的是整个控件的高度,包含BodyPadding(这和CSS<em>中</em>的height不同,CSS<em>中</em>的height是指内容的高度,除去padding/border-width/margin)。[fixed] +为所有控件<em>属性</em>增加在VS<em>中</em>的智能提示。[fixed] -需要将ExtAspNet.XML和ExtAspNet.dll放在一起,这样引用dll时xml会被拷贝到bin目录下,提供VS的智能提示。 +控件的<em>属性</em>如果是枚举类型,如果此<em>属性</em>可以不取值,则默认为None。[fixed] -TriggerIconType.Default -> TriggerIconType.None -SystemIconType.Empty -> SystemIconType.None -RegexPattern.USER_DEFINED -> RegexPattern.None -表单验证<em>属性</em>名称变化(ValueToCompare->CompareValue,ControlToCompare->CompareControl)。[fixed] +注意:<em>一个</em><em>属性</em>可以拥有多个值的情况。[fixed] -<em>属性</em>和CSS相关则用空格分隔(比如ColumnWidths,BodyPadding)。 -其他的都是逗号分隔(比如Validate<em>Form</em>s,DataKeyNames,DataNavigateUrlFields)。 +AccordionLink实现为控件。[fixed] -可以方便的在子页面(iframe)<em>中</em>通过js切换父页面<em>中</em>选<em>中</em>的菜单项(Accordion->AccordionLink)(示例在other/accordion_links_run.aspx,other/accordion_links_run_iframe_htm)[feedback:jima]。 +确认:可以方便的动态添加控件,并且可以给控件添加服务器端<em>事件</em>(示例在<em>form</em>/<em>form</em>_dynamic_run.aspx)。[fixed] +2008-10-15 v1.2 beta5 -验证表单字段的ValueToCompare<em>属性</em>,为字符串时会出错的BUG。[fixed] +优化下拉列表。[fixed] -验证下拉列表时,应该取ListItem的Value<em>属性</em>进行验证,而不是Text<em>属性</em>。 -DropDownList的Items增加Insert方法(可方便的下拉列表选项添加“全部”)。 -DropDownList不支持EmptyText<em>属性</em>。 -ListItem启用<em>Enable</em>Select和SimulateTreeLevel<em>属性</em>,这样就可以直接在前台(ASPX)<em>中</em>设置哪些项不可选择,以及创建模拟下拉树。 -DropDownList增加<em>Enable</em>SimulateTree<em>属性</em>(默认为false),如果设置了DataSimulateTreeLevelField,则自动将<em>Enable</em>SimulateTree设置为true。 +2008-09-27 v1.2 beta4 +<em>Enable</em>LargeHeader<em>属性</em>对所有容器的效果一样,Accordion的<em>属性</em><em>Enable</em>LargeHeader只会<em>改变</em>Accordion的标题大小,而不会对AccordionPanel起作用(示例见other/accordion_run.aspx)。[fixed] -Accordion去除<em>Enable</em>Hightlight<em>属性</em>,AccordionPanel增加<em>Enable</em>Hightlight<em>属性</em>。 -影响以前使用Box的应用,需要将Accordion的<em>属性</em>去掉,然后为每个AccordionPanel增加<em>Enable</em>LargeHeader和<em>Enable</em>Hightlight<em>属性</em>。 -AccordionPanel鼠标移上去的样式调整(现在没有下面的一条白线了)。[fixed] +AccordionPanel增加Links<em>属性</em>,可以绑定列表数据到AccordionPanel,呈现的是链接的列表(示例在other/accordion_links_run.aspx)。[fixed] -原来放置在AccordionPanel<em>中</em>的容器,比如ContentPanel需要在外层加上<Items>标签。 -适当增大AccordionPanel<em>中</em>链接的高度20px->22px,同时对链接的样式也做了微调。 -通过BodyPadding控制链接列表的边距。 -这样能大大减少ASPX<em>中</em>HTML代码和Javascript代码的书写,可以在后台动态添加链接,效果很赞,此需求由马季提出。 +2008-09-25 v1.2 beta3 +代码优化与设计时支持(尚需要不断完善,目前可以在ASPX页切换到“设计时”,方便<em>属性</em>的更改和<em>事件</em>处理函数的添加)。[fixed] -Panel/GroupPanel/ContentPanel/Tree/HiddenField/PageLoading -TabStrip/Toolbar -TabStrip去除Plain<em>属性</em>,增加<em>Enable</em>TitleBackgroundColor(默认为true)。[fixed] -向<em>Form</em><em>中</em>动态添加控件的BUG,现在<em>form</em>/<em>form</em>_dynamic_run.aspx示例已经能正确运行。[fixed] +大部分容器的子控件集合更正为Items(以前有些是Rows)。[fixed] -影响的控件包括Toolbar/Accordion/AccordionPanel/GroupPanel/Panel/Simple<em>Form</em>/Window等。 -保留<em>Form</em>的Rows(<em>Form</em>RowCollection)<em>属性</em>和Grid的Rows<em>属性</em>(GridRowCollection)。 -保留TabStrip的Tabs(TabCollection)<em>属性</em>。 -保留PageLayout/BorderLayout的Regions(RegionCollection)<em>属性</em>。 -预祝今晚神七发射成功。 +2008-09-22 v1.2 beta2 +Grid选<em>中</em>项(SelectedRowIndexArray)在ajax回发过程<em>中</em>存在BUG [feedback:xmzhu]。[fixed] -表现为对Grid进行多次删除添加操作后,SelectedRowIndexArray选<em>中</em>项<em>中</em>会存在当前不存在的行序号,导致服务器端遍历选<em>中</em>项时数组越界。所有使用box控件的应用程序都受到此BUG的影响,需尽快更新到新版本。 +代码优化与设计时支持(示例<em>中</em>表单控件都已支持设计)。[fixed] -PageManager/Simple<em>Form</em>/<em>Button</em>/HyperLink/Label/Image/Link<em>Button</em>/TextBox -TriggerBox/TwinTriggerBox/Window/TextArea/HtmlEditor/DatePicker/NumberBox -CheckBox/Radio<em>Button</em>/Radio<em>Button</em>List/DropDownList -Grid +2008-09-19 v1.2 beta1 -Image/Link<em>Button</em>/HyperLink增加一些Ajax可更新<em>属性</em>。[fixed] +隐藏的方式由HideMode<em>属性</em>控制Visibility/Offsets/Display。[fixed] -修正<em>Form</em>/Simple<em>Form</em><em>中</em>隐藏<em>一个</em>表单字段(Hidden=false)会占据页面空间的BUG。 -ToolbarText/ToolbarFill/ToolbarSeparator在ASPX<em>中</em>设置Hidden=true不起作用的BUG [feedback:jbzhang]。[fixed] -<em>Button</em>去除MarginRight<em>属性</em>(可以通过CssStyle="margin-right:5px;"达到相同的效果)[fixed] +2008-09-09 v1.1 +Toolbar去除IsPageMenu<em>属性</em>,在网报<em>中</em>可以用自定义样式实现,而不应该写在控件<em>中</em>。[fixed] -网报:CssClass="toolbar-pagemenu" CssStyle="border:0px;",同时定义样式:.toolbar-pagemenu{ background: rgb(208, 222, 240) url(../images/pagemenu_toolbar_background.gif) repeat-x left top;}。 -Region去除默认的Layout=Fit,如果希望Region使用Fit/Anchor/Column/Row等布局的话,需要手工指定。[fixed] -ToolbarSeparator/ToolbarFill在Ajax更新Hidden<em>属性</em>的BUG。[fixed] +布局整理。[fixed] -新增Column/Absolute/Row三种布局,加上以前的Container/Fit/Anchor/Accordion/Border/<em>Form</em>六种布局,总共有9<em>中</em>布局可供使用。 -其<em>中</em>一些控件默认使用一种布局:Simple<em>Form</em>(<em>Form</em>)/<em>Form</em>(<em>Form</em>)/Panel-GroupPanel(Container)/Accordion(Accordion)/PageLayout(Border)/BorderLayout(Border)/TabStrip(Card),所有布局控件默认的布局是Container。 -经常用到的布局控件:Simple<em>Form</em>/<em>Form</em>/Accordion/TabStrip/BorderLayout,经常用到的布局:Fit/Row/Anchor +2008-09-08 v1.1 beta7 -Menu<em>Button</em>/MenuHyperLink增加HideOn<em>Click</em><em>属性</em>,如果<em>一个</em>菜单项的作用仅仅为了弹出下级菜单,点击没反应,则可以这样设置HideOn<em>Click</em>="false" CssStyle="cursor:default;" [feedback:huayu]。[fixed] -Menu<em>Button</em>/MenuHyperLink/MenuSeparator/MenuText增加Hidden<em>属性</em>(此<em>属性</em>是Ajax可更新<em>属性</em>,如果需要在Ajax时显示隐藏菜单,请使用此<em>属性</em>而不是Visible<em>属性</em>)。[fixed] +大部分的ExtAspNet控件增加Hidden<em>属性</em>(少数几个控件没有此<em>属性</em>:Menu),这样在Ajax时可以显示隐藏控件。[fixed] -注意Visible和Hidden的区别:Visible=false的<em>属性</em>不会渲染到客户端,Hidden=true的控件渲染到客户端但是隐藏。 -US的ExtAspNet改造强烈依赖于此<em>属性</em>,这个版本发布后可以继续。 -网报<em>中</em>唯一没有用到ExtAspNetAjax的地方就是显示隐藏表单字段,现在也可以使用Ajax了。 +2008-09-04 v1.1 beta6 -PageContext.Redirect支持普通页面转向和ExtAspNetAjax下页面转向。[fixed] +模拟树的下拉列表的BUG(会使一些可选项变成不可选项)[feedback:xmzhu]。[fixed] -因为if("0,2,9,11,".indexOf('1,')>=0){ok},这显然是不对的,此BUG涉及很多控件(Grid,DropDownList,TabStrip)。 -解决方法:testValue += '';if(domValue.split(',').indexOf(testValue) >= 0){ok}。 -DropDownList在Ajax时应该先更新数据再设置选定项 [feedback:xmzhu]。[fixed] -<em>Button</em>/Menu<em>Button</em>增加Ajax可更新<em>属性</em>OnClient<em>Click</em> [feedback:xmzhu]。[fixed] -Tree的Ajax支持(尚需优化)。[fixed] +2008-09-02 v1.1 beta5 -DropDownList如果第一次没有绑定值,应该绑定到[[]](二维数组),而不是[](一维数组)。[fixed] -模拟树的DropDownList,在Ajax重新绑定DataSource后,保持项是否可选状态是最新的(页面第一次加载时,即使没有数据也需要设置DataTextField/DataValueField/DataSimulateTreeLevelField/Data<em>Enable</em>SelectField等<em>属性</em>的值,否则Ajax回发时会出错)。[fixed] -UserControlConnector导致的Ajax错误,去除UpdatePanelConnector控件(以后不会用AspnetAjax,这个控件已经完成使命)。[fixed] -不要使用Asp.net的控件HiddenField,而是使用ExtAspNet的HiddenField,因为Asp.net的控件在Ajax不会被更新,所以会导致视图状态不一致的错误。[fixed] -网报Ajax整合基本完成(除了待审批->下一步[审核/归档/出纳]操作,由于需要显示隐藏表单字段,目前Ajax不支持,使用的还是普通的PostBack)。[fixed] -IE下,Radio<em>Button</em>List<em>中</em>项如果存在汉字,则会换行的BUG。[fixed] -增加两个Theme[Slate/Black](样式尚需完善)。[fixed] +2008-09-01 v1.1 beta4 -非当前Tab<em>中</em>如果有ContentPanel,则在页面上方会有空白(可以通过设置<em>Enable</em>DeferredRender=false解决,但会减慢页面的加载速度),现在已经解决这个<em>问题</em>。[fixed] -Radio<em>Button</em>List去除<em>Enable</em>BackgroundColor/<em>Enable</em>LightBackgroundColor<em>属性</em>,背景色是透明的,也就是和父控件(Simple<em>Form</em>/<em>Form</em>)的背景色一致。[fixed] -TwinTriggerBox的第<em>一个</em>Trigger图标不会先显示再隐藏,而是直接隐藏掉(如果用户设置ShowTrigger1=false)。[fixed] -Web.config<em>中</em>增加配置项<em>Form</em>LabelWidth="80"(默认为80),同时PageManager增加<em>Form</em>LabelWidth<em>属性</em>用来控制页面上所有Simple<em>Form</em>/<em>Form</em>的表单字段标题的宽度。[fixed] +完善Ajax。[fixed] -Radio<em>Button</em>List增加Ajax可更新<em>属性</em>SelectedIndex(SelectedValue/SelectedItem)。 -DropDownList增加Ajax可更新<em>属性</em><em>Enable</em>/SelectedIndex(SelectedValue/SelectedItem)/DataSource。 -Grid增加Ajax可更新<em>属性</em>Columns(也就是说Grid列在回发时隐藏显示了一些,也能正确的Ajax)。 -ToolbarText增加Ajax可更新<em>属性</em>Text。 +2008-08-31 v1.1 beta3 -TabStrip增加<em>Enable</em>DeferredRender<em>属性</em>(是否启用延迟加载Tab,默认启用)。[fixed] -重定向页面,使用系统的方法 PageContext.Redirect(string url),使用Response.Redirect方法会出错。[fixed] +安全的Ajax设计。[fixed] -这个版本Ajax和上个版本(v1.1beta1)在设计思路上有很大区别,同时在速度上会有进一步的提升。 -基本思想:安全的Ajax交互,明确Ajax回发时支持控件哪些<em>属性</em>的<em>改变</em>,这将适合90%的应用场景(并且具有极快的反应速度),对于需要UI大改动的可采用常规回发,系统提供控件级别的<em>Enable</em>Ajax<em>属性</em>。 -整理支持Ajax的控件<em>属性</em><em>改变</em>列表(所有被支持的<em>属性</em><em>改变</em>都是安全的、快速的,所有不被支持的<em>属性</em><em>改变</em>不会对UI起作用,同时是安全的,不会有js错误)。 -网报Ajax整合(目前只支持所有的列表页面)(v0.8.1)。[fixed] +2008-08-29 v1.1 beta1 +Window控件是否弹出的状态在回发时维持。[fixed] -控件设计的<em>一个</em>原则,凡是可以在客户端<em>改变</em>的<em>属性</em>都应该在回发时保持<em>属性</em>的状态。 +完全抛弃Asp.NetAjax,ExtAspNet控件内置Ajax支持。[fixed] -这是<em>一个</em>值得骄傲的设计,可以明显提高页面回发的速度(相比普通的回发和Asp.netAjax的回发),对于IFrame框架的交互也起到很好的加速效果。 -不需要做任何配置,所有的回发都是Ajax(在Web.config和PageManager<em>中</em>有设置启用Ajax回发的<em>属性</em>-<em>Enable</em>Ajax-默认为true)。 +在这种设计下,其实可以完全抛弃Javascript。 -比如简单的点击<em>一个</em>按钮弹出窗口,可以在<em>Button</em>的On<em>Click</em><em>事件</em><em>中</em>设置Window1.Popup=true,也可以注册<em>Button</em>的OnClient<em>Click</em>=Window1.GetShowReference()。 -第一种方法需要回发,但是我们内置的Ajax支持能很快的返回需要的结果并解析,在网络速度很快的情况下和第二种方法差别不是很大。 -推荐的做法是尽量用客户端实现,客户端实现复杂的直接用服务器端实现。 +目前ExtAspNetAjax的限制。 -只对ExtAspNet控件起作用,对Asp.net控件不起作用。 -对容器控件(有子控件的控件)不起作用,只对最底层的控件起作用。 -对<em>改变</em>控件的Visible<em>属性</em>会有错误。 -Window控件的<em>属性</em><em>改变</em>只有少数几个起作用(Popup,IFrameUrl)。 -PageManager增加<em>属性</em><em>Enable</em>PageLoading和<em>Enable</em>AjaxLoading(启用页面第一次加载标示和Ajax加载标示,默认都为true),所以如果使用系统默认的加载标示就不必每个页面都添加PageLoading控件。[fixed] -Grid<em>中</em>的回发<em>事件</em>(主要是Link<em>Button</em>Field和CheckBoxField(RenderAsStaticField=false))要延迟0ms执行,这样当前行被选<em>中</em>的状态在回发后会得到保持。[fixed] -Grid选<em>中</em>行的状态在第一次回发时不能保持的BUG。[fixed] +2008-08-26 v1.0 +已知<em>问题</em>:IE的ActiveX插件IE Developer Toolbar会对IFrame的加载造成0.5m左右的延迟。 -主要是父页面加载<em>一个</em>比较大的css文件(~100k),则每次打开iframe页面,onload<em>事件</em>的调用都会有500ms左右的延迟,在测试IE性能时要禁用此插件。 +优化弹出窗口<em>中</em>IFrame的显示速度。[fixed] -在当前页面弹出窗口需要~20ms,在父页面弹出窗口需要100~300ms。通过缓存弹出的窗口实例,从而第二次弹出窗口不再需要创建时间。 -PageLayout的Region增加SplitColor<em>属性</em>,默认的背景色是透明的。(在网报<em>中</em>需要设置SplitColor="#CADDF7",以便分隔符的颜色和Toolbar的颜色一致)[fixed] +PageManager增加<em>属性</em>Theme、Language、<em>Form</em>MessageTarget、<em>Form</em>OffsetRight等<em>属性</em>,这些<em>属性</em>可以在Web.config<em>中</em>设置(推荐方法),也可以为每个页面设置。[fixed] -<em>一个</em>典型的应用是为每个用户设置不同的皮肤(根据用户浏览器<em>中</em>Cookie设置的值)(示例在default.aspx)。 -TreeNode增加<em>属性</em>Single<em>Click</em>Expand,表示点击可切换节点的折叠展开状态。[fixed] +TabStrip<em>中</em>非当前Tab会延迟渲染。[fixed] -这会明显加快页面的渲染速度,网报<em>中</em><em>一个</em>典型的费用审批页面可以减少200ms的渲染时间。 -由于非当前Tab不会在页面加载时渲染,所以那些Tab<em>中</em>的节点在页面加载后也是不可见的,需要将相关的脚本移动到控件的render<em>事件</em><em>中</em>。 -不能比较两个DataPicker大小的BUG。[fixed] -TabStrip延迟加载引起的BUG(非当前Tab<em>中</em>的ContentPanel会占据页面空间,已修正)。[fixed] -全新的ExtAspNet.Examples(基础知识/表单控件/数据绑定/容器布局/IFrame框架)。[fixed] +2008-08-19 v0.4 beta6 +PageManager增加两个<em>属性</em>(<em>Enable</em>InlineStyleJavascript/ApplyParentStyleJavascript),可以在IFrame页面<em><em>中</em>使</em>用父页面的脚本和样式(示例在iframe/default.aspx和iframe/page3.aspx)。[fixed] -测试发现,IFrame页面的加载速度并没有明显加快,可以先不使用此<em>属性</em>。 -Radio<em>Button</em>List放在在BorderLayout<em>中</em>显示不了的BUG [feedback:zgjiang2]。[fixed] +extjs的BUG,当页面<em>中</em>含有iframe时,Ext.onReady会被调用两次(IE6/IE7)(http://www.extjs.net/forum/showthread.php?t=43246)(示例在test.aspx)[fixed] -现在的解决方法是在初始化时:if(this.initialized){return;}this.initialized=true; +需要先回发页面再弹出IFrame窗口。[fixed] -在回发时设置窗口的Popup和IFrameUrl<em>属性</em>,因为这些<em>属性</em>是可以保持状态的,所以在关闭窗口时要注意设置Popup=false。 -另一种做法(推荐):PageContext.RegisterStartupScript(Window99.GetShowReference("./simple<em>form</em>.aspx"));。 +2008-08-15 v0.4 beta5 -点击关闭窗口的按钮,在IE6下会有JS错误。[fixed] -增加BorderLayout控件,示例在iframe/borderlayout.aspx。[fixed] +Radio<em>button</em>list显示有重影(示例在radio.aspx)。[fixed] -全新的样式。 -去除Horizontal<em>属性</em>,增加ColumnNumber(可以设置渲染成几列)。 -GetValueReference取得的值不正确的BUG。 -动态向<em>Form</em><em>中</em>添加<em>Form</em>Row,并动态的向<em>Form</em>Row<em>中</em>添加表单字段,以及如何取得表单字段的值。(示例在<em>form</em>_dynamic.aspx)[fixed] +IFrame弹出窗口关闭后回发父页面,则会多加载IFrame一次,再次打开窗口会重复加载IFrame2-3次[feedback:xmzhu]。[fixed] -这是<em>一个</em>重要的BUG,会严重影响页面的加载速度。原因是通过脚本<em>改变</em>的IFrameUrl会在回发时保持状态,从而回发父页面后Window<em>中</em>的IFrame被添加到页面,而这是不需要的。 -现在"是否弹出窗口、窗口标题、IFrameUrl"在客户端的<em>改变</em>,不会影响服务器端的<em>属性</em>,也即是不保持状态。此<em>问题</em>解决。(示例在<em>button</em>_iframe.aspx) +2008-08-13 v0.4 beta4 -点击关闭窗口的按钮,在IE下会有JS错误。[fixed] -Window的右上角关闭图标增加提示,优化<em>事件</em>响应。[fixed] -Window的代码重构。[fixed] +修正<em>一个</em>的内存泄漏。[fixed] -IE7下测试,打开iframe/default.aspx页面,iexplorer占内存68.368M。 -内存存在泄漏时,点击iframe/page3.aspx页面8次后iexplorer占118.792M内存。 -修正后,点击iframe/page3.aspx页面8次后iexplorer占76.492M内存。 -IE窗口最小化时,IE会自动进行垃圾回收。 +2008-08-12 v0.4 beta3 -底层的javascript框架Extjs升级为v2.2,Grid的渲染速度有很大提升。[fixed] -Grid的<em>Enable</em>DelayRender默认为true(如果没有设置Grid的高度或通过布局间接设置高度,则行不可见,可以通过AutoHeight="true"解决)。[fixed] +页面正在加载的提示尽早的显示出来。[fixed] -首先在执行js来完成页面渲染之前延迟5ms,以便浏览器把当前页面内容显示出来。 -加载js脚本的script标签放置在页面的最后,放置加载js而阻塞PageLoading的显示。 +2008-08-08 v0.4 beta2 -TabStrip延时加载出错。[fixed] -Window的IFrameUrl处理的BUG,比如Pages_ExtAspNet目录下的页面应该为./FE_ApplyEditor.aspx或~/Pages_ExtAspNet/FE_ApplyEditor.aspx。[fixed] -Window的WindowPosition="Center"并且Target="_parent",则会JS错误。[fixed] -实现网报首页下拉菜单和左侧菜单的导航功能。[fixed] -Window的创建在页面显示后进行,不计算在js渲染时间内。[fixed] -优化费用申请页面(尽量减少不必要的层次嵌套)。[fixed] -<em>button</em>_iframe.aspx默认会加载<em>form</em>.aspx页面(Window控件的BUG)。[fixed] -Window<em>中</em>的保存并关闭按钮和Asp.netAjax冲突。[fixed] -优化关闭Window的js脚本,减少写到页面的js大小。[fixed] -加快“保存并关闭”按钮关闭窗口的速度,使用PageContext.RegisterExclusiveScript(CurrentActiveWindow.GetClosePostBackReference());,示例在(simple<em>form</em>.aspx)。[fixed] +2008-08-05 v0.4 beta1 -DropDownList去除Traditional<em>属性</em>,和传统的Asp.net控件一样不可编辑。[fixed] -DropDownList增加SelectedText<em>属性</em>(去除了模拟树时通过SelectedItem.Text的多余html字符)。[fixed] -为了加快渲染速度,去掉一些特效(比如Panel的折叠效果,Grid的拖动列效果等)[feedback:dcding]。[fixed] -将生成的js对象的名称简单化,这样可以减少生成的js内容,加快页面加载速度(<em>一个</em>典型页面的js由原来的33.0k降低为21.4k)。[fixed] +弹出窗口<em>中</em>,点击按钮回发然后点击关闭按钮,出现js错误 [feedback:xmzhu]。[fixed] -因为在页面的Page_Load<em>中</em>,if (!IsPostBack){PageContext.RegisterPageStateChangedStartupScript();}通过这样方法向页面注册了一段脚本,但是这段脚本在回发时没有注册到页面,因为js调用此脚本时报错。 -一种解决方法是将向页面注册脚本的函数移动到if语句的外面,即每次都向页面注册此脚本。 -另一种办法就是在PageManager控件<em>中</em>增加RegisterPageStateChangedScript(向页面注册监视页面<em>中</em>表单内容<em>改变</em>的脚本)的<em>属性</em>(会在每次页面回发(包含ajax回发)时注册脚本)(示例在<em>button</em>_iframe.aspx/simple<em>form</em>.aspx)。 +PageManager控件增加ExecuteOnReadyWhenPostBack<em>属性</em>(示例在onreadyscript.aspx)。[fixed] -这个手工添加onReady函数能够在每次页面回发时都注册脚本(包括Ajax局部回发),这就避免了手工去做的麻烦(已经在网报<em>中</em>遇到这种情况)。 -每个页面必须添加<em>一个</em>PageManager控件,否则会出错,同时去除DesignTimeStyle控件(作为PageManager的<em>属性</em>出现)。[fixed] -TextField等表单字段增加Readonly<em>属性</em>。[fixed] +全新设计的IFrame的架构(尽可能和基于MasterPage的架构保持兼容,和Asp.net Ajax保持兼容)。[fixed] -最大的好处是可以减少页面下载完毕后Javascript渲染时间(可以节约一般的渲染时间)。(所有示例在iframe文件夹下) +示例1,通过点击按钮弹出IFrame窗口,可直接关闭父页面,也可在关闭后刷新或回发父页面。(default.aspx/page2.aspx/simple<em>form</em>.aspx) -虽然IFrame和Master两种架构差异迥然,或许你以为需要修改一堆代码来完成这种转换,起初我也是这么认为的,但是现在你所要做的仅仅是为Window控件增加<em>一个</em><em>属性</em>(Target="_parent"),就完成了两种框架的转换,是不是很酷。 -显然,控件本身封装了大量的代码,简单来看现在有三个页面(default.aspx(A)/page2.aspx(B)/simple<em>form</em>.aspx(C)),其<em>中</em>A包含B页面,当你在B<em>中</em>打开包含有页面C的窗口时,窗口不是在B<em>中</em>打开,而是在A<em>中</em>打开,这样才能保证窗口覆盖整个页面,当你从C<em>中</em>返回需要回发页面B时,却发现取得的是A页面,因为我们窗口是在A页面<em>中</em>创建的。我会通过一篇文章来揭示这一过程,敬请期待。 -示例2,Grid<em>中</em>弹出窗口。(default.aspx/page3.aspx/simple<em>form</em>.aspx) +示例3,TriggerBox弹出窗口。(default.aspx/triggerbox.aspx/simple<em>form</em>.aspx) -在整个页面弹出窗口或者在当前页面弹出窗口,仅仅设置Window的Target<em>属性</em>即可。 -示例4,弹出窗口<em>中</em>的弹出窗口。 -对整个Examples更新测试。[fixed] +2008-07-31 v0.3 beta12 -IE下TabStrip在Ajax回发后不会去掉x-hide-display样式,导致Tab显示为空的BUG。[fixed] -对TabStrip/Panel/Window<em>中</em>的IFrame重新设计,如果设置IFrameUrl="#"或者"about:blank",则不渲染iframe到页面节点,同时第二次打开Window<em>中</em>的IFrame不会有残影出现。[fixed] -如果TabStrip的Tab不是激活Tab并且设置了IFrameUrl,则会延迟加载(示例在tabstrip_iframe.aspx)。[fixed] -Tree控件,点击<em>一个</em>节点自动回发,则当前点击的那个节点的选<em>中</em>状态不会保持的BUG [feedback:zgjiang2]。[fixed] +规范关闭窗口时提示用户保存已经修改的内容提示的调用方式(包含iframe<em>中</em>关闭按钮和window右上角关闭图标的调用方式)(示例在grid_iframe.aspx/simple<em>form</em>.aspx)。[fixed] -内部实现上,点击“保存并关闭按钮”,可以将关闭窗口的脚本更早的执行(在simple<em>form</em>.aspx,PageContext.RegisterStartupScript增加重载函数),而不是原来的先创建整个页面UI,再关闭窗口。 -参照Yslow的评分规则,将JS文件引用由head移动到body<em>中</em>。[fixed] -Firefox下,如果页面太长会出滚动条,原来在ViewPort样式<em>中</em>有body{overflow:hidden;}。[fixed] +IFrame内的页面宽度和高度会自动设置(是不是还在为1px/2px的白边而烦恼,现在不用了:-)(示例在iframe_autosize.aspx/simple<em>form</em>.aspx/simple<em>form</em>2.aspx)[fixed] -增加PageManager控件(需要指定AutoSizePanelID,即需要设置宽度和高度为整个页面的宽度和高度的Panel),HideScrollbar<em>属性</em>用于隐藏滚动条(IE/Firefox)。 +2008-07-24 v0.3 beta11 -web.config配置信息<em>中</em>MessageTarget改名为<em>Form</em>MessageTarget,增加<em>Form</em>OffsetRight配置项,用来定义全局表单字段距离右边界的宽度,同时每个表单字段都增加OffsetRight<em>属性</em> [feedback:jima]。[fixed] -Window在回发时设置的Title不起作用的BUG。[fixed] -增加Image控件 [feedback:jima]。[fixed] -Tree控件,如果<em>一个</em>节点不是叶子节点并且没有子节点,则应把它的Expanded设置为false,否则会引起页面死循环回发 [feedback:zgjiang2]。[fixed] -Image增加ToolTipTitle/ToolTipAutoHide两个<em>属性</em>,当提示信息特别长时,可以让用户阅读完毕之后手工关闭提示信息(示例在hyperlink.aspx)。[fixed] -去掉DropDownList控件的Text<em>属性</em>(强制性),可以通过设置SelectedValue来设置选<em>中</em>哪一项 [feedback:xmzhu]。[fixed] -过滤提示消息<em>中</em>的换行符(转换为<br/>),否则提示信息可能导致页面渲染错误 [feedback:dcding]。[fixed] +2008-07-23 v0.3 beta10 +完善Tree控件。[fixed] -如何将数据库<em>中</em>的数据绑定到Tree(示例在tree2_bind_database.aspx)。 -ajax加载树节点,放在UpdatePanel<em>中</em>才有ajax的效果(示例在tree2_ajax.aspx)。 -更改TreeNode的ID为NodeId,否则两个树<em>中</em>不能有相同ID的TreeNode,这是不合理的。 -Grid的GridColumn的ID改名成ColumnId,否则同<em>一个</em>页面放置两个Grid,它们的GridColumn的ID不能同名,这是不合理的。注意需要更新以前的代码![fixed] -Grid所有类型的列增加DataTooltipField/DataTooltip<em>Form</em>atString两个字段,以显示ToolTip(示例在grid.aspx)。[fixed] +2008-07-22 v0.3 beta9 +IE6下,左侧导航链接的选<em>中</em>样式,以及鼠标移上去和移开的样式不对。[fixed] -发现原来ie6不能正确解析li的高度,必须手工设置才行(style="height:20px;")。 +IE6/IE7下,模拟树的下拉列表如果文字长度太长,则显示的文字会换行,导致错位。[fixed] -虽然最后未能解决<div style="width: 60px; white-space: nowrap; overflow: hidden; border: solid 1px red;"><div style="width: 16px; height: 18px; float: left;">##</div>差旅交通费</div>在IE和Firefox下显示的不同效果。 -但是通过用<img src="##" />来代替<div style="background:url(##)" />,从而实现FF和IE下样式的统一。 -刚看到old9的解决方案:把“差旅交通费”改成“<span style="margin-right: -1000px;">差旅交通费</span>”,在IE下和FF下的都不换行,:-) -Link<em>Button</em>增加On<em>Click</em><em>事件</em> [feedback:huihuang]。[fixed] -Window通过设置IFrameUrl和Popup不起作用的BUG。[feedback:xmzhu]。[fixed] +增加树控件(Tree)(示例在tree2.aspx)。[fixed] -可以在回发时维持树的状态(选<em>中</em>行,折叠/展开,CheckBox)。 -可以通过Inline的方式添加树节点,也可以绑定到XmlDocument/XmlDataSource/SiteMap。 -点击树节点可以链接到页面,也可以引发PostBack<em>事件</em>,可以添加自定义脚本。 +2008-07-16 v0.3 beta8 +ContentPanel<em>中</em>放置ExtAspNet控件,则渲染时会出现各种<em>问题</em>,比如下拉列表显示样式出错,Grid没了滚动条等等。[fixed] -隐蔽性非常强,原来在ContentPanel<em>中</em>渲染ExtAspNet控件,如果容器的display='none',则会出现各种<em>问题</em>(主要是大小不对)。 必须设置容器为visibility='hidden',然后在渲染完成后显示容器。 -现在Grid只要显示的设置高度和宽度,或者隐式的设定宽度高度(通过Anchor或Fit布局实现),只要超过Grid容器就会显示滚动条。 +IE6下,在应用Asp.NetAjax后,<em>Form</em><em>中</em>字段的宽度渲染不正确。[fixed] -调试相当困难,如果你有过在IE下通过alert发现<em>问题</em>的经历,你就能明白。 -最后发现IE6下应用Asp.NetAjax后不仅<em>Form</em><em>中</em>列的宽度设置不正确,而且主内容区域的宽度设置也不正确,不过最终我们还是顽强的修复了IE6下的这个BUG: 在MasterPage的onReady函数<em>中</em>,首先修正内容区域的宽度(region3.setWidth(pageLayout1.getSize().width - region2.getSize().width - 5);region3.doLayout();),然后修正页面<em>中</em>所有表单的宽度(box_fix<em>Form</em>WidthInIE6();): 示例在 Site.Master 页面。 +集成的AspNetAjax有<em>一个</em>很大的BUG,只要你在页面上进行过ajax操作,当<em>改变</em>窗口大小时你会惊讶的发现内容区域的内容全部为空了![fixed] -解决方法相当怪异,经过<em>一个</em>下午的不断尝试,终于用<em>一个</em>怪异的方法解决(box.{0}.setSize(box.{0}.getSize());box.{0}.doLayout();), 这样的代码让我想起刷新窗口时那个方法(window.location.href=window.location.href;),不管怎么说,我对能很好的解决这个重大的BUG很是欣喜。 +2008-07-14 v0.3 beta6 -增加FlashObject控件。[fixed] -PageLoading增加<em>Enable</em>FadeOut<em>属性</em>(默认false),可以启用淡出效果。[fixed] -Accordion选<em>中</em>样式微调。[fixed] -预加载<em>Form</em>表单出错时提示信息的背景图片。[fixed] +Grid增加<em>Enable</em>DelayRender<em>属性</em>(默认false),可以加快页面的渲染速度(<em>一个</em>典型的20个记录的页面,可提前0.7s-1s显示出来)。[fixed] -因为延迟加载数据不会<em>改变</em>Grid的大小,所以对于非布局内或不设定高度宽度的Grid,需要设置"<em>Enable</em>DelayRender=false"。 -<em>改变</em>Grid<em>中</em>静态的CheckBoxField图片。[fixed] -TabStrip增加TabIndexChanged<em>事件</em>,同时Tab增加<em>Enable</em>PostBack,可以在点击<em>一个</em>Tab时引起回发<em>事件</em>。这在延迟加载Tab的内容非常有用。(示例在tabstrip.aspx)[fixed] +2008-07-12 v0.3 beta5 -页面菜单Toolbar的分割符和背景不相融合。[fixed] -表单字段之间可以比较大小,比如NumberBox可以和Label比较大小,同时增加CompareType,来指定比较的类型(示例在<em>form</em>_compare.aspx)。[fixed] -如果是同种类型的表单字段,不需要指定CompareType,比如两个NumberBox比较值的大小不需要指定CompareType,而<em>一个</em>NumberBox和TextBox比较大小需要指定CompareType。 +如果在编辑页面使用AspNetAjax,则不能在回发时关闭当前窗口[feedback:huihuang](示例在ajax_editor_main.aspx/ajax_editor.aspx)。[fixed] -这是由于ajax后执行的javascript<em>中</em>不能有return false语句。 +在文本框失去焦点时,执行一些Javascript脚本(示例在textbox_blur.aspx) [feedback:xmzhu]。[fixed] -在页面添加onReady函数(会被系统调用),然后用javascript监视文本框值的<em>改变</em>。 -弹出Window默认显示的错误页面,解决方法在当前目录添加<em>一个</em>空的html页面,然后把Window控件的IFrameUrl指向这个页面而不是"#"。[fixed] +弹出的窗口<em>中</em>的弹出窗口的如果内容发生变化,则点击右上角的关闭按钮时会有提示用户先保存的对话框,但是这个对话框的被第二个弹出窗口覆盖了 [feedback:xmzhu]。[fixed] -原来的调用方法太麻烦(见示例<em>中</em>alert\alert_1.aspx和alert\alert_2.aspx,总计 6 行代码),现在只需要 3 行代码就OK了。 -点击提交按钮后变成灰色不可再次点击(示例在<em>button</em>_<em>click</em>_gray.aspx)[feedback:jima]。[fixed] +增加Menu、MenuText、MenuSeparator、Menu<em>Button</em>、MenuHyperLink控件,用于按钮的下拉菜单(示例在<em>button</em>_menu.aspx)。[fixed] -增加Split<em>Button</em>控件。[fixed] +2008-07-09 v0.3 beta4 -DataPicker默认的日期格式为(yyyy-MM-dd)。[fixed] +<em>Form</em>表单字段(TextBox,DropDownList...)之间可以比较大小 [feedback:huihuang]。[fixed] -增加ControlToCompare/ValueToCompare/CompareOperator/CompareMessage四个<em>属性</em>,示例在<em>form</em>_compare.aspx。 +TabStrip<em>中</em>放置IFrame会出现渲染错误 (示例在tabstrip_iframe.aspx)[feedback:jima]。[fixed] -特殊处理,拥有IFrame的Tab如果不是激活Tab,则不设置Url,只有在激活时才设置Url。 -Radio<em>Button</em>List增加AutoPostBack<em>属性</em>(示例在radio.aspx) [feedback:xmzhu]。[fixed] -<em>Form</em>Row可以设置各列的宽度百分比 (示例在<em>form</em>_columnwidths.aspx)[feedback:jima]。[fixed] +表单字段<em>Enable</em>=false时显示颜色太浅 [feedback:jima]。[fixed] -覆盖缺省样式的.x-item-disabled,设置不透明。 +2008-07-08 v0.3 beta3 -Grid没有数据,向后翻页按钮可以点击的BUG [feedback:huihuang]。[fixed] +增加HiddenField控件。[fixed] -其实用TextBox也能模拟HiddenField的行为,只需要设置CssStyle="display:none;"即可。 +TriggerBox 如果 <em>Enable</em>TextBox = true,则不能将Text回发(这是html的限制)。[fixed] -最后的解决方案居然是设置 readonly=true,同时更改<em>属性</em>为 Readonly(示例在textbox2.aspx)。 -模拟树的下拉列表在失去焦点后显示的文字不对的BUG。[fixed] +控制下拉列表某些项不可以选择(示例在dropdownlist2.aspx)。[fixed] -增加 Data<em>Enable</em>SelectField <em>属性</em>,不可选择的项变灰,并且鼠标经过时没有样式。 -Link<em>Button</em>和Grid的Link<em>Button</em>Field增加<em>Enable</em><em>属性</em>(示例在hyperlink.aspx和grid.aspx)。[fixed] +2008-07-07 v0.3 beta2 +增加UpdatePanelConnector控件,支持在布局构建的页面使用Asp.net Ajax。[fixed] -使用UpdatePanelConnector有<em>一个</em>要求:ContentTemplate下只能有<em>一个</em>子节点,比如box:Panel。 -示例在ajax3.aspx/content_page4.aspx。 -示例content_page3.aspx<em>中</em>,点击“Ajax查询”按钮和关闭弹出的窗口(点击右上角的叉)都引发异步更新。 +2008-07-03 v0.3 beta1 +容器控件的AutoHeight/AutoWidth默认为false。[fixed] -使用GroupPanel的地方需要手工添加AutoHeight="true"<em>属性</em>。 +增加UserControlConnector,可以在其<em>中</em>放置用户控件(示例在page_usercontrol.aspx)。[fixed] -也可以在ContentPanel<em>中</em>放置用户控件,注意两者的区别。 +增加ContentPlaceHolderConnector,替换原来Region的ContentPlaceHolderId<em>属性</em>(示例在Site.master)。[fixed] +支持Asp.net ajax异步加载。[fixed] -有很大局限性,只能在ContentPanel<em><em>中</em>使</em>用,示例在ajax1.aspx/content_ajax2.aspx<em>中</em>。 -对于使用布局构建的页面(比如content_page1.aspx)还不能使用Asp.net ajax,因为页面是整体渲染的,先放弃。 +2008-07-02 v0.2 beta12 +关闭前提示当前页面已经被修改(示例在content_page1.aspx/simple<em>form</em>.aspx)[fixed] -支持Iframe内按钮和window右上角关闭按钮。 -删除CloseAction<em>属性</em>,可以在后台通过OnClientClose<em>Button</em><em>Click</em><em>属性</em>指定(为了和iframe<em>中</em>做法一致)。 +iframe<em>中</em>的alert/confirm要覆盖整个父页面,而不仅仅是iframe页面。[fixed] -在Firefox下还有<em>问题</em>。[fix pending] +排序时在标题栏显示排序箭头,可以排序的列标题光标为手形(示例在grid_sorting.aspx)。[fixed] -可以通过设置Grid1.CurrentSortColumnIndex = 0;来强制某列显示排序箭头。 -可以通过 Grid1.Columns[Grid1.CurrentSortColumnIndex].SortExpression 的方式取得当前Grid的排序表达式。 +HyperLinkField/WindowField的链接地址支持服务器端格式(即是~/alert.aspx)。[fixed] -TabStrip的Tab<em>中</em>如果放置ContentPanel,则内容渲染位置不正确。[fixed] -可以在ContentPanel<em>中</em>放置用户控件(示例在page_usercontrol.aspx)。[fixed] +2008-06-30 v0.2 beta11 -增加TwinTriggerBox控件(示例在twintriggerbox.aspx)。[fixed] -Grid的数据库分页需要增加<em>属性</em>IsDatabasePaging=true,以便普通分页和数据库分页,否则在添加删除记录时总记录数不会变化 [feedback:zgjiang2]。[fixed] -关闭Window时PostBack<em>事件</em>OnClose可以指定参数,来区分是哪些操作引发的PostBack<em>事件</em> [feedback:zgjiang2](示例在window_postback.aspx)。[fixed] -如果表单验证不通过,则需要弹出对话框提示(第<em>一个</em>没通过验证的字段)(目前还不能切换到相应的tab)。[fixed] +页面<em>中</em>任意可输入表单字段发生变化,可提示先保存。(示例在content_page1.aspx/simple<em>form</em>.aspx)[fixed] -目前还不支持Window右上角关闭按钮的提示保存功能。 -Master/Content的内容页<em>中</em>Grid的Sort<em>事件</em>不起作用的BUG [feedback:zgjiang2]。[fixed] -Grid<em>中</em>的Link<em>Button</em>Field设置ConfirmText会出错 [feedback:huihuang]。[fixed] -增加静态类Confirm。[fixed] +2008-06-27 v0.2 beta10 +Grid完善。[fixed] -CheckBoxField在回发时不能保持状态的BUG (已经更新了grid_checkboxfield.aspx示例)。 -Grid<em>中</em>模拟树显示,GridColumn增加DataSimulateTreeLevelField<em>属性</em>(<em>一个</em>Grid只能有<em>一个</em>Column指定此<em>属性</em>),指定此列模拟树显示时的层次字段(0,1,2,...)(示例在grid_simulate_tree.aspx)。 -切换分页时清空选<em>中</em>的值 [feedback:jqpeng]。 -增加PreRowDataBound<em>事件</em>,可以在数据绑定之前设置某列的<em>属性</em> [feedback:xmzhu] (示例在grid_prerowdatabound.aspx)。 -DropDownList模拟树的方式显示,增加DataSimulateTreeLevelField<em>属性</em>,使用方法和Grid的类似(示例在dropdownlist_simulate_tree.aspx)。 +2008-06-25 v0.2 beta9 +Window窗体<em>中</em>的Iframe只让内容区域滚动,而Toolbar不滚动的规则。(示例在content_page2.aspx/simple<em>form</em>.aspx)[fixed] -在simple<em>form</em>.aspx<em>中</em>:Panel[BodyPadding=5](Toolbar,Panel[Height=450 Layout=Fit](Simple<em>Form</em>[AutoScroll=true])),则外面窗口的高度=450 + 5*2 + 26 + 32,其<em>中</em>26是Toolbar的高度,32是窗口的标题栏和下边框的高度。 +关闭Iframe的LoadMask,所以需要Iframe页面添加PageLoading控件,这样效果统一。[fixed] +Grid完善。 -去除<em>Enable</em>ClientPaging和<em>Enable</em>ClientSort<em>属性</em>,客户端排序和客户端分页在ASP.NET应用<em>中</em>会有很多<em>问题</em>(主要是状态保持的<em>问题</em>)。 +<em>Enable</em>ServerSort改名AllowSorting。(示例在grid_sorting.aspx) -使用非常简单:设置AllowSorting=true,注册OnSort<em>事件</em>,在<em>事件</em>处理函数<em>中</em>重新绑定数据。 +增加AllowPaging<em>属性</em>。(示例在grid_paging.aspx) -使用非常简单:设置AllowPaging=true,PageSize=3,注册OnPageIndexChange<em>事件</em>,在<em>事件</em>处理函数<em>中</em>Grid1.PageIndex = e.NewPageIndex;OK。 +数据库分页支持。(示例在grid_database_paging.aspx) -使用也非常简单:设置AllowPaging=true,PageSize=3,在绑定时设置RecordCount为总的记录数,在OnPageIndexChange<em>事件</em>处理函数<em>中</em>Grid1.PageIn</a></div><div data-report-view="{"mod":"popu_645","index":"2","dest":"https://download.csdn.net/download/wode2600/2726130","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" class="list-item" data-v-ca2d15ac><div class="recommend-title" data-v-ca2d15ac><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAltJREFUWEdjZGBgYGhv/yD45//nEEYGBrX//xj4QWK0AoxMDB//MzDcYmHkXVNZKfCeEWz5v8/1DP8ZuGhlKVZzGRm+sTDxNjI2tz1OZfjHYEpXy2GWMTGcZmxpe9xN62DH5TlQdDA2tzyeNSC+h1o66gCyQyApUdRNSIhNGBSS7979ejtv/utd5EQl2Q7IypT0ExJiFoc44O/LadOfbxp1wPAOAWlpdr5Pn//8/Pzp70+QT3GlAX5+ZnYeHhb2p09/fiImRIhOhBYWvIo21ryWu/Z8PHDp4tdn2BxgoM8l4+IiYH/k6OdjJ058vk91B7g487swMDD8v3Hj+2VJSTYpfn5mEZAlHz/9ffPq5e+Xqqoc2iD+nr0f99DSAQQ9RhMHcHAwsYSGCtvKy7Gr4HPBo0c/b69c/fbwzx///hJ0KQMDA9FpAGaYizO/tpkZjwUTEyMTsgX//v3/d/LUl+N79368RozFMDUkOwCkUUODU8zHW9CFg4OJG8T/8ePf181b3u25efPHK1IsB6nF6gAjY25ZEWFWcNPs169/fw4c+HQD3WBBIRaOsBAhZ5D4qjXv9r5/9+cHuhoHBz4NNjYmFpD4m7e/P547+/UxuhqsDoiPE3WWlWVXgvju/5ee3qfLsfmMiZmBEST+7y/Df2zyJcXSkRwcjDwgucePf95buOj1Xqo6gFBwDw8H/P/P8O/nz//fCPkWmzw7OyMXIyMDOLeQHQXkWIxNz9BygJubgI6kBCu4tUMt8PzF75e7dn24QlQuoJalxJgzCDomA901G/DOKSieBrJ7DgCPdYFAskV/NwAAAABJRU5ErkJggg==" alt data-v-ca2d15ac> <a target="_blank" href="https://download.csdn.net/download/wode2600/2726130" data-report-click="{"mod":"popu_645","index":"2","dest":"https://download.csdn.net/download/wode2600/2726130","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="title" data-v-ca2d15ac>ExtAspNet_v2.3.2_dll</a></div> <a target="_blank" href="https://download.csdn.net/download/wode2600/2726130" data-report-click="{"mod":"popu_645","index":"2","dest":"https://download.csdn.net/download/wode2600/2726130","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="desc" data-v-ca2d15ac>ExtAspNet - ExtJS based ASP.NET Controls with Full AJAX Support ExtAspNet是一组专业的Asp.net控件库,拥有原生的AJAX支持和丰富的UI效果, 目标是创建没有ViewState,没有JavaScript,没有CSS,没有UpdatePanel,没有WebServices的Web应用程序。 支持的浏览器: IE 7.0+, Firefox 3.0+, Chrome 2.0+, Opera 9.5+, Safari 3.0+ 注:ExtAspNet基于一些开源的程序ExtJS, HtmlAgilityPack, Nii.JSON, YUICompressor。 示例: http://extasp.net/ 开源: http://extaspnet.codeplex.com/ 博客: http://sanshi.cnblogs.com/ 邮箱: sanshi.ustc@gmail.com 发布历史: +2010-09-29 v2.3.2 -不绑定任何数据到Grid时,确保页面不会出错。 -修正了Grid列<em>属性</em>Data<em>Form</em>atString的<em>一个</em>bug,比如设置{0:yy-MM-dd HH:mm}时没有效果。 -修正下拉列表控件不能绑定DataTable的BUG(feedback:RedOcean)。 -增加土耳其语言资料文件(feedback:abdullaharslan)。 -Grid的BoundField增加NullDisplayText<em>属性</em>,用于处理数据库<em>中</em>的null值,如果没有设置则默认为空字符串。 -修正DatePicker<em>中</em>的<em>一个</em>bug(31/01/2010将会返回NULL)使用Date<em>Form</em>atString来生成SelectedDate<em>属性</em>(feedback:OktaEndy)。 -修正extjs最新版本(v3.2.2)<em>中</em>的<em>一个</em>bug,如果下拉列表<em>中</em>存在两个相同的Text,则SelectedValue返回值永远是第<em>一个</em>Text的值(feedback:ben.zhou)。 -应用补丁#6593, #6621(feedback:vbelyaev)。 +修正IE7下Grid分页速度慢(feedback:youwei, StevenGuan, hazardvn, gavindou, ttjacky)。 -实际上IE7下所以的回发都慢,原因是客户端的Base64编码速度慢,已经使用encodeURIComponent来代替Base64编码。 -俄语翻译(feedback:vbelyaev)。 +2010-06-30 v2.3.1 -ExtAspNet控件将不在依赖ViewState,减少1/4左右的HTTP数据传输量。 -控件和示例的增强。 +2010-03-28 v2.2.1 +为TabStrip的GetAddTabReference函数增加重载方法,以便指定Tab的图标(feedback:mmdcup)。 -修正此函数通过PageContext.RegisterStartupScript调用时不能正确显示Icon的BUG(feedback:zhaowenke)。 -修正basic/hello.aspx示例在单独浏览器打开后,不能弹出对话框的BUG。 -隐藏示例首页最外层RegionPanel的边框ShowBorder="false"。 +集成Extjs最新版本v3.1.1。 -增加<em>一个</em>新的Theme - Access。 -修正了Firefox下Zoom In/Out时页面消失的BUG。 -删除Panel的<em>Enable</em>LightBackgroundColor<em>属性</em>,同时<em>Enable</em>BackgroundColor只支持Blue和Gray两种Theme。 +2010-01-31 v2.2.0 -使得Asp.net的控件Image<em>Button</em>具有和Asp.net的<em>Button</em>控件类似的行为(Ajax提交)(feedback:261629698)。 +TabStrip增加GetAddTabReference和GetRemoveTabReference两个函数,用来向TabStrip控件动态增加删除Tab。 -增加示例tabstrip/tabstrip_addtab.aspx。 -重构了示例网站的架构,目前只有一层IFrame结构。 -为TabStrip增加<em>Enable</em>TabCloseMenu<em>属性</em>,是否启用右键菜单,可用来关闭当前Tab和所有其他Tab。 -为NumberBox增加DecimalPrecision<em>属性</em>,用来控制小数点后的位数(需要设置NoDecimal="false")(feedback:zqmars)。 -Window控件更新。 -关闭按钮默认直接关闭,不会弹出确认对话框。 -GetConfirm<em>Form</em>ModifiedHideReference的函数<em>中</em>的Confirm<em>Form</em>Modified简化为Confirm,所以此函数更名为GetConfirmHideReference。 -增加两个<em>属性</em><em>Enable</em>ConfirmOnClose(默认false),CloseAction(Hide, HideRefresh, HidePostBack)。 -修正<em>Enable</em>Maximize<em>属性</em>不能使Window最大化的BUG,修正了双击标题栏不能最大化的BUG。 -删除<em>Button</em>控件的SystemIcon<em>属性</em>,比如以前这样定义SystemIcon="Close",现在需要这样定义Icon="SystemClose"。 -WindowPosition默认居<em>中</em>,而不是黄金分割位置。 +<em>Button</em>, Window等控件弹出位置<em>属性</em>的变化。 -Window的Target<em>属性</em>由字符串类型变为枚举类型,注意更新以前的代码:Target="_self" -> Target="Self", Target="_parent" -> Target="Parent"。 -Menu<em>Button</em>, Link<em>Button</em>, <em>Button</em>, Link<em>Button</em>Field的ConfirmTarget<em>属性</em>由字符串变为枚举类型,可以取三个枚举值Self, Parent, Top。 -Confirm.GetShowReference的最后<em>一个</em>参数target变为枚举类型。 -Alert.GetShowReference<em>中</em>的showInParent参数也变为Target枚举类型。 -Menu<em>Button</em>, Link<em>Button</em>, <em>Button</em>, Link<em>Button</em>Field增加ValidateTarget用来控制表单验证失败时提示对话框的显示位置。 +2010-01-06 v2.1.9 -集成Extjs最新版本v3.1.0。 -修正灰色皮肤的CSS<em>问题</em>。 -修正Grid的列名<em>中</em>不能包含<em>中</em>文字符的BUG(feedback:davidwen)。 -为Web.config和PageManager增加<em>属性</em>AjaxTimeout(单位秒,默认30秒)。 -修正了在Grid的PageIndexChange<em>事件</em><em>中</em>不能获取SelectedRowIndexArray<em>属性</em>的BUG(feedback:Violet)。 -<em>Button</em>控件将不再自动拥有display:inline<em>属性</em>,如果希望两个按钮在一行显示,请为第<em>一个</em>按钮设置CssStyle="float:left;"<em>属性</em>。 -修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。 -为TriggerBox和TwinTriggerBox增加<em>Enable</em>Edit<em>属性</em>。 -使用Hidden来显示隐藏ExtAspNet控件,而不是使用Visible<em>属性</em>(Visible目前设置为只读<em>属性</em>)。 -使用Hidden控制Window控件的显示隐藏,Popup已经标记为Obsolete<em>属性</em>。 -Window的实例方法GetCloseReference等以及ActiveWindow的静态方法GetCloseReference等,其<em>中</em>的Close全部改为Hide。 -增加TabStrip<em>中</em>Tab控件可关闭<em>属性</em><em>Enable</em>Close(默认为false)以及两个方法GetShowReference和GetHideReference(feedback:anson)。 -修正绑定到Tree的XMLDocument<em>中</em>Icon<em>属性</em>映射错误(feedback:nopnop9)。 -修正HtmlEditor不能编辑的BUG(feedback:TheBox)。 -修正IE下有时会出现空白页面的情况(feedback:olivia919)。 +2009-12-06 v2.1.8 -修正了使用IFrame的Window关闭后不能再次打开的BUG(feedback:alexa99)。 -修正了IE下Grid<em>中</em>的<em>一个</em>JS<em>问题</em>(feedback:lqm4108)。 -修正Alert消息<em>中</em>引号未编码导致的JS错误(feedback:sun1299shine)。 +集成extjs3.0.3。 -修正弹出对话框的宽度计算错误(会保持最小的状态)。 -增加新的皮肤Gray。 -为示例工程添加<em>改变</em>语言和皮肤的下拉列表。 -为PageContext增加静态函数Refresh,在切换语言和皮肤时使用。 +2009-12-01 v2.1.7 -增加示例(iframe/parent_postback_run3.aspx),如何通过简单的Javascript代码回发父页面(feedback:eroach)。 -修正一些书写错误(feedback:bmck)。 -从Region控件<em>中</em>删除SplitColor<em>属性</em>,增加CollapseMode, <em>Enable</em>SplitTip, SplitTip, CollapsibleSplitTip<em>属性</em>(feedback:bmck)。 -BorderPanel更名为RegionPanel。 -DropDownList拥有MarkInvalid方法(feedback:sun1299shine)。 -增加<em>中</em>国的省市县三级联动示例(data/shengshixian.aspx)(feedback:Blues T)。 -修正了使用IFrameUrl的Tab在切换过程<em>中</em>会重复加载的<em>问题</em>,这是<em>一个</em>在v2.1.6引入的<em>问题</em>(feedback:eroach)。 -修正了启用AutoPostBack的Grid,其Row<em>Click</em>会覆盖Link<em>Button</em>Field, HyperLinkField, CheckBoxField的点击<em>事件</em>(feedback:yymaoji)。 +2009-11-26 v2.1.6 +修正动态创建Grid列的BUG(feedback:gxpan)。 -增加示例(data/grid_dynamic_columns.aspx)。 -修正<em>Form</em>不能自适应浏览器大小的<em>改变</em>(feedback:kaywood)(WorkItem#6309)。 -增加重载方法Alert.Show(message, title, icon)(feedback:TheBox)(WorkItem#6353)。 -为容器控件(比如Panel,Region,Tab等)增加AJAX<em>属性</em>IFrameUrl(feedback:BluesT)。 -重新设计模拟树的下拉列表的实现,避免选<em>中</em>某项后的闪烁。 +2009-11-21 v2.1.5 +Tree优化。 -修正Expanded项和Checked项的状态在回发<em>改变</em>后不能保持的BUG。 -GetNodeById更名为FindNode,保持和FindControl一致命名。 -删除CheckedNodeIDArray<em>属性</em>,增加GetCheckedNodes和GetCheckedNodeIDs函数。 -删除ExpandedNodeIDArray<em>属性</em>,增加GetExpandedNodes和GetExpandedNodeIDs函数。 -增加示例(data/tree_select_run.aspx),如何选<em>中</em>当前节点的所有子节点(feedback:wjl_wjl520)。 +TreeNode的<em>属性</em>NodeId被重命名为NodeID,这是ExtAspNet<em>中</em>的<em>一个</em>命名约定。 -同时更名的还有GridColumn的ColumnId->ColumnID,GetColumnId->GetColumnID。 -Grid1.Columns.FindColumnById函数被Grid1.FindColumn所替代。 -为TreeCheckEventArgs,TreeExpandEventArgs,TreeCommandEventArgs增加Node<em>属性</em>。 -为所有控件增加Focus(覆盖Control默认的Focus函数)和GetFocusReference函数。 -增加示例(other/custom_postback.aspx)(feedback:thebox)。 -如何自定义Javascript脚本和C#处理函数来响应键盘<em>事件</em>。 -为Tree增加AutoLeafIdentification<em>属性</em>。 -增加示例(tree_auto_leaf_identification.aspx)(feedback:wdrabbit)。 +2009-11-17 v2.1.4 -修正Window的关闭按钮提示信息一直是<em>中</em>文的BUG(feedback:thebox)。 -部分ExtAspNet控件的设计时支持(会在后续版本<em>中</em>逐步完善)。 -v0.2beta2版本<em>中</em>关于PersistChildren(true)的描述有误,这个是设计时<em>属性</em>,和运行时是否保持状态没有关系。 -修正CheckBox控件的CheckedChanged<em>事件</em>会被触发两次的BUG(Data PostBack->AutoPostBack, Event PostBack-><em>Enable</em>PostBack)。 -为TextBox,TextArea,DatePicker,NumberBox,TriggerBox等控件增加AutoPostBack<em>属性</em>(feedback:dk3214)。 +为表单字段增加RequiredMessage,MaxLengthMessage,MinLengthMessage<em>属性</em>,用于指定验证失败时提示信息。 -为空则使用默认的提示信息,默认的提示信息支持多语言,建议一般情况下使用默认信息。 +为表单字段增加MarkInvalid和GetMarkInvalidReference函数(feedback:sun1299shine)。 -增加示例:<em>form</em>/<em>form</em>_validate.aspx +2009-10-19 v2.1.3 +增加支持在AJAX时<em>改变</em>的控件<em>属性</em>列表(/ajax.aspx)。 -ExtAspNet支持原生的AJAX,也就是说控件的<em>属性</em><em>改变</em>在AJAX过程<em>中</em>会反映到页面<em>中</em>,但并不是所有的控件<em>属性</em>都支持AJAX<em>改变</em>。 -加载s.gif图片在本机进行,不会请求extjs.com远程资源(feedback:efrigate43,abaocoole)。 -在AJAX回发后确保Asp.net的按钮控件仍然具有AJAX的特性。 -更新/basic/login.aspx示例,使用验证图片(feedback:kedee)。 -为Grid增加AutoPostBack<em>属性</em>和Row<em>Click</em><em>事件</em>,示例在/data/grid_autopostback.aspx(feedback:chenguizhu2006)。 -为所有的表单字段增加AJAX<em>属性</em>ReadOnly(feedback:skydb)。 -Grid<em>中</em>TemplateField生成到页面<em>中</em>控件具有唯一ID,例如Grid1_ct5_Label2,Grid1_ct6_Label2(feedback:geruger)。 +2009-09-27 v2.1.2 -为Tree控件增加GetExpandAllNodesReference和GetCollapseAllNodesReference两个函数。 -修正RELEASE版本下多语言加载的BUG(feedback:yigehaoren)。 -增加pt_BR语言,由Ujvari提供。 +为所有Panel(包括Grid,Tree,<em>Form</em>等)增加枚举类型Icon,其<em>中</em>包含1700多个小图标。 -如果Panel具有IconUrl<em>属性</em>,则IconUrl优先于Icon。 -所有Icon的列表在icon.aspx。 -为<em>Button</em>,MenuItem(Menu<em>Button</em>,MenuHyperLink),AccordionLink,TreeNode,Image(如果ImageUrl为空,则取Icon的值)增加Icon<em>属性</em>。 +2009-09-15 v2.1.1 -修正不能动态修改AccordionPane<em>属性</em>Items的BUG。 +为<em>Button</em>, Menu<em>Button</em>, Link<em>Button</em>, Link<em>Button</em>Field增加ConfirmTarget。 -如果需要在父页面弹出确认对话框,需要设置ConfirmTarget="_parent"(类似Window控件的Target="_parent")。 +为ExtAspNet.Alert.Show增加点击确定的JavaScript回调函数。 -<em>一个</em>典型应用,在Window控件<em>中</em>打开新页面,如果传递的参数不正确,则首先提示参数不对然后关闭此弹出窗口。 -ExtAspNet.Alert.Show("参数错误!", String.Empty, ExtAspNet.ActiveWindow.GetCloseReference()); +TreeNode的前面的多选框可以自动回发了。 -为TreeNode增加AutoPostBack<em>属性</em>,增加<em>事件</em>数据类TreeCheckEventArgs,为Tree增加<em>事件</em>NodeCheck。 -示例在:http://extasp.net/data/tree_run.aspx -Grid增加GetNoSelectionAlertInParentReference函数,用来表示没有选<em>中</em>任何一项时在父页面弹出对话框的JS代码。 -修正IE7下不能以下划线作为CSS<em>中</em>类名的前缀的BUG(feedback:Steve.Wei)。 -添加定时器控件<em>Timer</em>,用来定时发起AJAX请求。 +2009-09-06 v2.1.0 -<em>Button</em>的Pressed<em>属性</em>值能够正确的反映客户端的变化。 -优化Tree控件的AJAX实现。 +为页面的<em>Form</em>添加autocomplete="off"<em>属性</em>。 -参考http://www.cnblogs.com/sanshi/archive/2009/09/04/1560146.html#1635830 +添加对extjs3.0<em>中</em>所有语言的支持。 -ExtAspNet扩展的多语言包在js\languages\extaspnet目录下,目前只有en,zh_CN,zh_TW三种实现 -你可以向其<em>中</em>添加自己的语言版本,并执行js\languages下的pack.bat打包,最后编译工程。 +2009-09-01 v2.0.9 -为ExtAspNet.Alert添加两个静态方法ShowInParent和GetShowInParentReference,用于在父页面弹出窗口。 +在aspx页面<em>中</em>必须显示的声明控件的集合<em>属性</em>(比如Tabs(TabStrip), Items(PanelBase), Nodes(TreeNode))。 -这将会影响所有的aspx页面,所以要特别关注。 -重命名AccordionPanel为AccordionPane (这也是在Asp.net AJAX<em><em>中</em>使</em>用的名称). +所有的面板默认有两个集合<em>属性</em>(Toolbars和Items). -尽管TabStrip, From, Tree, Accordion继承了Items<em>属性</em>,但是你并不能对其设置(此时Items是只读的). -这将会影响所有的aspx页面,一定要将工具条(Toolbars)和Items区分开来。 -祝你生日快乐 - 小师妹妹。 +2009-08-29 v2.0.8 -ExtAspNet支持多语言(en,zh_CN,zh_TW),可以在Web.config<em>中</em>修改。 -将所有的示例转化为英语版本。 -修正Tree控件的<em>一个</em>BUG(定义Mappings<em>属性</em>时)。 +PageManager.Instance应该存在于HttpContext.Current,而不是<em>一个</em>全局变量。 -这个BUG导致Asp.net compatibility<em>中</em>的示例无法完成,现在已经修正。 +去除PageManager<em>中</em>方法AddAjaxAspnetControls,增加<em>属性</em>AjaxAspnetControls。 -这个<em>属性</em>和<em>Button</em>得Validate<em>Form</em>s<em>属性</em>类似,可以查看Asp.net compatibility<em>中</em>的示例。 +2009-08-25 v2.0.7 -为按钮增加DisableControlBeforePostBack<em>属性</em> - 回发之前是否禁用按钮,防止重复提交 - 默认为true。 -Grid的Values<em>属性</em>访问限制由internal改为public,这就意味这可以自由<em>改变</em>Grid<em>中</em>每个单元格的值了。 -增加示例-如何将Grid控件导出为Excel(data\grid_excel_run.aspx)(feedback:503684912)。 -如果TreeNode的<em>属性</em><em>Enable</em>d="false",则此项变灰并且不会被选<em>中</em>(feedback:your568)。 -修正TreeNode的<em>属性</em>NavigateUrl不接受服务器端URL(以~/开头)的BUG。 -增加Accordion和Tree配合使用的示例(other\accordion_tree_run.aspx)。 -修正Panel图标不能显示的BUG(CSS<em>中</em>class名不能有$字符)。 +去除PageLayout控件,此控件可以使用BorderLayout和指定PageManager的AutoSizePanelID<em>属性</em>来代替。 -这样所有需要占据全屏的Panel(不管你是Accordion,Panel,ContentPanel,<em>Form</em>,GroupPanel,Simple<em>Form</em>,Tree还是Grid,TabStrip)都可以通过这种方式全屏。 -简单方便,示例可以参考 default.aspx 或者 other\accordion_tree_run.aspx。 +2009-08-14 v2.0.6 -动态生成菜单实例(other\menu_dynamic_run.aspx和other\menu_dynamic2_run.aspx)(feedback:shguo)。 -优化AJAX的内部实现,每个页面保存的ViewState现在减少1/3左右(重要更新)。 -优化Tree节点的NodeId自动生成,减少ViewState占用。 +2009-08-09 v2.0 beta5 +ExtAspNet和Asp.net的提交按钮兼容<em>问题</em>(feedback:千帆)。 -在2009-03-03 v1.3.0曾经提到这个兼容<em>问题</em>,并有这样的规则,如果Asp.net的按钮AJAX提交,必须设置UseSubmitBehavior="false" --也就是说生成的input的type不能是"submit",而这个限制在有些情况下是不可原谅的。 --我们做了优化,现在要使<em>一个</em>Asp.net的按钮能够AJAX提交,你不需要做任何设置(PageManager的<em>属性</em><em>Enable</em>Ajax为true即可,这是默认<em>属性</em>)。 +PageManager的实例方法AddAjaxUpdateControl改名为AddAjaxAspnetControls,现在可以在Page_Load<em>中</em>设置需要在AJAX<em>中</em>需要更新的Asp.net控件了。 -在Page_Load<em>中</em>设置了哪些需要在AJAX<em>中</em>更新的Asp.net控件会在回发时保持状态,可以通过RemoveAjaxAspnetControls来去除不需要更新的控件。 -示例在aspnet\fckeditor_run.aspx和aspnet\aspnet_run.aspx。 -FCKEditor和上传控件兼容。示例在aspnet\fileupload_run.aspx。 -修正ToolbarText的文本在AJAX下更新的BUG。 -<em>Button</em>的Pressed<em>属性</em>在AJAX可更新(feedback:mgzhenhong)。 -更新所有示例。在IE7.0,IE8.0,Firefox3.5,Chrome2.0下测试通过。 +2009-08-02 v2.0 beta4 +和Asp.Net的<em>Form</em>s Authentication兼容[feedback:mgzhenhong]。 -采用和Asp.Net Ajax类似的处理方式,需要在配置文件Web.config增加<em>一个</em>httpModules。 -现在支持Response.Redirect,你可以选择Response.Redirect或者ExtAspNet.PageContext.Redirect重定向页面,两者效果一样。 -支持<em>Form</em>sAuthentication.RedirectFromLoginPage(accountID, false);这样的方法。 -<em>Button</em>增加Type<em>属性</em>(<em>button</em>,reset,submit)[feedback:mgzhenhong]。 -修正Alert.Show方法不能指定文本前图片的BUG[feedback:xmq&mgzhenhong]。 -修正IE下某些弹出窗口的IFrame第一次不能加载的BUG。 -增加Menu和Accordion的示例。 -修正Window控件的IconUrl有时不显示(Target="_parent")的BUG[feedback:xmq&mgzhenhong]。 +2009-07-22 v2.0 beta3 -兼容FCKEditor。 -在IE8.0,Firefox3.5下测试通过。以后ExtAspNet将不会对IE6.0提供支持。 +2009-07-13 v2.0 beta2 -集成extjs最新版本v3.0。 +兼容IE6.0-7.0-8.0。 -这应该是Extjs3.0的<em>一个</em>BUG,在IE6.0-7.0下面设置Ext.QuickTips.init();会导致<em>button</em>的<em>click</em><em>事件</em>无法响应(IE8下无此<em>问题</em>)。 -目前先禁用IE6.0-7.0的QuickTips。 -优化底层JavaScript。 +2009-07-05 v2.0 beta1 -更新extjs库到最新版本v3.0 RC2; 目前只有<em>一个</em>缺省皮肤(Theme)。 -使用YUI Compressor压缩JavaScript和CSS文件。 -Release版本每个页面只包含<em>一个</em>JavaScript文件(语言文件除外)和<em>一个</em>CSS文件。 -ExtAspNet自身的CSS会紧挨着页面标签引入,这样在<em>中</em>自定义的样式可以覆盖ExtAspNet缺省样式。 +Alert对话框会遮挡所有的Window窗口。 -使用<em>一个</em>变通的方法解决,因为无法<em>改变</em>Ext.Message的默认z-index(9000)所以将box.window_default_group的zseed调整为6000。 -为所有按钮的左右增加5px的空白边距:.x-btn <em>button</em> { margin: 0 5px !important; }。 -因为下拉列表不可编辑,所以不能为空,如果不设置SelectedIndex或SelectedValue,则默认选<em>中</em>第一项。 -重新绑定模拟树的下拉列表后,选<em>中</em>项的前面有图片的HTML标签的BUG。 -更新自定义JavaScript组件Ext.ux.SimplePagingToolbar。 -更新示例工程。 +2009-03-25 v1.3.1 -Tree在AJAX回发展开节点时JS错误[feedback:xlli]。[fixed] -Window<em>中</em>的<em>Enable</em>IFrame==false,则点击关闭按钮时报JS错误。[fixed] -页面包含FileUpload控件,需要点击按钮回发并上传文件,则不能采用原生AJAX方式。(参见示例aspnet/fileupload.aspx)[fixed] -HtmlEditor显示隐藏工具栏按钮不起作用,HtmlEditor目前不支持<em>Enable</em>d和Readonly两个<em>属性</em>。[fixed] +2009-03-03 v1.3.0 -如果弹出的窗口(Ext-Window)含有ASP.NET控件FileUpload,则此弹出窗口在关闭时出现JS错误(http://extjs.com/forum/showthread.php?t=8129)[feedback:xlli]。[fixed] -如果页面<em>中</em>存在ASP.NET控件(TextBox),则第二次提交表单就会报错(视图状态不对,其实时没有更新EventValidation隐藏字段导致的<em>问题</em>)。[fixed] -页面上放置ExtAspNet-<em>Button</em>和ASP.NET-<em>Button</em>,则点击ExtAspNet-<em>Button</em>时激发的是ASP.NET-<em>Button</em>的<em>事件</em>,这个BUG和Extjs2.2.1<em>中</em>Ext.Ajax.serialize<em>Form</em>的实现有关。[fixed] -ExtAspNet内部包含HtmlAgilityPack和Nii.JSON两个开源的第三方类库。[added] +如果以前你听过不要在ExtAspNet工程<em><em>中</em>使</em>用ASP.NET标准控件的忠告,那么从v1.3.0版本开始,你可以忘掉这个说法,现在ExtAspNet控件和ASP.NET标准控件和平共处了。[fixed] -如果<em>一个</em>ASP.NET按钮控件要使用ExtAspNet的原生AJAX,只需要设置<em>属性</em> UseSubmitBehavior="false" 即可。 -如果要在一次ExtAspNet的原生AJAX回发时更新ASP.NET控件的值,只需要调用PageManager的公共方法AddAjaxUpdateControl即可(示例:aspnet/aspnet.aspx)。 +2009-02-27 v1.2 beta9 -网络连接出错时的“Ajax Error”改成更加友好的提示信息“本次连接失败!可能是网络连接出错,请刷新页面重试。”。[fixed] -自动测试功能会在以后版本<em>中</em>逐步完善。这个版本完成测试框架,采用Extjs<em>中</em>JS函数进行大部分的测试,对于一些难以测试的地方借助jQuery完成。[fixed] +系统底层代码优化(主要是Javascript的封装和BUG修复)。[fixed] -底层使用Javascript创建<em>一个</em>Window控件的代码由原来的2000字符减少为500个字符。 -PageContext静态类<em>中</em>的GetPageStateChangedFunction改名为GetConfirm<em>Form</em>ModifiedReference,底层代码优化。表示“获取当前页面<em>中</em>表单修改的确认提示框的脚本”。 ---[updated]删除PageContext<em>中</em>的GetConfirm<em>Form</em>ModifiedReference,使用CurrentActiveWindow<em>中</em>的GetConfirm<em>Form</em>ModifiedCloseReference/GetConfirm<em>Form</em>ModifiedCloseRefreshReference/GetConfirm<em>Form</em>ModifiedClosePostBackReference三个方法代替。 -不会修改弹出页面的URL(Ext-Window<em>中</em>的IFrame),以前为了实现功能为每个弹出页面添加box_parent_client_id查询字符串 -去除PageManager的RegisterPageStateChangedScript<em>属性</em>,现在已经将这个功能实现为静态的JS方法。可以通过PageContext.Get<em>Form</em>ModifiedConfirmReference获取此方法的客户端脚本。 ---注意:以前的项目需要在所有的ASPX页面<em>中</em>查找RegisterPageStateChangedScript<em>属性</em>,并删除,否则会运行错误! -A页面有Ext-Window控件弹出B页面,B页面有Ext-Window控件弹出C页面,B页面的Ext-Window控件设置Target='_parent',则弹出的Ext-Window(C页面)会覆盖整个A页面,这是正确的。 ---当时如果用户直接访问B页面,就会报JS错误,因为此时找不到B页面的父页面A了。现在的版本修正为如果找不到父页面,则就在当前页面弹出窗口,这样用户直接访问B页面也不会出错了。 -Window控件的GetIFramePageStateChangedFunction函数改名为GetConfirm<em>Form</em>ModifiedCloseReference,表示“获取先确认IFrame的页面<em>中</em>表单<em>改变</em>,然后关闭弹出窗口的客户端脚本”。 ---为Window控件增加如下两个方法GetConfirm<em>Form</em>ModifiedCloseRefreshReference和GetConfirm<em>Form</em>ModifiedClosePostBackReference,表示“先确认表单<em>改变</em>,然后关闭弹出Ext-Window,再然后刷新父页面或回发父页面”。 ---Window控件的OnClientClose<em>Button</em><em>Click</em><em>属性</em>如果不设置,则默认采用GetConfirm<em>Form</em>ModifiedCloseReference,也即是先判断表单是否更新,然后在关闭窗口。 ---现在可以很方便的为Window控件的关闭按钮添加关闭后刷新父页面或者关闭后回发父页面的行为。 -如果弹出窗口(Window控件)<em>中</em>IFrame的页面不能正常加载(网络暂时出错或页面抛出异常),则此时点击右上角的关闭按钮会报JS错误,因为此时页面尚未加载完毕。 ---此版本修正了这个BUG,即时页面不能加载完全,也能通过右上角的关闭按钮关闭弹出含IFrame的窗体。 -Window控件的IFrameName<em>属性</em>是自动生成的,只读<em>属性</em>。(因为有可能所有的Ext-Window最终都渲染到最外层的页面,为了保证这些IFrame的name不同,IFrameName使用的是GUID,内部处理)。 -CurrentActiveWindow改名为ActiveWindow。 -[特别注意]GetWriteBackValueReference(string controlClientIds, string value, params string[] values)函数现在的定义是GetWriteBackValueReference(params string[] values) ---所有调用GetWriteBackValueReference的地方,需要删除第<em>一个</em>参数(一般是ActiveWindow.GetLoadStateReference())。 +2009-02-23 v1.2 beta8 -ContentPanel<em>中</em>内容不能自动扩展高度的BUG[feedback:huihuang]。[fixed] -DropDownList在Ajax回发时不能计算模拟树的数据[feedback:huihuang]。[fixed] -DropDownList在页面第一次加载时没有不可选择项,则回发时也不会有不可选择项的BUG。[fixed] -升级底层ExtJS类库为v2.2.1(此版本主要是Chrome的支持和部分内存泄漏<em>问题</em>的修正)。[fixed] -页面加载过程<em>中</em>的时间信息保存在Javascript变量window.box.timeInfo<em>中</em>。[added] +增加部分自动测试支持(使用WatiN和NUnit),下个版本将会提供完整的自动测试支持。[fixed] +2008-10-28 v1.2 beta7 -DropDownList没有选<em>中</em>任何一项,回发时报错[feedback:huihuang]。[fixed] -Window显示位置不对,以及不能拖动的BUG[feedback:huihuang]。[fixed] +PageContext优化。[fixed] -去除RegisterExclusiveScript静态函数(这是没有原生ajax之前的产物),使用RegisterStartupScript替代。 -去除RegisterStartupScript的重载函数,只保留最简单的PageContext.RegisterStartupScript(string script)函数。 -Resirect增加重载函数Redirect(string url, string target),其<em>中</em>target可能的取值为_self,_parent,_top,分别表示在当前窗口,父窗口,顶级窗口重定向[feedback:jqpeng]。 -Image控件增加ImageWidth/ImageHeight/ImageCssStyle/ImageCssClass/ImageAlt<em>属性</em>[feedback:jqpeng]。[fixed] -发布包<em>中</em>增加<em>一个</em>Web.config.txt,这是<em>一个</em>空的Web.config文件,包含BOX基本的配置信息。[fixed] -ContentPanel的ShowHeader和ShowBorder<em>属性</em>默认也是true(注意更新以前的应用)。[fixed] -Row和Column布局时,修正IE下设置RowHeight="100%"时显示不正确的BUG。[fixed] -AccordionLink当鼠标移上和移开时,有背景色的变化效果[feedback:huihuang]。[fixed] +TabStrip的Tab控件的<em>Enable</em>PostBack<em>属性</em>会在回发时保持(也即是说如果<em>Enable</em>PostBack=true,回发时没<em>改变</em><em>Enable</em>PostBack的值,则每次切换到此Tab都会回发)。[fixed] -有这样<em>一个</em>效果,如果Tab1默认显示,Tab1的<em>Enable</em>PostBack=true,则页面加载完毕后会回发Tab1一次。 +2008-10-20 v1.2 beta6 +使用控件的站点必须建立虚拟目录,否则会报JS错误(即是脚本资源没有加载),却原来是HTTPCompress组件的<em>问题</em>。[fixed] -需要替换新的blowery.Web.HttpCompress.dll,解决方案见http://pohee.com/it/http-compression-in-aspnet-20/。 +DropDownList优化。[fixed] -去除<em>Enable</em>FirstItem/FirstItemText/FirstItemValue,这个并不能带来很大的好处,反而容易让开发人员困惑。 现在可以方便的在后台DropDownList1.Items.Insert(0, new ExtAspNet.ListItem("全部", "-1"));来达到同样的效果。 +如果某项(ListItem)的Value为空字符串,则通过SelectedIndex和SelectedValue不能选<em>中</em>[feedback:jqpeng]。 -和Asp.net<em>中</em>的保持一致,ListItem的Value值可以为空字符串。 也就是可以这样写DropDownList1.SelectedValue = ""; -ListItemCollection增加重载函数Add(string text, string value),这样方便后台添加列表项。 -处于布局内的容器控件(Layout!=LayoutType.Container),AutoHeight会自动设置为false(避免开发人员发生此类错误)。[fixed] -注意,控件的高度指的是整个控件的高度,包含BodyPadding(这和CSS<em>中</em>的height不同,CSS<em>中</em>的height是指内容的高度,除去padding/border-width/margin)。[fixed] +为所有控件<em>属性</em>增加在VS<em>中</em>的智能提示。[fixed] -需要将ExtAspNet.XML和ExtAspNet.dll放在一起,这样引用dll时xml会被拷贝到bin目录下,提供VS的智能提示。 +控件的<em>属性</em>如果是枚举类型,如果此<em>属性</em>可以不取值,则默认为None。[fixed] -TriggerIconType.Default -> TriggerIconType.None -SystemIconType.Empty -> SystemIconType.None -RegexPattern.USER_DEFINED -> RegexPattern.None -表单验证<em>属性</em>名称变化(ValueToCompare->CompareValue,ControlToCompare->CompareControl)。[fixed] +注意:<em>一个</em><em>属性</em>可以拥有多个值的情况。[fixed] -<em>属性</em>和CSS相关则用空格分隔(比如ColumnWidths,BodyPadding)。 -其他的都是逗号分隔(比如Validate<em>Form</em>s,DataKeyNames,DataNavigateUrlFields)。 +AccordionLink实现为控件。[fixed] -可以方便的在子页面(iframe)<em>中</em>通过js切换父页面<em>中</em>选<em>中</em>的菜单项(Accordion->AccordionLink)(示例在other/accordion_links_run.aspx,other/accordion_links_run_iframe_htm)[feedback:jima]。 +确认:可以方便的动态添加控件,并且可以给控件添加服务器端<em>事件</em>(示例在<em>form</em>/<em>form</em>_dynamic_run.aspx)。[fixed] +2008-10-15 v1.2 beta5 -验证表单字段的ValueToCompare<em>属性</em>,为字符串时会出错的BUG。[fixed] +优化下拉列表。[fixed] -验证下拉列表时,应该取ListItem的Value<em>属性</em>进行验证,而不是Text<em>属性</em>。 -DropDownList的Items增加Insert方法(可方便的下拉列表选项添加“全部”)。 -DropDownList不支持EmptyText<em>属性</em>。 -ListItem启用<em>Enable</em>Select和SimulateTreeLevel<em>属性</em>,这样就可以直接在前台(ASPX)<em>中</em>设置哪些项不可选择,以及创建模拟下拉树。 -DropDownList增加<em>Enable</em>SimulateTree<em>属性</em>(默认为false),如果设置了DataSimulateTreeLevelField,则自动将<em>Enable</em>SimulateTree设置为true。 +2008-09-27 v1.2 beta4 +<em>Enable</em>LargeHeader<em>属性</em>对所有容器的效果一样,Accordion的<em>属性</em><em>Enable</em>LargeHeader只会<em>改变</em>Accordion的标题大小,而不会对AccordionPanel起作用(示例见other/accordion_run.aspx)。[fixed] -Accordion去除<em>Enable</em>Hightlight<em>属性</em>,AccordionPanel增加<em>Enable</em>Hightlight<em>属性</em>。 -影响以前使用Box的应用,需要将Accordion的<em>属性</em>去掉,然后为每个AccordionPanel增加<em>Enable</em>LargeHeader和<em>Enable</em>Hightlight<em>属性</em>。 -AccordionPanel鼠标移上去的样式调整(现在没有下面的一条白线了)。[fixed] +AccordionPanel增加Links<em>属性</em>,可以绑定列表数据到AccordionPanel,呈现的是链接的列表(示例在other/accordion_links_run.aspx)。[fixed] -原来放置在AccordionPanel<em>中</em>的容器,比如ContentPanel需要在外层加上标签。 -适当增大AccordionPanel<em>中</em>链接的高度20px->22px,同时对链接的样式也做了微调。 -通过BodyPadding控制链接列表的边距。 -这样能大大减少ASPX<em>中</em>HTML代码和Javascript代码的书写,可以在后台动态添加链接,效果很赞,此需求由马季提出。 +2008-09-25 v1.2 beta3 +代码优化与设计时支持(尚需要不断完善,目前可以在ASPX页切换到“设计时”,方便<em>属性</em>的更改和<em>事件</em>处理函数的添加)。[fixed] -Panel/GroupPanel/ContentPanel/Tree/HiddenField/PageLoading -TabStrip/Toolbar -TabStrip去除Plain<em>属性</em>,增加<em>Enable</em>TitleBackgroundColor(默认为true)。[fixed] -向<em>Form</em><em>中</em>动态添加控件的BUG,现在<em>form</em>/<em>form</em>_dynamic_run.aspx示例已经能正确运行。[fixed] +大部分容器的子控件集合更正为Items(以前有些是Rows)。[fixed] -影响的控件包括Toolbar/Accordion/AccordionPanel/GroupPanel/Panel/Simple<em>Form</em>/Window等。 -保留<em>Form</em>的Rows(<em>Form</em>RowCollection)<em>属性</em>和Grid的Rows<em>属性</em>(GridRowCollection)。 -保留TabStrip的Tabs(TabCollection)<em>属性</em>。 -保留PageLayout/BorderLayout的Regions(RegionCollection)<em>属性</em>。 -预祝今晚神七发射成功。 +2008-09-22 v1.2 beta2 +Grid选<em>中</em>项(SelectedRowIndexArray)在ajax回发过程<em>中</em>存在BUG [feedback:xmzhu]。[fixed] -表现为对Grid进行多次删除添加操作后,SelectedRowIndexArray选<em>中</em>项<em>中</em>会存在当前不存在的行序号,导致服务器端遍历选<em>中</em>项时数组越界。所有使用box控件的应用程序都受到此BUG的影响,需尽快更新到新版本。 +代码优化与设计时支持(示例<em>中</em>表单控件都已支持设计)。[fixed] -PageManager/Simple<em>Form</em>/<em>Button</em>/HyperLink/Label/Image/Link<em>Button</em>/TextBox -TriggerBox/TwinTriggerBox/Window/TextArea/HtmlEditor/DatePicker/NumberBox -CheckBox/Radio<em>Button</em>/Radio<em>Button</em>List/DropDownList -Grid +2008-09-19 v1.2 beta1 -Image/Link<em>Button</em>/HyperLink增加一些Ajax可更新<em>属性</em>。[fixed] +隐藏的方式由HideMode<em>属性</em>控制Visibility/Offsets/Display。[fixed] -修正<em>Form</em>/Simple<em>Form</em><em>中</em>隐藏<em>一个</em>表单字段(Hidden=false)会占据页面空间的BUG。 -ToolbarText/ToolbarFill/ToolbarSeparator在ASPX<em>中</em>设置Hidden=true不起作用的BUG [feedback:jbzhang]。[fixed] -<em>Button</em>去除MarginRight<em>属性</em>(可以通过CssStyle="margin-right:5px;"达到相同的效果)[fixed] +2008-09-09 v1.1 +Toolbar去除IsPageMenu<em>属性</em>,在网报<em>中</em>可以用自定义样式实现,而不应该写在控件<em>中</em>。[fixed] -网报:CssClass="toolbar-pagemenu" CssStyle="border:0px;",同时定义样式:.toolbar-pagemenu{ background: rgb(208, 222, 240) url(../images/pagemenu_toolbar_background.gif) repeat-x left top;}。 -Region去除默认的Layout=Fit,如果希望Region使用Fit/Anchor/Column/Row等布局的话,需要手工指定。[fixed] -ToolbarSeparator/ToolbarFill在Ajax更新Hidden<em>属性</em>的BUG。[fixed] +布局整理。[fixed] -新增Column/Absolute/Row三种布局,加上以前的Container/Fit/Anchor/Accordion/Border/<em>Form</em>六种布局,总共有9<em>中</em>布局可供使用。 -其<em>中</em>一些控件默认使用一种布局:Simple<em>Form</em>(<em>Form</em>)/<em>Form</em>(<em>Form</em>)/Panel-GroupPanel(Container)/Accordion(Accordion)/PageLayout(Border)/BorderLayout(Border)/TabStrip(Card),所有布局控件默认的布局是Container。 -经常用到的布局控件:Simple<em>Form</em>/<em>Form</em>/Accordion/TabStrip/BorderLayout,经常用到的布局:Fit/Row/Anchor +2008-09-08 v1.1 beta7 -Menu<em>Button</em>/MenuHyperLink增加HideOn<em>Click</em><em>属性</em>,如果<em>一个</em>菜单项的作用仅仅为了弹出下级菜单,点击没反应,则可以这样设置HideOn<em>Click</em>="false" CssStyle="cursor:default;" [feedback:huayu]。[fixed] -Menu<em>Button</em>/MenuHyperLink/MenuSeparator/MenuText增加Hidden<em>属性</em>(此<em>属性</em>是Ajax可更新<em>属性</em>,如果需要在Ajax时显示隐藏菜单,请使用此<em>属性</em>而不是Visible<em>属性</em>)。[fixed] +大部分的ExtAspNet控件增加Hidden<em>属性</em>(少数几个控件没有此<em>属性</em>:Menu),这样在Ajax时可以显示隐藏控件。[fixed] -注意Visible和Hidden的区别:Visible=false的<em>属性</em>不会渲染到客户端,Hidden=true的控件渲染到客户端但是隐藏。 -US的ExtAspNet改造强烈依赖于此<em>属性</em>,这个版本发布后可以继续。 -网报<em>中</em>唯一没有用到ExtAspNetAjax的地方就是显示隐藏表单字段,现在也可以使用Ajax了。 +2008-09-04 v1.1 beta6 -PageContext.Redirect支持普通页面转向和ExtAspNetAjax下页面转向。[fixed] +模拟树的下拉列表的BUG(会使一些可选项变成不可选项)[feedback:xmzhu]。[fixed] -因为if("0,2,9,11,".indexOf('1,')>=0){ok},这显然是不对的,此BUG涉及很多控件(Grid,DropDownList,TabStrip)。 -解决方法:testValue += '';if(domValue.split(',').indexOf(testValue) >= 0){ok}。 -DropDownList在Ajax时应该先更新数据再设置选定项 [feedback:xmzhu]。[fixed] -<em>Button</em>/Menu<em>Button</em>增加Ajax可更新<em>属性</em>OnClient<em>Click</em> [feedback:xmzhu]。[fixed] -Tree的Ajax支持(尚需优化)。[fixed] +2008-09-02 v1.1 beta5 -DropDownList如果第一次没有绑定值,应该绑定到[[]](二维数组),而不是[](一维数组)。[fixed] -模拟树的DropDownList,在Ajax重新绑定DataSource后,保持项是否可选状态是最新的(页面第一次加载时,即使没有数据也需要设置DataTextField/DataValueField/DataSimulateTreeLevelField/Data<em>Enable</em>SelectField等<em>属性</em>的值,否则Ajax回发时会出错)。[fixed] -UserControlConnector导致的Ajax错误,去除UpdatePanelConnector控件(以后不会用AspnetAjax,这个控件已经完成使命)。[fixed] -不要使用Asp.net的控件HiddenField,而是使用ExtAspNet的HiddenField,因为Asp.net的控件在Ajax不会被更新,所以会导致视图状态不一致的错误。[fixed] -网报Ajax整合基本完成(除了待审批->下一步[审核/归档/出纳]操作,由于需要显示隐藏表单字段,目前Ajax不支持,使用的还是普通的PostBack)。[fixed] -IE下,Radio<em>Button</em>List<em>中</em>项如果存在汉字,则会换行的BUG。[fixed] -增加两个Theme[Slate/Black](样式尚需完善)。[fixed] +2008-09-01 v1.1 beta4 -非当前Tab<em>中</em>如果有ContentPanel,则在页面上方会有空白(可以通过设置<em>Enable</em>DeferredRender=false解决,但会减慢页面的加载速度),现在已经解决这个<em>问题</em>。[fixed] -Radio<em>Button</em>List去除<em>Enable</em>BackgroundColor/<em>Enable</em>LightBackgroundColor<em>属性</em>,背景色是透明的,也就是和父控件(Simple<em>Form</em>/<em>Form</em>)的背景色一致。[fixed] -TwinTriggerBox的第<em>一个</em>Trigger图标不会先显示再隐藏,而是直接隐藏掉(如果用户设置ShowTrigger1=false)。[fixed] -Web.config<em>中</em>增加配置项<em>Form</em>LabelWidth="80"(默认为80),同时PageManager增加<em>Form</em>LabelWidth<em>属性</em>用来控制页面上所有Simple<em>Form</em>/<em>Form</em>的表单字段标题的宽度。[fixed] +完善Ajax。[fixed] -Radio<em>Button</em>List增加Ajax可更新<em>属性</em>SelectedIndex(SelectedValue/SelectedItem)。 -DropDownList增加Ajax可更新<em>属性</em><em>Enable</em>/SelectedIndex(SelectedValue/SelectedItem)/DataSource。 -Grid增加Ajax可更新<em>属性</em>Columns(也就是说Grid列在回发时隐藏显示了一些,也能正确的Ajax)。 -ToolbarText增加Ajax可更新<em>属性</em>Text。 +2008-08-31 v1.1 beta3 -TabStrip增加<em>Enable</em>DeferredRender<em>属性</em>(是否启用延迟加载Tab,默认启用)。[fixed] -重定向页面,使用系统的方法 PageContext.Redirect(string url),使用Response.Redirect方法会出错。[fixed] +安全的Ajax设计。[fixed] -这个版本Ajax和上个版本(v1.1beta1)在设计思路上有很大区别,同时在速度上会有进一步的提升。 -基本思想:安全的Ajax交互,明确Ajax回发时支持控件哪些<em>属性</em>的<em>改变</em>,这将适合90%的应用场景(并且具有极快的反应速度),对于需要UI大改动的可采用常规回发,系统提供控件级别的<em>Enable</em>Ajax<em>属性</em>。 -整理支持Ajax的控件<em>属性</em><em>改变</em>列表(所有被支持的<em>属性</em><em>改变</em>都是安全的、快速的,所有不被支持的<em>属性</em><em>改变</em>不会对UI起作用,同时是安全的,不会有js错误)。 -网报Ajax整合(目前只支持所有的列表页面)(v0.8.1)。[fixed] +2008-08-29 v1.1 beta1 +Window控件是否弹出的状态在回发时维持。[fixed] -控件设计的<em>一个</em>原则,凡是可以在客户端<em>改变</em>的<em>属性</em>都应该在回发时保持<em>属性</em>的状态。 +完全抛弃Asp.NetAjax,ExtAspNet控件内置Ajax支持。[fixed] -这是<em>一个</em>值得骄傲的设计,可以明显提高页面回发的速度(相比普通的回发和Asp.netAjax的回发),对于IFrame框架的交互也起到很好的加速效果。 -不需要做任何配置,所有的回发都是Ajax(在Web.config和PageManager<em>中</em>有设置启用Ajax回发的<em>属性</em>-<em>Enable</em>Ajax-默认为true)。 +在这种设计下,其实可以完全抛弃Javascript。 -比如简单的点击<em>一个</em>按钮弹出窗口,可以在<em>Button</em>的On<em>Click</em><em>事件</em><em>中</em>设置Window1.Popup=true,也可以注册<em>Button</em>的OnClient<em>Click</em>=Window1.GetShowReference()。 -第一种方法需要回发,但是我们内置的Ajax支持能很快的返回需要的结果并解析,在网络速度很快的情况下和第二种方法差别不是很大。 -推荐的做法是尽量用客户端实现,客户端实现复杂的直接用服务器端实现。 +目前ExtAspNetAjax的限制。 -只对ExtAspNet控件起作用,对Asp.net控件不起作用。 -对容器控件(有子控件的控件)不起作用,只对最底层的控件起作用。 -对<em>改变</em>控件的Visible<em>属性</em>会有错误。 -Window控件的<em>属性</em><em>改变</em>只有少数几个起作用(Popup,IFrameUrl)。 -PageManager增加<em>属性</em><em>Enable</em>PageLoading和<em>Enable</em>AjaxLoading(启用页面第一次加载标示和Ajax加载标示,默认都为true),所以如果使用系统默认的加载标示就不必每个页面都添加PageLoading控件。[fixed] -Grid<em>中</em>的回发<em>事件</em>(主要是Link<em>Button</em>Field和CheckBoxField(RenderAsStaticField=false))要延迟0ms执行,这样当前行被选<em>中</em>的状态在回发后会得到保持。[fixed] -Grid选<em>中</em>行的状态在第一次回发时不能保持的BUG。[fixed] +2008-08-26 v1.0 +已知<em>问题</em>:IE的ActiveX插件IE Developer Toolbar会对IFrame的加载造成0.5m左右的延迟。 -主要是父页面加载<em>一个</em>比较大的css文件(~100k),则每次打开iframe页面,onload<em>事件</em>的调用都会有500ms左右的延迟,在测试IE性能时要禁用此插件。 +优化弹出窗口<em>中</em>IFrame的显示速度。[fixed] -在当前页面弹出窗口需要~20ms,在父页面弹出窗口需要100~300ms。通过缓存弹出的窗口实例,从而第二次弹出窗口不再需要创建时间。 -PageLayout的Region增加SplitColor<em>属性</em>,默认的背景色是透明的。(在网报<em>中</em>需要设置SplitColor="#CADDF7",以便分隔符的颜色和Toolbar的颜色一致)[fixed] +PageManager增加<em>属性</em>Theme、Language、<em>Form</em>MessageTarget、<em>Form</em>OffsetRight等<em>属性</em>,这些<em>属性</em>可以在Web.config<em>中</em>设置(推荐方法),也可以为每个页面设置。[fixed] -<em>一个</em>典型的应用是为每个用户设置不同的皮肤(根据用户浏览器<em>中</em>Cookie设置的值)(示例在default.aspx)。 -TreeNode增加<em>属性</em>Single<em>Click</em>Expand,表示点击可切换节点的折叠展开状态。[fixed] +TabStrip<em>中</em>非当前Tab会延迟渲染。[fixed] -这会明显加快页面的渲染速度,网报<em>中</em><em>一个</em>典型的费用审批页面可以减少200ms的渲染时间。 -由于非当前Tab不会在页面加载时渲染,所以那些Tab<em>中</em>的节点在页面加载后也是不可见的,需要将相关的脚本移动到控件的render<em>事件</em><em>中</em>。 -不能比较两个DataPicker大小的BUG。[fixed] -TabStrip延迟加载引起的BUG(非当前Tab<em>中</em>的ContentPanel会占据页面空间,已修正)。[fixed] -全新的ExtAspNet.Examples(基础知识/表单控件/数据绑定/容器布局/IFrame框架)。[fixed] +2008-08-19 v0.4 beta6 +PageManager增加两个<em>属性</em>(<em>Enable</em>InlineStyleJavascript/ApplyParentStyleJavascript),可以在IFrame页面<em><em>中</em>使</em>用父页面的脚本和样式(示例在iframe/default.aspx和iframe/page3.aspx)。[fixed] -测试发现,IFrame页面的加载速度并没有明显加快,可以先不使用此<em>属性</em>。 -Radio<em>Button</em>List放在在BorderLayout<em>中</em>显示不了的BUG [feedback:zgjiang2]。[fixed] +extjs的BUG,当页面<em>中</em>含有iframe时,Ext.onReady会被调用两次(IE6/IE7)(http://www.extjs.net/forum/showthread.php?t=43246)(示例在test.aspx)[fixed] -现在的解决方法是在初始化时:if(this.initialized){return;}this.initialized=true; +需要先回发页面再弹出IFrame窗口。[fixed] -在回发时设置窗口的Popup和IFrameUrl<em>属性</em>,因为这些<em>属性</em>是可以保持状态的,所以在关闭窗口时要注意设置Popup=false。 -另一种做法(推荐):PageContext.RegisterStartupScript(Window99.GetShowReference("./simple<em>form</em>.aspx"));。 +2008-08-15 v0.4 beta5 -点击关闭窗口的按钮,在IE6下会有JS错误。[fixed] -增加BorderLayout控件,示例在iframe/borderlayout.aspx。[fixed] +Radio<em>button</em>list显示有重影(示例在radio.aspx)。[fixed] -全新的样式。 -去除Horizontal<em>属性</em>,增加ColumnNumber(可以设置渲染成几列)。 -GetValueReference取得的值不正确的BUG。 -动态向<em>Form</em><em>中</em>添加<em>Form</em>Row,并动态的向<em>Form</em>Row<em>中</em>添加表单字段,以及如何取得表单字段的值。(示例在<em>form</em>_dynamic.aspx)[fixed] +IFrame弹出窗口关闭后回发父页面,则会多加载IFrame一次,再次打开窗口会重复加载IFrame2-3次[feedback:xmzhu]。[fixed] -这是<em>一个</em>重要的BUG,会严重影响页面的加载速度。原因是通过脚本<em>改变</em>的IFrameUrl会在回发时保持状态,从而回发父页面后Window<em>中</em>的IFrame被添加到页面,而这是不需要的。 -现在"是否弹出窗口、窗口标题、IFrameUrl"在客户端的<em>改变</em>,不会影响服务器端的<em>属性</em>,也即是不保持状态。此<em>问题</em>解决。(示例在<em>button</em>_iframe.aspx) +2008-08-13 v0.4 beta4 -点击关闭窗口的按钮,在IE下会有JS错误。[fixed] -Window的右上角关闭图标增加提示,优化<em>事件</em>响应。[fixed] -Window的代码重构。[fixed] +修正<em>一个</em>的内存泄漏。[fixed] -IE7下测试,打开iframe/default.aspx页面,iexplorer占内存68.368M。 -内存存在泄漏时,点击iframe/page3.aspx页面8次后iexplorer占118.792M内存。 -修正后,点击iframe/page3.aspx页面8次后iexplorer占76.492M内存。 -IE窗口最小化时,IE会自动进行垃圾回收。 +2008-08-12 v0.4 beta3 -底层的javascript框架Extjs升级为v2.2,Grid的渲染速度有很大提升。[fixed] -Grid的<em>Enable</em>DelayRender默认为true(如果没有设置Grid的高度或通过布局间接设置高度,则行不可见,可以通过AutoHeight="true"解决)。[fixed] +页面正在加载的提示尽早的显示出来。[fixed] -首先在执行js来完成页面渲染之前延迟5ms,以便浏览器把当前页面内容显示出来。 -加载js脚本的script标签放置在页面的最后,放置加载js而阻塞PageLoading的显示。 +2008-08-08 v0.4 beta2 -TabStrip延时加载出错。[fixed] -Window的IFrameUrl处理的BUG,比如Pages_ExtAspNet目录下的页面应该为./FE_ApplyEditor.aspx或~/Pages_ExtAspNet/FE_ApplyEditor.aspx。[fixed] -Window的WindowPosition="Center"并且Target="_parent",则会JS错误。[fixed] -实现网报首页下拉菜单和左侧菜单的导航功能。[fixed] -Window的创建在页面显示后进行,不计算在js渲染时间内。[fixed] -优化费用申请页面(尽量减少不必要的层次嵌套)。[fixed] -<em>button</em>_iframe.aspx默认会加载<em>form</em>.aspx页面(Window控件的BUG)。[fixed] -Window<em>中</em>的保存并关闭按钮和Asp.netAjax冲突。[fixed] -优化关闭Window的js脚本,减少写到页面的js大小。[fixed] -加快“保存并关闭”按钮关闭窗口的速度,使用PageContext.RegisterExclusiveScript(CurrentActiveWindow.GetClosePostBackReference());,示例在(simple<em>form</em>.aspx)。[fixed] +2008-08-05 v0.4 beta1 -DropDownList去除Traditional<em>属性</em>,和传统的Asp.net控件一样不可编辑。[fixed] -DropDownList增加SelectedText<em>属性</em>(去除了模拟树时通过SelectedItem.Text的多余html字符)。[fixed] -为了加快渲染速度,去掉一些特效(比如Panel的折叠效果,Grid的拖动列效果等)[feedback:dcding]。[fixed] -将生成的js对象的名称简单化,这样可以减少生成的js内容,加快页面加载速度(<em>一个</em>典型页面的js由原来的33.0k降低为21.4k)。[fixed] +弹出窗口<em>中</em>,点击按钮回发然后点击关闭按钮,出现js错误 [feedback:xmzhu]。[fixed] -因为在页面的Page_Load<em>中</em>,if (!IsPostBack){PageContext.RegisterPageStateChangedStartupScript();}通过这样方法向页面注册了一段脚本,但是这段脚本在回发时没有注册到页面,因为js调用此脚本时报错。 -一种解决方法是将向页面注册脚本的函数移动到if语句的外面,即每次都向页面注册此脚本。 -另一种办法就是在PageManager控件<em>中</em>增加RegisterPageStateChangedScript(向页面注册监视页面<em>中</em>表单内容<em>改变</em>的脚本)的<em>属性</em>(会在每次页面回发(包含ajax回发)时注册脚本)(示例在<em>button</em>_iframe.aspx/simple<em>form</em>.aspx)。 +PageManager控件增加ExecuteOnReadyWhenPostBack<em>属性</em>(示例在onreadyscript.aspx)。[fixed] -这个手工添加onReady函数能够在每次页面回发时都注册脚本(包括Ajax局部回发),这就避免了手工去做的麻烦(已经在网报<em>中</em>遇到这种情况)。 -每个页面必须添加<em>一个</em>PageManager控件,否则会出错,同时去除DesignTimeStyle控件(作为PageManager的<em>属性</em>出现)。[fixed] -TextField等表单字段增加Readonly<em>属性</em>。[fixed] +全新设计的IFrame的架构(尽可能和基于MasterPage的架构保持兼容,和Asp.net Ajax保持兼容)。[fixed] -最大的好处是可以减少页面下载完毕后Javascript渲染时间(可以节约一般的渲染时间)。(所有示例在iframe文件夹下) +示例1,通过点击按钮弹出IFrame窗口,可直接关闭父页面,也可在关闭后刷新或回发父页面。(default.aspx/page2.aspx/simple<em>form</em>.aspx) -虽然IFrame和Master两种架构差异迥然,或许你以为需要修改一堆代码来完成这种转换,起初我也是这么认为的,但是现在你所要做的仅仅是为Window控件增加<em>一个</em><em>属性</em>(Target="_parent"),就完成了两种框架的转换,是不是很酷。 -显然,控件本身封装了大量的代码,简单来看现在有三个页面(default.aspx(A)/page2.aspx(B)/simple<em>form</em>.aspx(C)),其<em>中</em>A包含B页面,当你在B<em>中</em>打开包含有页面C的窗口时,窗口不是在B<em>中</em>打开,而是在A<em>中</em>打开,这样才能保证窗口覆盖整个页面,当你从C<em>中</em>返回需要回发页面B时,却发现取得的是A页面,因为我们窗口是在A页面<em>中</em>创建的。我会通过一篇文章来揭示这一过程,敬请期待。 -示例2,Grid<em>中</em>弹出窗口。(default.aspx/page3.aspx/simple<em>form</em>.aspx) +示例3,TriggerBox弹出窗口。(default.aspx/triggerbox.aspx/simple<em>form</em>.aspx) -在整个页面弹出窗口或者在当前页面弹出窗口,仅仅设置Window的Target<em>属性</em>即可。 -示例4,弹出窗口<em>中</em>的弹出窗口。 -对整个Examples更新测试。[fixed] +2008-07-31 v0.3 beta12 -IE下TabStrip在Ajax回发后不会去掉x-hide-display样式,导致Tab显示为空的BUG。[fixed] -对TabStrip/Panel/Window<em>中</em>的IFrame重新设计,如果设置IFrameUrl="#"或者"about:blank",则不渲染iframe到页面节点,同时第二次打开Window<em>中</em>的IFrame不会有残影出现。[fixed] -如果TabStrip的Tab不是激活Tab并且设置了IFrameUrl,则会延迟加载(示例在tabstrip_iframe.aspx)。[fixed] -Tree控件,点击<em>一个</em>节点自动回发,则当前点击的那个节点的选<em>中</em>状态不会保持的BUG [feedback:zgjiang2]。[fixed] +规范关闭窗口时提示用户保存已经修改的内容提示的调用方式(包含iframe<em>中</em>关闭按钮和window右上角关闭图标的调用方式)(示例在grid_iframe.aspx/simple<em>form</em>.aspx)。[fixed] -内部实现上,点击“保存并关闭按钮”,可以将关闭窗口的脚本更早的执行(在simple<em>form</em>.aspx,PageContext.RegisterStartupScript增加重载函数),而不是原来的先创建整个页面UI,再关闭窗口。 -参照Yslow的评分规则,将JS文件引用由head移动到body<em>中</em>。[fixed] -Firefox下,如果页面太长会出滚动条,原来在ViewPort样式<em>中</em>有body{overflow:hidden;}。[fixed] +IFrame内的页面宽度和高度会自动设置(是不是还在为1px/2px的白边而烦恼,现在不用了:-)(示例在iframe_autosize.aspx/simple<em>form</em>.aspx/simple<em>form</em>2.aspx)[fixed] -增加PageManager控件(需要指定AutoSizePanelID,即需要设置宽度和高度为整个页面的宽度和高度的Panel),HideScrollbar<em>属性</em>用于隐藏滚动条(IE/Firefox)。 +2008-07-24 v0.3 beta11 -web.config配置信息<em>中</em>MessageTarget改名为<em>Form</em>MessageTarget,增加<em>Form</em>OffsetRight配置项,用来定义全局表单字段距离右边界的宽度,同时每个表单字段都增加OffsetRight<em>属性</em> [feedback:jima]。[fixed] -Window在回发时设置的Title不起作用的BUG。[fixed] -增加Image控件 [feedback:jima]。[fixed] -Tree控件,如果<em>一个</em>节点不是叶子节点并且没有子节点,则应把它的Expanded设置为false,否则会引起页面死循环回发 [feedback:zgjiang2]。[fixed] -Image增加ToolTipTitle/ToolTipAutoHide两个<em>属性</em>,当提示信息特别长时,可以让用户阅读完毕之后手工关闭提示信息(示例在hyperlink.aspx)。[fixed] -去掉DropDownList控件的Text<em>属性</em>(强制性),可以通过设置SelectedValue来设置选<em>中</em>哪一项 [feedback:xmzhu]。[fixed] -过滤提示消息<em>中</em>的换行符(转换为),否则提示信息可能导致页面渲染错误 [feedback:dcding]。[fixed] +2008-07-23 v0.3 beta10 +完善Tree控件。[fixed] -如何将数据库<em>中</em>的数据绑定到Tree(示例在tree2_bind_database.aspx)。 -ajax加载树节点,放在UpdatePanel<em>中</em>才有ajax的效果(示例在tree2_ajax.aspx)。 -更改TreeNode的ID为NodeId,否则两个树<em>中</em>不能有相同ID的TreeNode,这是不合理的。 -Grid的GridColumn的ID改名成ColumnId,否则同<em>一个</em>页面放置两个Grid,它们的GridColumn的ID不能同名,这是不合理的。注意需要更新以前的代码![fixed] -Grid所有类型的列增加DataTooltipField/DataTooltip<em>Form</em>atString两个字段,以显示ToolTip(示例在grid.aspx)。[fixed] +2008-07-22 v0.3 beta9 +IE6下,左侧导航链接的选<em>中</em>样式,以及鼠标移上去和移开的样式不对。[fixed] -发现原来ie6不能正确解析li的高度,必须手工设置才行(style="height:20px;")。 +IE6/IE7下,模拟树的下拉列表如果文字长度太长,则显示的文字会换行,导致错位。[fixed] -虽然最后未能解决##差旅交通费在IE和Firefox下显示的不同效果。 -但是通过用来代替,从而实现FF和IE下样式的统一。 -刚看到old9的解决方案:把“差旅交通费”改成“差旅交通费”,在IE下和FF下的都不换行,:-) -Link<em>Button</em>增加On<em>Click</em><em>事件</em> [feedback:huihuang]。[fixed] -Window通过设置IFrameUrl和Popup不起作用的BUG。[feedback:xmzhu]。[fixed] +增加树控件(Tree)(示例在tree2.aspx)。[fixed] -可以在回发时维持树的状态(选<em>中</em>行,折叠/展开,CheckBox)。 -可以通过Inline的方式添加树节点,也可以绑定到XmlDocument/XmlDataSource/SiteMap。 -点击树节点可以链接到页面,也可以引发PostBack<em>事件</em>,可以添加自定义脚本。 +2008-07-16 v0.3 beta8 +ContentPanel<em>中</em>放置ExtAspNet控件,则渲染时会出现各种<em>问题</em>,比如下拉列表显示样式出错,Grid没了滚动条等等。[fixed] -隐蔽性非常强,原来在ContentPanel<em>中</em>渲染ExtAspNet控件,如果容器的display='none',则会出现各种<em>问题</em>(主要是大小不对)。 必须设置容器为visibility='hidden',然后在渲染完成后显示容器。 -现在Grid只要显示的设置高度和宽度,或者隐式的设定宽度高度(通过Anchor或Fit布局实现),只要超过Grid容器就会显示滚动条。 +IE6下,在应用Asp.NetAjax后,<em>Form</em><em>中</em>字段的宽度渲染不正确。[fixed] -调试相当困难,如果你有过在IE下通过alert发现<em>问题</em>的经历,你就能明白。 -最后发现IE6下应用Asp.NetAjax后不仅<em>Form</em><em>中</em>列的宽度设置不正确,而且主内容区域的宽度设置也不正确,不过最终我们还是顽强的修复了IE6下的这个BUG: 在MasterPage的onReady函数<em>中</em>,首先修正内容区域的宽度(region3.setWidth(pageLayout1.getSize().width - region2.getSize().width - 5);region3.doLayout();),然后修正页面<em>中</em>所有表单的宽度(box_fix<em>Form</em>WidthInIE6();): 示例在 Site.Master 页面。 +集成的AspNetAjax有<em>一个</em>很大的BUG,只要你在页面上进行过ajax操作,当<em>改变</em>窗口大小时你会惊讶的发现内容区域的内容全部为空了![fixed] -解决方法相当怪异,经过<em>一个</em>下午的不断尝试,终于用<em>一个</em>怪异的方法解决(box.{0}.setSize(box.{0}.getSize());box.{0}.doLayout();), 这样的代码让我想起刷新窗口时那个方法(window.location.href=window.location.href;),不管怎么说,我对能很好的解决这个重大的BUG很是欣喜。 +2008-07-14 v0.3 beta6 -增加FlashObject控件。[fixed] -PageLoading增加<em>Enable</em>FadeOut<em>属性</em>(默认false),可以启用淡出效果。[fixed] -Accordion选<em>中</em>样式微调。[fixed] -预加载<em>Form</em>表单出错时提示信息的背景图片。[fixed] +Grid增加<em>Enable</em>DelayRender<em>属性</em>(默认false),可以加快页面的渲染速度(<em>一个</em>典型的20个记录的页面,可提前0.7s-1s显示出来)。[fixed] -因为延迟加载数据不会<em>改变</em>Grid的大小,所以对于非布局内或不设定高度宽度的Grid,需要设置"<em>Enable</em>DelayRender=false"。 -<em>改变</em>Grid<em>中</em>静态的CheckBoxField图片。[fixed] -TabStrip增加TabIndexChanged<em>事件</em>,同时Tab增加<em>Enable</em>PostBack,可以在点击<em>一个</em>Tab时引起回发<em>事件</em>。这在延迟加载Tab的内容非常有用。(示例在tabstrip.aspx)[fixed] +2008-07-12 v0.3 beta5 -页面菜单Toolbar的分割符和背景不相融合。[fixed] -表单字段之间可以比较大小,比如NumberBox可以和Label比较大小,同时增加CompareType,来指定比较的类型(示例在<em>form</em>_compare.aspx)。[fixed] -如果是同种类型的表单字段,不需要指定CompareType,比如两个NumberBox比较值的大小不需要指定CompareType,而<em>一个</em>NumberBox和TextBox比较大小需要指定CompareType。 +如果在编辑页面使用AspNetAjax,则不能在回发时关闭当前窗口[feedback:huihuang](示例在ajax_editor_main.aspx/ajax_editor.aspx)。[fixed] -这是由于ajax后执行的javascript<em>中</em>不能有return false语句。 +在文本框失去焦点时,执行一些Javascript脚本(示例在textbox_blur.aspx) [feedback:xmzhu]。[fixed] -在页面添加onReady函数(会被系统调用),然后用javascript监视文本框值的<em>改变</em>。 -弹出Window默认显示的错误页面,解决方法在当前目录添加<em>一个</em>空的html页面,然后把Window控件的IFrameUrl指向这个页面而不是"#"。[fixed] +弹出的窗口<em>中</em>的弹出窗口的如果内容发生变化,则点击右上角的关闭按钮时会有提示用户先保存的对话框,但是这个对话框的被第二个弹出窗口覆盖了 [feedback:xmzhu]。[fixed] -原来的调用方法太麻烦(见示例<em>中</em>alert\alert_1.aspx和alert\alert_2.aspx,总计 6 行代码),现在只需要 3 行代码就OK了。 -点击提交按钮后变成灰色不可再次点击(示例在<em>button</em>_<em>click</em>_gray.aspx)[feedback:jima]。[fixed] +增加Menu、MenuText、MenuSeparator、Menu<em>Button</em>、MenuHyperLink控件,用于按钮的下拉菜单(示例在<em>button</em>_menu.aspx)。[fixed] -增加Split<em>Button</em>控件。[fixed] +2008-07-09 v0.3 beta4 -DataPicker默认的日期格式为(yyyy-MM-dd)。[fixed] +<em>Form</em>表单字段(TextBox,DropDownList...)之间可以比较大小 [feedback:huihuang]。[fixed] -增加ControlToCompare/ValueToCompare/CompareOperator/CompareMessage四个<em>属性</em>,示例在<em>form</em>_compare.aspx。 +TabStrip<em>中</em>放置IFrame会出现渲染错误 (示例在tabstrip_iframe.aspx)[feedback:jima]。[fixed] -特殊处理,拥有IFrame的Tab如果不是激活Tab,则不设置Url,只有在激活时才设置Url。 -Radio<em>Button</em>List增加AutoPostBack<em>属性</em>(示例在radio.aspx) [feedback:xmzhu]。[fixed] -<em>Form</em>Row可以设置各列的宽度百分比 (示例在<em>form</em>_columnwidths.aspx)[feedback:jima]。[fixed] +表单字段<em>Enable</em>=false时显示颜色太浅 [feedback:jima]。[fixed] -覆盖缺省样式的.x-item-disabled,设置不透明。 +2008-07-08 v0.3 beta3 -Grid没有数据,向后翻页按钮可以点击的BUG [feedback:huihuang]。[fixed] +增加HiddenField控件。[fixed] -其实用TextBox也能模拟HiddenField的行为,只需要设置CssStyle="display:none;"即可。 +TriggerBox 如果 <em>Enable</em>TextBox = true,则不能将Text回发(这是html的限制)。[fixed] -最后的解决方案居然是设置 readonly=true,同时更改<em>属性</em>为 Readonly(示例在textbox2.aspx)。 -模拟树的下拉列表在失去焦点后显示的文字不对的BUG。[fixed] +控制下拉列表某些项不可以选择(示例在dropdownlist2.aspx)。[fixed] -增加 Data<em>Enable</em>SelectField <em>属性</em>,不可选择的项变灰,并且鼠标经过时没有样式。 -Link<em>Button</em>和Grid的Link<em>Button</em>Field增加<em>Enable</em><em>属性</em>(示例在hyperlink.aspx和grid.aspx)。[fixed] +2008-07-07 v0.3 beta2 +增加UpdatePanelConnector控件,支持在布局构建的页面使用Asp.net Ajax。[fixed] -使用UpdatePanelConnector有<em>一个</em>要求:ContentTemplate下只能有<em>一个</em>子节点,比如box:Panel。 -示例在ajax3.aspx/content_page4.aspx。 -示例content_page3.aspx<em>中</em>,点击“Ajax查询”按钮和关闭弹出的窗口(点击右上角的叉)都引发异步更新。 +2008-07-03 v0.3 beta1 +容器控件的AutoHeight/AutoWidth默认为false。[fixed] -使用GroupPanel的地方需要手工添加AutoHeight="true"<em>属性</em>。 +增加UserControlConnector,可以在其<em>中</em>放置用户控件(示例在page_usercontrol.aspx)。[fixed] -也可以在ContentPanel<em>中</em>放置用户控件,注意两者的区别。 +增加ContentPlaceHolderConnector,替换原来Region的ContentPlaceHolderId<em>属性</em>(示例在Site.master)。[fixed] +支持Asp.net ajax异步加载。[fixed] -有很大局限性,只能在ContentPanel<em><em>中</em>使</em>用,示例在ajax1.aspx/content_ajax2.aspx<em>中</em>。 -对于使用布局构建的页面(比如content_page1.aspx)还不能使用Asp.net ajax,因为页面是整体渲染的,先放弃。 +2008-07-02 v0.2 beta12 +关闭前提示当前页面已经被修改(示例在content_page1.aspx/simple<em>form</em>.aspx)[fixed] -支持Iframe内按钮和window右上角关闭按钮。 -删除CloseAction<em>属性</em>,可以在后台通过OnClientClose<em>Button</em><em>Click</em><em>属性</em>指定(为了和iframe<em>中</em>做法一致)。 +iframe<em>中</em>的alert/confirm要覆盖整个父页面,而不仅仅是iframe页面。[fixed] -在Firefox下还有<em>问题</em>。[fix pending] +排序时在标题栏显示排序箭头,可以排序的列标题光标为手形(示例在grid_sorting.aspx)。[fixed] -可以通过设置Grid1.CurrentSortColumnIndex = 0;来强制某列显示排序箭头。 -可以通过 Grid1.Columns[Grid1.CurrentSortColumnIndex].SortExpression 的方式取得当前Grid的排序表达式。 +HyperLinkField/WindowField的链接地址支持服务器端格式(即是~/alert.aspx)。[fixed] -TabStrip的Tab<em>中</em>如果放置ContentPanel,则内容渲染位置不正确。[fixed] -可以在ContentPanel<em>中</em>放置用户控件(示例在page_usercontrol.aspx)。[fixed] +2008-06-30 v0.2 beta11 -增加TwinTriggerBox控件(示例在twintriggerbox.aspx)。[fixed] -Grid的数据库分页需要增加<em>属性</em>IsDatabasePaging=true,以便普通分页和数据库分页,否则在添加删除记录时总记录数不会变化 [feedback:zgjiang2]。[fixed] -关闭Window时PostBack<em>事件</em>OnClose可以指定参数,来区分是哪些操作引发的PostBack<em>事件</em> [feedback:zgjiang2](示例在window_postback.aspx)。[fixed] -如果表单验证不通过,则需要弹出对话框提示(第<em>一个</em>没通过验证的字段)(目前还不能切换到相应的tab)。[fixed] +页面<em>中</em>任意可输入表单字段发生变化,可提示先保存。(示例在content_page1.aspx/simple<em>form</em>.aspx)[fixed] -目前还不支持Window右上角关闭按钮的提示保存功能。 -Master/Content的内容页<em>中</em>Grid的Sort<em>事件</em>不起作用的BUG [feedback:zgjiang2]。[fixed] -Grid<em>中</em>的Link<em>Button</em>Field设置ConfirmText会出错 [feedback:huihuang]。[fixed] -增加静态类Confirm。[fixed] +2008-06-27 v0.2 beta10 +Grid完善。[fixed] -CheckBoxField在回发时不能保持状态的BUG (已经更新了grid_checkboxfield.aspx示例)。 -Grid<em>中</em>模拟树显示,GridColumn增加DataSimulateTreeLevelField<em>属性</em>(<em>一个</em>Grid只能有<em>一个</em>Column指定此<em>属性</em>),指定此列模拟树显示时的层次字段(0,1,2,...)(示例在grid_simulate_tree.aspx)。 -切换分页时清空选<em>中</em>的值 [feedback:jqpeng]。 -增加PreRowDataBound<em>事件</em>,可以在数据绑定之前设置某列的<em>属性</em> [feedback:xmzhu] (示例在grid_prerowdatabound.aspx)。 -DropDownList模拟树的方式显示,增加DataSimulateTreeLevelField<em>属性</em>,使用方法和Grid的类似(示例在dropdownlist_simulate_tree.aspx)。 +2008-06-25 v0.2 beta9 +Window窗体<em>中</em>的</a></div><div data-report-view="{"mod":"popu_645","index":"3","dest":"https://download.csdn.net/download/tianzhu131/1785804","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" class="list-item" data-v-ca2d15ac><div class="recommend-title" data-v-ca2d15ac><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAltJREFUWEdjZGBgYGhv/yD45//nEEYGBrX//xj4QWK0AoxMDB//MzDcYmHkXVNZKfCeEWz5v8/1DP8ZuGhlKVZzGRm+sTDxNjI2tz1OZfjHYEpXy2GWMTGcZmxpe9xN62DH5TlQdDA2tzyeNSC+h1o66gCyQyApUdRNSIhNGBSS7979ejtv/utd5EQl2Q7IypT0ExJiFoc44O/LadOfbxp1wPAOAWlpdr5Pn//8/Pzp70+QT3GlAX5+ZnYeHhb2p09/fiImRIhOhBYWvIo21ryWu/Z8PHDp4tdn2BxgoM8l4+IiYH/k6OdjJ058vk91B7g487swMDD8v3Hj+2VJSTYpfn5mEZAlHz/9ffPq5e+Xqqoc2iD+nr0f99DSAQQ9RhMHcHAwsYSGCtvKy7Gr4HPBo0c/b69c/fbwzx///hJ0KQMDA9FpAGaYizO/tpkZjwUTEyMTsgX//v3/d/LUl+N79368RozFMDUkOwCkUUODU8zHW9CFg4OJG8T/8ePf181b3u25efPHK1IsB6nF6gAjY25ZEWFWcNPs169/fw4c+HQD3WBBIRaOsBAhZ5D4qjXv9r5/9+cHuhoHBz4NNjYmFpD4m7e/P547+/UxuhqsDoiPE3WWlWVXgvju/5ee3qfLsfmMiZmBEST+7y/Df2zyJcXSkRwcjDwgucePf95buOj1Xqo6gFBwDw8H/P/P8O/nz//fCPkWmzw7OyMXIyMDOLeQHQXkWIxNz9BygJubgI6kBCu4tUMt8PzF75e7dn24QlQuoJalxJgzCDomA901G/DOKSieBrJ7DgCPdYFAskV/NwAAAABJRU5ErkJggg==" alt data-v-ca2d15ac> <a target="_blank" href="https://download.csdn.net/download/tianzhu131/1785804" data-report-click="{"mod":"popu_645","index":"3","dest":"https://download.csdn.net/download/tianzhu131/1785804","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="title" data-v-ca2d15ac>API精灵源码(C#编)</a></div> <a target="_blank" href="https://download.csdn.net/download/tianzhu131/1785804" data-report-click="{"mod":"popu_645","index":"3","dest":"https://download.csdn.net/download/tianzhu131/1785804","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="desc" data-v-ca2d15ac>/* API精灵 FOR C# 开始设计日期 2004.03.06 设计目的:简单快速对C#<em><em>中</em>使</em>用的API函数进行查询,并给出调用代码 设计进度: 2004.03.09 完成对的查询功能,包括 代码调用,<em>中</em>文注释,所需的DLL库,与C#<em>中</em>函数对应关系 2004.03.10 0:48:52 完成了用StringBuilder数组对原ComboBox的替换,可以使程序不用从新读取数据库就可以刷新修改后的信息! 2004.03.10 18:00:00 完成了用ArrayList对StringBuilder数组的替换节省2M内存 2004.03.11 21:10:15 完成滚动字幕的设置,启用了<em>一个</em><em>TIMER</em>控件,然后设置时间,删除字符串的第<em>一个</em>字母已达到滚动效果! 2004.03.11 22:02:00 改正更新时出现空值出错<em>问题</em>,新填函数isnull 2004.03.12 13:22:08 完成关键字高亮显示 高亮显示函数 mykeywords 2004.03.12 22:08:20 加强了高亮显示函数 mykeywords的功能,使其能识别不同的关键字并显示不同的颜色 2004.03.14 01:40:00 完成对CONST的查询,并且增加了 mykeywords1函数,使其关键字显示性能提高 2004.03.14 13:12:00 添加了提示信息,提示信息设置在函数 mytips() <em>中</em> 2004.03.15 21:51:20 更改数据库和WINAPI.TXT路径为程序运行路径 2004.03.15 22:31:50 添加了鼠标右键信息 2004.03.15 23.23:30 添加了数据库密码 2004.03.16 23:24:30 添加了版权信息以及相应提示 */ using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.<em>Form</em>s; using System.Data; using System.Data.OleDb; using System.Runtime.InteropServices; using System.IO; namespace API精灵 { /// /// <em>Form</em>1 的摘要说明。 /// 这个版本没有使用oleDbDataAdapter+DataSet对数据进行存取,而是使用的OleDbCommand +OleDbDataReader 的形式。 /// 主要是想试验一下不用oleDbDataAdapter+DataSet的数据存取速度。 /// public class <em>Form</em>1 : System.Windows.<em>Form</em>s.<em>Form</em> { private System.Windows.<em>Form</em>s.<em>Button</em> <em>button</em>1; private System.Windows.<em>Form</em>s.GroupBox groupBox1; private System.Windows.<em>Form</em>s.GroupBox groupBox2; private System.Windows.<em>Form</em>s.GroupBox groupBox3; private System.Windows.<em>Form</em>s.<em>Button</em> <em>button</em>4; private System.Windows.<em>Form</em>s.TextBox mysearch; private System.Windows.<em>Form</em>s.ListBox tiplist; private System.Windows.<em>Form</em>s.ComboBox select_type; private System.Windows.<em>Form</em>s.TextBox dlltext; /// /// 必需的设计器变量。 /// //自定义变量 private ArrayList fundll = new ArrayList();//保存读取出来的DLL内容 private ArrayList funtips = new ArrayList();//保存读取出来的<em>中</em>文提示信息 private ArrayList funcode = new ArrayList();//保存读取出来的C#调用代码 private ArrayList funmat = new ArrayList();//保存读取出来的C#对应函数 private ArrayList funwin9x = new ArrayList();//保存读取出来的WIN9X private ArrayList funwin2k = new ArrayList();//保存读取出来的WIN2K private int nowselect = 0; private string oldscoll_text; private int nowtypeselect = 0; private string nowpath = @System.Environment.CurrentDirectory+@"\"; private string dbpassword = "ling_feng_work"; public string myConnstr; public OleDbConnection myconn ;//创建<em>一个</em>新连接 private string mysql ;//查询语句 private string sql_update; private System.Windows.<em>Form</em>s.RichTextBox tipsmemo; private System.Windows.<em>Form</em>s.TextBox mat_text; private OleDbCommand mycommand = new OleDbCommand(); private System.Windows.<em>Form</em>s.RichTextBox codememo; private System.Windows.<em>Form</em>s.GroupBox groupBox4; private System.Windows.<em>Form</em>s.CheckBox win9x; private System.Windows.<em>Form</em>s.GroupBox groupBox5; private System.Windows.<em>Form</em>s.CheckBox win2k; private System.Windows.<em>Form</em>s.CheckBox e_add; private System.Windows.<em>Form</em>s.CheckBox e_modify; private System.Windows.<em>Form</em>s.<em>Button</em> b_modify; private System.Windows.<em>Form</em>s.<em>Button</em> b_add; private System.Windows.<em>Form</em>s.<em>Timer</em> <em>timer</em>1; private System.Windows.<em>Form</em>s.ToolTip toolTip1; private System.Windows.<em>Form</em>s.ContextMenu mypop; private System.Windows.<em>Form</em>s.MenuItem menuItem1; private System.ComponentModel.IContainer components; public <em>Form</em>1() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(<em>Form</em>1)); this.<em>button</em>1 = new System.Windows.<em>Form</em>s.<em>Button</em>(); this.groupBox1 = new System.Windows.<em>Form</em>s.GroupBox(); this.tiplist = new System.Windows.<em>Form</em>s.ListBox(); this.select_type = new System.Windows.<em>Form</em>s.ComboBox(); this.mat_text = new System.Windows.<em>Form</em>s.TextBox(); this.mysearch = new System.Windows.<em>Form</em>s.TextBox(); this.dlltext = new System.Windows.<em>Form</em>s.TextBox(); this.groupBox2 = new System.Windows.<em>Form</em>s.GroupBox(); this.tipsmemo = new System.Windows.<em>Form</em>s.RichTextBox(); this.mypop = new System.Windows.<em>Form</em>s.ContextMenu(); this.menuItem1 = new System.Windows.<em>Form</em>s.MenuItem(); this.groupBox3 = new System.Windows.<em>Form</em>s.GroupBox(); this.codememo = new System.Windows.<em>Form</em>s.RichTextBox(); this.b_modify = new System.Windows.<em>Form</em>s.<em>Button</em>(); this.b_add = new System.Windows.<em>Form</em>s.<em>Button</em>(); this.<em>button</em>4 = new System.Windows.<em>Form</em>s.<em>Button</em>(); this.groupBox4 = new System.Windows.<em>Form</em>s.GroupBox(); this.win2k = new System.Windows.<em>Form</em>s.CheckBox(); this.win9x = new System.Windows.<em>Form</em>s.CheckBox(); this.groupBox5 = new System.Windows.<em>Form</em>s.GroupBox(); this.e_add = new System.Windows.<em>Form</em>s.CheckBox(); this.e_modify = new System.Windows.<em>Form</em>s.CheckBox(); this.<em>timer</em>1 = new System.Windows.<em>Form</em>s.<em>Timer</em>(this.components); this.toolTip1 = new System.Windows.<em>Form</em>s.ToolTip(this.components); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); this.SuspendLayout(); // // <em>button</em>1 // this.<em>button</em>1.FlatStyle = System.Windows.<em>Form</em>s.FlatStyle.Flat; this.<em>button</em>1.Location = new System.Drawing.Point(224, 395); this.<em>button</em>1.Name = "<em>button</em>1"; this.<em>button</em>1.Size = new System.Drawing.Size(75, 24); this.<em>button</em>1.TabIndex = 10; this.<em>button</em>1.Text = "关 于"; this.<em>button</em>1.<em>Click</em> += new System.EventHandler(this.<em>button</em>1_<em>Click</em>); // // groupBox1 // this.groupBox1.Controls.Add(this.tiplist); this.groupBox1.Controls.Add(this.select_type); this.groupBox1.Controls.Add(this.mat_text); this.groupBox1.Controls.Add(this.mysearch); this.groupBox1.Controls.Add(this.dlltext); this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(200, 168); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "API查询"; // // tiplist // this.tiplist.BorderStyle = System.Windows.<em>Form</em>s.BorderStyle.FixedSingle; this.tiplist.ItemHeight = 12; this.tiplist.Location = new System.Drawing.Point(8, 43); this.tiplist.Name = "tiplist"; this.tiplist.Size = new System.Drawing.Size(184, 110); this.tiplist.TabIndex = 1; this.tiplist.Visible = false; this.tiplist.KeyDown += new System.Windows.<em>Form</em>s.KeyEventHandler(this.tiplist_KeyDown); this.tiplist.KeyPress += new System.Windows.<em>Form</em>s.KeyPressEventHandler(this.tiplist_KeyPress); this.tiplist.Double<em>Click</em> += new System.EventHandler(this.tiplist_Double<em>Click</em>); this.tiplist.MouseUp += new System.Windows.<em>Form</em>s.MouseEventHandler(this.tiplist_MouseUp); this.tiplist.MouseLeave += new System.EventHandler(this.tiplist_MouseLeave); this.tiplist.SelectedIndexChanged += new System.EventHandler(this.tiplist_SelectedIndexChanged); // // select_type // this.select_type.DropDownStyle = System.Windows.<em>Form</em>s.ComboBoxStyle.DropDownList; this.select_type.Items.AddRange(new object[] { "API函数查询", "常量定义查询"}); this.select_type.Location = new System.Drawing.Point(8, 61); this.select_type.Name = "select_type"; this.select_type.Size = new System.Drawing.Size(184, 20); this.select_type.TabIndex = 2; this.select_type.SelectedIndexChanged += new System.EventHandler(this.select_type_SelectedIndexChanged); // // mat_text // this.mat_text.BorderStyle = System.Windows.<em>Form</em>s.BorderStyle.FixedSingle; this.mat_text.Location = new System.Drawing.Point(8, 134); this.mat_text.Name = "mat_text"; this.mat_text.Size = new System.Drawing.Size(184, 21); this.mat_text.TabIndex = 4; this.mat_text.Text = "C#对应函数:"; this.mat_text.MouseDown += new System.Windows.<em>Form</em>s.MouseEventHandler(this.mat_text_MouseDown); // // mysearch // this.mysearch.BorderStyle = System.Windows.<em>Form</em>s.BorderStyle.FixedSingle; this.mysearch.Location = new System.Drawing.Point(8, 24); this.mysearch.Name = "mysearch"; this.mysearch.Size = new System.Drawing.Size(184, 21); this.mysearch.TabIndex = 0; this.mysearch.Text = ""; this.mysearch.KeyDown += new System.Windows.<em>Form</em>s.KeyEventHandler(this.mysearch_KeyDown); this.mysearch.MouseDown += new System.Windows.<em>Form</em>s.MouseEventHandler(this.mysearch_MouseDown); this.mysearch.TextChanged += new System.EventHandler(this.mysearch_TextChanged); // // dlltext // this.dlltext.BorderStyle = System.Windows.<em>Form</em>s.BorderStyle.FixedSingle; this.dlltext.Location = new System.Drawing.Point(8, 97); this.dlltext.Name = "dlltext"; this.dlltext.Size = new System.Drawing.Size(184, 21); this.dlltext.TabIndex = 3; this.dlltext.Text = ""; this.dlltext.TextChanged += new System.EventHandler(this.dlltext_TextChanged); // // groupBox2 // this.groupBox2.Controls.Add(this.tipsmemo); this.groupBox2.Location = new System.Drawing.Point(216, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(200, 168); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "函数注释"; // // tipsmemo // this.tipsmemo.BorderStyle = System.Windows.<em>Form</em>s.BorderStyle.FixedSingle; this.tipsmemo.ContextMenu = this.mypop; this.tipsmemo.Location = new System.Drawing.Point(8, 16); this.tipsmemo.Name = "tipsmemo"; this.tipsmemo.Size = new System.Drawing.Size(184, 144); this.tipsmemo.TabIndex = 0; this.tipsmemo.Text = ""; this.tipsmemo.MouseEnter += new System.EventHandler(this.richTextBox1_MouseEnter); // // mypop // this.mypop.MenuItems.AddRange(new System.Windows.<em>Form</em>s.MenuItem[] { this.menuItem1}); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "复制信息"; this.menuItem1.<em>Click</em> += new System.EventHandler(this.menuItem1_<em>Click</em>); // // groupBox3 // this.groupBox3.Controls.Add(this.codememo); this.groupBox3.Location = new System.Drawing.Point(8, 221); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(408, 168); this.groupBox3.TabIndex = 3; this.groupBox3.TabStop = false; this.groupBox3.Text = "代码调用"; // // codememo // this.codememo.ContextMenu = this.mypop; this.codememo.Location = new System.Drawing.Point(8, 16); this.codememo.Name = "codememo"; this.codememo.Size = new System.Drawing.Size(392, 144); this.codememo.TabIndex = 0; this.codememo.Text = ""; this.codememo.TextChanged += new System.EventHandler(this.codememo_TextChanged); // // b_modify // this.b_modify.<em>Enable</em>d = false; this.b_modify.FlatStyle = System.Windows.<em>Form</em>s.FlatStyle.Flat; this.b_modify.Location = new System.Drawing.Point(120, 395); this.b_modify.Name = "b_modify"; this.b_modify.Size = new System.Drawing.Size(75, 24); this.b_modify.TabIndex = 4; this.b_modify.Text = "修改信息"; this.b_modify.<em>Click</em> += new System.EventHandler(this.<em>button</em>2_<em>Click</em>); // // b_add // this.b_add.<em>Enable</em>d = false; this.b_add.FlatStyle = System.Windows.<em>Form</em>s.FlatStyle.Flat; this.b_add.Location = new System.Drawing.Point(16, 395); this.b_add.Name = "b_add"; this.b_add.Size = new System.Drawing.Size(75, 24); this.b_add.TabIndex = 5; this.b_add.Text = "添加新项"; // // <em>button</em>4 // this.<em>button</em>4.FlatStyle = System.Windows.<em>Form</em>s.FlatStyle.Flat; this.<em>button</em>4.Location = new System.Drawing.Point(328, 395); this.<em>button</em>4.Name = "<em>button</em>4"; this.<em>button</em>4.Size = new System.Drawing.Size(75, 24); this.<em>button</em>4.TabIndex = 6; this.<em>button</em>4.Text = "退 出"; this.<em>button</em>4.<em>Click</em> += new System.EventHandler(this.<em>button</em>4_<em>Click</em>); // // groupBox4 // this.groupBox4.Controls.Add(this.win2k); this.groupBox4.Controls.Add(this.win9x); this.groupBox4.Location = new System.Drawing.Point(8, 176); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(200, 40); this.groupBox4.TabIndex = 11; this.groupBox4.TabStop = false; // // win2k // this.win2k.Location = new System.Drawing.Point(104, 11); this.win2k.Name = "win2k"; this.win2k.Size = new System.Drawing.Size(80, 24); this.win2k.TabIndex = 1; this.win2k.Text = "支持win2k"; // // win9x // this.win9x.Location = new System.Drawing.Point(16, 11); this.win9x.Name = "win9x"; this.win9x.TabIndex = 0; this.win9x.Text = "支持win9x"; // // groupBox5 // this.groupBox5.Controls.Add(this.e_add); this.groupBox5.Controls.Add(this.e_modify); this.groupBox5.Location = new System.Drawing.Point(216, 176); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(200, 40); this.groupBox5.TabIndex = 12; this.groupBox5.TabStop = false; // // e_add // this.e_add.Location = new System.Drawing.Point(112, 10); this.e_add.Name = "e_add"; this.e_add.Size = new System.Drawing.Size(80, 24); this.e_add.TabIndex = 5; this.e_add.Text = "允许添加"; this.e_add.CheckedChanged += new System.EventHandler(this.e_add_CheckedChanged); // // e_modify // this.e_modify.Location = new System.Drawing.Point(16, 10); this.e_modify.Name = "e_modify"; this.e_modify.Size = new System.Drawing.Size(76, 24); this.e_modify.TabIndex = 4; this.e_modify.Text = "允许修改"; this.e_modify.CheckedChanged += new System.EventHandler(this.e_modify_CheckedChanged); // // <em>timer</em>1 // this.<em>timer</em>1.Interval = 500; this.<em>timer</em>1.Tick += new System.EventHandler(this.<em>timer</em>1_Tick); // // <em>Form</em>1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(424, 429); this.Controls.Add(this.groupBox5); this.Controls.Add(this.groupBox4); this.Controls.Add(this.<em>button</em>4); this.Controls.Add(this.b_add); this.Controls.Add(this.b_modify); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox1); this.Controls.Add(this.<em>button</em>1); this.Controls.Add(this.groupBox2); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "<em>Form</em>1"; this.StartPosition = System.Windows.<em>Form</em>s.<em>Form</em>StartPosition.CenterScreen; this.Text = "API精灵FOR C#"; this.Load += new System.EventHandler(this.<em>Form</em>1_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.ResumeLayout(false); } #endregion /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { Application.Run(new <em>Form</em>1()); } [DllImport("user32.dll", EntryPoint="ShowWindow")] public static extern int ShowWindow ( int hwnd, int nCmdShow ); private void <em>button</em>1_<em>Click</em>(object sender, System.EventArgs e) { About<em>Form</em> myabout = new About<em>Form</em>(); myabout.ShowDialog(); } /// /// 填写mysearch<em>中</em>的内容。 /// private void search_comp() { if (tiplist.SelectedIndex>-1) mysearch.Text = tiplist.SelectedItem.ToString(); tiplist.Visible = false ; mysearch.Select(); } /// /// 自动填写提示内容。 /// private void autocomp() { if (tiplist.SelectedIndex>-1) try { if (this.nowtypeselect==0) //================查询函数 { this.nowselect = tiplist.SelectedIndex; dlltext.Text = fundll[tiplist.SelectedIndex].ToString();//else tipsmemo.Text = funtips[tiplist.SelectedIndex].ToString(); codememo.Text = funcode[tiplist.SelectedIndex].ToString(); mat_text.Text = funmat[tiplist.SelectedIndex].ToString(); this.oldscoll_text = mat_text.Text; if (funwin9x[tiplist.SelectedIndex].ToString()==("Yes")) win9x.Checked=true; else win9x.Checked=false; if (funwin2k[tiplist.SelectedIndex].ToString()==("Yes")) win2k.Checked=true; else win2k.Checked=false; //滚动文字 if (mat_text.TextLength>30) <em>timer</em>1.<em>Enable</em>d = true; else <em>timer</em>1.<em>Enable</em>d = false; } else { dlltext.Text = ""; tipsmemo.Text = ""; codememo.Text = ""; win9x.Checked = false; win2k.Checked = false; } //******************** if (this.nowtypeselect==1) { this.nowselect = tiplist.SelectedIndex; codememo.Text = funcode[tiplist.SelectedIndex].ToString(); } //******************** //================= } catch { dlltext.Text = "没有找到相应连接库"; tipsmemo.Text = "没有找到相应提示"; codememo.Text = "没有找到相应调用代码"; mat_text.Text = "没有找到相应C#函数"; } } // /// /// 手动释放一些内存。 /// private void mydisp() { tipsmemo.Clear(); codememo.Clear(); tiplist.Items.Clear(); // ===== fundll.Clear();//保存读取出来的DLL内容 funtips.Clear();//保存读取出来的<em>中</em>文提示信息 funcode.Clear();//保存读取出来的C#调用代码 funmat.Clear();//保存读取出来的C#对应函数 funwin9x.Clear();//保存读取出来的WIN9X funwin2k.Clear();//保存读取出来的WIN2K } private void mysearch_TextChanged(object sender, System.EventArgs e) { tiplist.Visible = true ; //自动完成功能。 tiplist.SelectedIndex = (tiplist.FindString(mysearch.Text,-1)) ;//加上这句,保证TIPLIST跟着自动变化 nowselect = tiplist.SelectedIndex; autocomp(); //设置提示信息 mytips(); } private void mysearch_KeyDown(object sender, System.Windows.<em>Form</em>s.KeyEventArgs e) { if ((e.KeyCode == Keys.Down) || (e.KeyCode == Keys.Up)) tiplist.Focus(); if (e.KeyCode == Keys.Enter) { search_comp(); if (this.nowtypeselect==0) mykeyword(); if (this.nowtypeselect==1) mykeyword1(); } if (e.KeyCode == Keys.Escape) { tiplist.Visible = false ; } } private void tiplist_MouseLeave(object sender, System.EventArgs e) { } private void tiplist_KeyPress(object sender, System.Windows.<em>Form</em>s.KeyPressEventArgs e) { } private void tiplist_KeyDown(object sender, System.Windows.<em>Form</em>s.KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { this.search_comp(); if (this.nowtypeselect==0) mykeyword(); else mykeyword1(); } if (e.KeyCode == Keys.Escape) { tiplist.Visible = false ; } } private void tiplist_Double<em>Click</em>(object sender, System.EventArgs e) { this.search_comp(); if (this.nowtypeselect==0) mykeyword(); else mykeyword1(); } private void <em>Form</em>1_Load(object sender, System.EventArgs e) { //初始化数据库 initdatabase(); //MessageBox.Show(this,"欢迎使用 共享版\n 本版对使用功能上略有限制\n 且不提供数据库更新!\n 如想获得更多信息请与我联系。\n dong_teng@tom.com","提示",MessageBox<em>Button</em>s.OK,MessageBoxIcon.In<em>form</em>ation); select_type.SelectedIndex = 0; About<em>Form</em> myabout = new About<em>Form</em>(); myabout.ShowDialog(); } // private void mytips() { //设置提示信息 if ((this.nowselect>-1)&(this.nowtypeselect==0)) { toolTip1.SetToolTip(this.dlltext,"所在动态连接库: "+this.fundll[this.nowselect].ToString()); toolTip1.SetToolTip(this.mat_text,"在C#<em>中</em>对应的函数: "+this.funmat[this.nowselect].ToString()); toolTip1.SetToolTip(this.codememo,"函数 "+this.tiplist.SelectedItem.ToString()+" 在C#<em>中</em>的调用代码,可以手动修改"); toolTip1.SetToolTip(this.tipsmemo,"函数 "+this.tiplist.SelectedItem.ToString()+" 的注释信息,可以手动修改"); } else if ((this.nowselect>-1)&(this.nowtypeselect==1)) { toolTip1.SetToolTip(this.codememo,"常量 "+this.tiplist.SelectedItem.ToString()+" 在C#<em>中</em>的调用代码"); toolTip1.SetToolTip(this.dlltext,"没有相关信息"); toolTip1.SetToolTip(this.mat_text,"没有相关信息"); toolTip1.SetToolTip(this.tipsmemo,"没有相关信息"); } } // private void initdatabase() { string dbpath = @nowpath+"winapi.mdb"; tiplist.Items.Clear(); //@"Provider=Microsoft.Jet.OleDB.4.0;Data Source="+dbpath+";User Id=admin;Password="+this.dbpassword ; //"Provider=Microsoft.Jet.OleDB.4.0;Data Source=your mdb filename;Jet OLEDB:Database Password='pass'" ; this.myConnstr = @"Provider=Microsoft.Jet.OleDB.4.0;Data Source="+dbpath+";User Id=admin;Jet OLEDB:Database Password="+this.dbpassword ; this.myconn= new OleDbConnection(myConnstr); mysql= @"select Fun_name,Fun_dll,Fun_tips,Fun_code,Fun_com,win9x,win2k from winapi"; using(myconn) { myconn.Open(); // if (myconn.State.ToString() == "Open") MessageBox.Show("打开成功!"); //数据处理 // OleDbCommand mycommand = new OleDbCommand(mysql,myconn); mycommand.CommandText = mysql; mycommand.Connection = myconn; OleDbDataReader myreader = mycommand.ExecuteReader(); int i=0; while (myreader.Read()) { tiplist.Items.Add(myreader["Fun_name"]); fundll.Add(myreader["fun_dll"].ToString()); funtips.Add(myreader["fun_tips"].ToString()); funcode.Add(myreader["fun_code"].ToString()); funmat.Add(myreader["fun_com"].ToString()); funwin9x.Add(myreader["win9x"].ToString()); funwin2k.Add(myreader["win2k"].ToString()); i++; } myconn.Close(); myreader.Close(); } } //更新缓存 private void memo_update() { fundll[nowselect] = dlltext.Text; funtips[nowselect] = this.tipsmemo.Text; funcode[nowselect] = this.codememo.Text; funmat[nowselect] = this.mat_text.Text; if (win9x.Checked) funwin9x[nowselect]="Yes" ;else funwin9x[nowselect]="No"; if (win2k.Checked) funwin2k[nowselect]="Yes" ;else funwin2k[nowselect]="No"; } // private void oleDbConnection1_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e) { } //==============从WINAPI.TXT读取CONST并拆分 private void mysplip() { //string dbpath = @System.Environment.CurrentDirectory+@"\winapi.mdb"; string filename =@nowpath +"winapi.txt"; string nextline; tiplist.Items.Clear(); StreamReader sr = new StreamReader(filename); while ((nextline = sr.ReadLine())!=null) { if (nextline.StartsWith("public const")) { string[] ss = nextline.Split('='); tiplist.Items.Add(ss[0].Substring(16).Trim()); funcode.Add(nextline); } } sr.Close(); } //============================== private void select_type_SelectedIndexChanged(object sender, System.EventArgs e) { if (select_type.SelectedIndex != this.nowtypeselect) { this.mydisp(); switch (select_type.SelectedIndex) { case 0:initdatabase();this.nowtypeselect=select_type.SelectedIndex;break; case 1:mysplip();this.nowtypeselect=select_type.SelectedIndex;this.dlltext.Clear();this.mat_text.Clear();break; } is<em>enable</em>(this.nowtypeselect); } } private void dlltext_TextChanged(object sender, System.EventArgs e) { } private void richTextBox1_MouseEnter(object sender, System.EventArgs e) { tiplist.Visible = false ; } private void mysearch_MouseDown(object sender, System.Windows.<em>Form</em>s.MouseEventArgs e) { tiplist.Visible = false ; mysearch.Focus(); } private void tiplist_SelectedIndexChanged(object sender, System.EventArgs e) { autocomp(); } /// /// 修改内容。 /// private void fun_update() { using(myconn) { myconn.ConnectionString = myConnstr; myconn.Open(); try { //if (myconn.State.ToString() == "Open") MessageBox.Show("打开成功!"); isnull();//判断是否有无效值 string str_win9x,str_win2k; if (win9x.Checked) str_win9x = "Yes" ; else str_win9x = "No"; if (win2k.Checked) str_win2k = "Yes" ; else str_win2k = "No"; sql_update = "update winapi set Fun_dll = '"+dlltext.Text+"'"+" , Fun_tips = '"+tipsmemo.Text+"'"+" , Fun_code = '"+codememo.Text+"'"+" , Fun_com ='"+mat_text.Text+"' "; sql_update +=" , win9x = '" + str_win9x +"' " + ", win2k = '" + str_win2k+"' "; sql_update +=" where Fun_name ='"+ mysearch.Text+"'"; mycommand.Connection = myconn; mycommand.CommandText = sql_update; mycommand.ExecuteNonQuery(); myconn.Close(); memo_update(); MessageBox.Show(this,"恭喜!更新成功!","提示",MessageBox<em>Button</em>s.OK,MessageBoxIcon.In<em>form</em>ation); } catch { // tipsmemo.Text = sql_update; MessageBox.Show("没有找到相应记录,更新失败!"); } } } //判断是更新的部分是否有效(不能为空) private void isnull() { if (this.mat_text.Text=="") this.mat_text.Text="没有相关信息"; if (this.codememo.Text=="") this.codememo.Text="没有相关信息"; if (this.tipsmemo.Text=="") this.tipsmemo.Text="没有相关信息"; if (this.dlltext.Text=="") this.dlltext.Text="没有相关信息"; } //关键字高亮显示 private void mykeyword() { string[] keywords = new string[5]; keywords[0]=mysearch.Text; keywords[1]="string"; keywords[2]="ref"; keywords[3]="int"; keywords[4]="static extern"; for(int i=0;i0) { index++; switch(i) { case 0: codememo.SelectionColor = Color.Red;break; case 1: codememo.SelectionColor = Color.Green;break; case 2: codememo.SelectionColor = Color.Brown;break; case 3: codememo.SelectionColor = Color.Blue;break; case 4: codememo.SelectionColor = Color.Green;break; //default:codememo.SelectionColor = Color.Blue;break; } } } } // //CONST<em>中</em>关键字高亮显示 private void mykeyword1() { string[] keywords = new string[5]; keywords[0]=mysearch.Text; keywords[1]="="; keywords[2]="0"; keywords[3]="int"; keywords[4]="const"; for(int i=0;i0) { index++; switch(i) { case 0: codememo.SelectionColor = Color.Red;break; case 1: codememo.SelectionColor = Color.Blue;break; case 2: codememo.SelectionColor = Color.Green;break; case 3: codememo.SelectionColor = Color.Blue;break; case 4: codememo.SelectionColor = Color.Green;break; //default:codememo.SelectionColor = Color.Blue;break; } if (index>codememo.TextLength) break; } } } // private void <em>button</em>2_<em>Click</em>(object sender, System.EventArgs e) { this.fun_update(); } private void is<em>enable</em>(int i_temp) { if (i_temp==0) { win9x.<em>Enable</em>d=true; win2k.<em>Enable</em>d=true; e_modify.<em>Enable</em>d=true; e_add.<em>Enable</em>d=true; b_modify.<em>Enable</em>d=true; b_add.<em>Enable</em>d=true; } else { win9x.<em>Enable</em>d=false; win2k.<em>Enable</em>d=false; e_modify.<em>Enable</em>d=false; e_add.<em>Enable</em>d=false; b_modify.<em>Enable</em>d=false; b_add.<em>Enable</em>d=false; } } private void <em>button</em>4_<em>Click</em>(object sender, System.EventArgs e) { Application.Exit(); } private void e_modify_CheckedChanged(object sender, System.EventArgs e) { if (e_modify.Checked) b_modify.<em>Enable</em>d = true; else b_modify.<em>Enable</em>d = false; } private void e_add_CheckedChanged(object sender, System.EventArgs e) { if (e_add.Checked) b_add.<em>Enable</em>d = true; else b_add.<em>Enable</em>d = false; } private void <em>timer</em>1_Tick(object sender, System.EventArgs e) { if (this.mat_text.TextLength>0) mat_text.Text = mat_text.Text.Remove(0,1); else mat_text.Text = oldscoll_text; } private void mat_text_MouseDown(object sender, System.Windows.<em>Form</em>s.MouseEventArgs e) { <em>timer</em>1.<em>Enable</em>d = false ; mat_text.Text = oldscoll_text; } private void codememo_TextChanged(object sender, System.EventArgs e) { } private void tiplist_MouseUp(object sender, System.Windows.<em>Form</em>s.MouseEventArgs e) { } private void menuItem1_<em>Click</em>(object sender, System.EventArgs e) { Control ct = this.ActiveControl; string temp = ct.Text; Clipboard.SetDataObject(temp); } private void menuItem2_<em>Click</em>(object sender, System.EventArgs e) { } } }</a></div><div data-report-view="{"mod":"popu_645","index":"4","dest":"https://download.csdn.net/download/weixin_43568216/10889912","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" class="list-item" data-v-ca2d15ac><div class="recommend-title" data-v-ca2d15ac><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAltJREFUWEdjZGBgYGhv/yD45//nEEYGBrX//xj4QWK0AoxMDB//MzDcYmHkXVNZKfCeEWz5v8/1DP8ZuGhlKVZzGRm+sTDxNjI2tz1OZfjHYEpXy2GWMTGcZmxpe9xN62DH5TlQdDA2tzyeNSC+h1o66gCyQyApUdRNSIhNGBSS7979ejtv/utd5EQl2Q7IypT0ExJiFoc44O/LadOfbxp1wPAOAWlpdr5Pn//8/Pzp70+QT3GlAX5+ZnYeHhb2p09/fiImRIhOhBYWvIo21ryWu/Z8PHDp4tdn2BxgoM8l4+IiYH/k6OdjJ058vk91B7g487swMDD8v3Hj+2VJSTYpfn5mEZAlHz/9ffPq5e+Xqqoc2iD+nr0f99DSAQQ9RhMHcHAwsYSGCtvKy7Gr4HPBo0c/b69c/fbwzx///hJ0KQMDA9FpAGaYizO/tpkZjwUTEyMTsgX//v3/d/LUl+N79368RozFMDUkOwCkUUODU8zHW9CFg4OJG8T/8ePf181b3u25efPHK1IsB6nF6gAjY25ZEWFWcNPs169/fw4c+HQD3WBBIRaOsBAhZ5D4qjXv9r5/9+cHuhoHBz4NNjYmFpD4m7e/P547+/UxuhqsDoiPE3WWlWVXgvju/5ee3qfLsfmMiZmBEST+7y/Df2zyJcXSkRwcjDwgucePf95buOj1Xqo6gFBwDw8H/P/P8O/nz//fCPkWmzw7OyMXIyMDOLeQHQXkWIxNz9BygJubgI6kBCu4tUMt8PzF75e7dn24QlQuoJalxJgzCDomA901G/DOKSieBrJ7DgCPdYFAskV/NwAAAABJRU5ErkJggg==" alt data-v-ca2d15ac> <a target="_blank" href="https://download.csdn.net/download/weixin_43568216/10889912" data-report-click="{"mod":"popu_645","index":"4","dest":"https://download.csdn.net/download/weixin_43568216/10889912","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="title" data-v-ca2d15ac>CE<em>中</em>文版-启点CE过NP<em>中</em>文.exe</a></div> <a target="_blank" href="https://download.csdn.net/download/weixin_43568216/10889912" data-report-click="{"mod":"popu_645","index":"4","dest":"https://download.csdn.net/download/weixin_43568216/10889912","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="desc" data-v-ca2d15ac>启点CE过NP<em>中</em>文December 24 2018:Cheat Engine 6.8.2 Released: Here's a new version for the hollidays. Mainly minor improvements and some small bugfixes, but also a new 'ultimap like' feature called Code Filter for which you don't need any special hardware for. (Just an extensive list of addresses) Download: Cheat Engine 6.8.2 Fixes: Disassembler: Several disassembler instructions had a comma too many or too few ,fixed those Disassembler: Fixed the description for ret # Disassembler/Debug: Fixed the address that is being edited when a breakpoint hits while editing an instruction Assembler: Fixed assembling reg*2/4/8+unquotedsymbol Plugin: Fixed the SDK for C plugins that use the disassembler callback Hotkeys: Fixed the attach to foreground hotkey Memory Scan: Fixed the percentage scan Memory Scan: Fixed a rare situation that could cause an error Memory Scan: Simple values now works with groupscan Memory Scan Lua: Scanfiles now also get deleted if the memory scan object is freed before the scan is fully done Fill Memory: Now allows 64-bit addresses Structure Dissect: Fixed the popupmenu "change type" so it now affects all selected entries instead of just the first PointerOrPointee window: Fix the debug pointer or pointee window <em>button</em> text when using access instead of writes GUI: Fixed and restored the DPI Aware option in setting GUI: Some DPI fixes/adjustments here and there Graphical Memory view: Fixed DPI issues Symbolhandler: When the symbolhandler now waits till it's done, it won't wait for the structures to be parsed anymore Additions and Changes: Lua Engine: Added autocomplete DLL injection: On DLL injection failure CE tries to fall back on forced injection methods Assembler: Added multibyte NOP Plugins: Plugins can now have side dll's that are statically linked in their own folder (Windows 7 with updates and later) Debugging: Improved the FPU window editing when single stepping, allowing you to change the FPU registers Debugging: Threadview now updates when single stepping and cnanges made there will affect the currently debugged thread (before it didn't) Debugging: Added Code Filter. This lets you filter out code based on if it has been executed or not (Uses software breakpoints) Debugging: Added an option to chose if you wish to break on unexpected breakpoints, and if CE should break on unexpected breakpoints, or only on specified regions (like AA scripts) Disassembler: The comments now show multiple parameters Pointerscan: Add option to allow negative offset scanning Pointerscan: Add extra types to the display Advanced Options/CodeList: Now uses symbolnames Tutorial Game: Added a levelskip option when you've solved a step Tutorial Game: Added a secondary test Compare memory: Added a limit to the number of address values shown per row (can be changed) Address List: When the option to deactivate children is set, the children will get deactivated first Memory Scan: Add a lua script in autorun that lets you specify which module to scan Lua: ExecuteCodeEx(Let's you execute code in the target and pass parameters) Added 2 new parameters to getNameFromAddress (ModuleNames and Symbols) Added addModule and deleteModule to the symbollist class Added the ModuleLoader class which can force load dll's Fixed endUpdate for the listview Thanks go out to SER[G]ANT for updating the russion translation files already June 23 2018:Cheat Engine 6.8.1 Released: Apparently 6.8 contained a couple of annoying bugs, so here's an update that should hopefully resolve most issues. Also a few new features that can come handy Download: Cheat Engine 6.8.1 Fixes: Fixed several issues with the structure compare Fixed the commonality scanner from picking up unrelated registers for comparison Fixed speedhack hotkeys Fixed ultimap 1 Fixed a bunch of random access violations Fixed Lua dissectCode.getStringReferences now also returns the string Fixed Lua breakpoints that specify a specific function Fixed Lua toAddress when the 2nd parameter is an address Fixed assembling xmm,m32 Fixed issue when disassembling AVX instructions Fixed right<em>click</em>ing r8-r9 in the registers window Fixed the plugin system for DBVM Fixed DBVM memory allocations when smaller than 4KB Additions and changes: Added translation strings for the all type settings You can now drop files into the auto assembler auto assembler commands allocnx (allocate no execute) and allocxo (allocate execute only) The memoryview windows's hexadecimalview now shows the allocationbase as well, and can be double<em>click</em>ed to go there Added support for mono dll's that do not export g_free Changed "make page writable" to multiple options Improved DBVM speed slightly Lua: added RemoteThread class object June 8 2018:Cheat Engine 6.8 Released: Cheat Engine 6.8 has been released. Lots of new features like structure compare, AVX disassembling support, lua functions, etc... Download: If you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker or by e-mail. And if you have questions, don't hesitate to ask them in the forum Fixes: Fixed some more high dpi issues Fixed issues with the dropdown list in memory records Fixed pointer offset symbols not calculating properly Fixed registered binutils Fixed graphical issues with the tablist Fixed issue where memory blocks would get cut of before the page end Fixed some memory leaks Fixed some graphical issues in the addresslist Fixed right<em>click</em> on r8 and r9 in memoryview Fixed disassembling some instructions Fixed DBVM so it works on windows 1709 and later (tested on 1803) Fixed several DBVM offload crashes Fixed freeze with allow increase/decrease for 8 byte long values Fixed several issues where minimizing a window and then close it would hang CE Fixed file scanning Fixed crashes when editing memory in some some emulators Additions and changes: Text editor improvements Added hundreds of new cpu instructions Mono now has some new features like instancing of objects Mono instances window is now a treeview where you can see the fields and values "find what addresses this code accesses" can also be used on RET instructions now (useful to find callers) The graphical memory view now has a lot more options to set it just the way you need Codepage support in hexview structure data from PDB files can now be used, and are stored in a database for lookup later dissect structures <em>form</em> can now show a list of known structures (pdb, mono, ...) Added a "revert to saved scan" option (lets you undo changes) Added a "forgot scan" option (in case you forgot what you're doing) Pointerscan limit nodes is default on in a new ce install (remembers your choice when you disable it) Autoattach now happens using a thread instead of a gui blocking <em>timer</em> Some colorscheme enhancements Added a DBVM based "Find what writes/accesses" feature. (For pro users, <em>enable</em> kernelmode options for it to show) Changed the dissect data setup from seperate yes/no/value dialogs to a single window Added a bypass option for ultimap2 on windows 1709. When using ranges, do not use interrupts, or use DBVM Added find what writes/access to the foundlist Autoassembler scriptblocks are now grouped when written to memory Added {$try}/{$except} to auto assembler scripts Added an extra tutorial/practice target Added cut/copy/paste context menu items to pointer offset fields in add/change address, and added a context menu to the pointer destination Added an automated structure compare for two groups of addresses to find ways to distinguish between them lua: added automatic garbage collection and settings to configure it added new functions: gc_setPassive gc_setActive reinitializeSelfSymbolhandler registerStructureAndElementListCallback showSelectionList changed the getWindowlist output Main<em>Form</em>.OnProcessOpened (better use this instead of onOpenProcess) enumStructure<em>Form</em>s cpuid getHotkeyHandlerThread bunch of dbvm_ functions (needs dbvm capable cpu, and intel only atm) and more, including class methods and fields (read celua.txt) Minor patches: 06/08/2018: 6.8.0.4 - Fixed speedhack hotkey speed asignments and some commonalityscanner issues 06/09/2018: 6.8.0.5 - Fixed only when down speedhack option 06/10/2018: 6.8.0.6 - Fixed ultimap1 - Fixed ultimap2 on some systems - Fixed <em>enable</em>DRM() from crashing - Fixed one disassembler instruction Russian translation has been updated November 13 2017:Can't run Cheat Engine There is apparently some malware going around that blocks execution of Cheat Engine (Saying file missing, check filename, etc...) If you have been a victim of this then try this windows repair tool to fix your windows install: Download Repair Tool November 9 2017:Spanish(Latin) translation added Manuel Ibacache M. from Chile has provided us with spanish(Latin) translation files for Cheat Engine. They can be downloaded from the download section where you can find the other translation files, or right here June 7 2017:Cheat Engine 6.7 Released: Cheat Engine 6.7 has been released. New lua functions, GUI improvements, codepage scanning, several bugfixes and more(See below). Download: Cheat Engine 6.7 If you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail. And if you have questions, don't hesitate to ask them in the forum , irc Fixes: Fixed some DPI issues at some spots Fixed the "Not" scan for ALL "simple values" now also applies to the All type Fixed not adding the 0-terminator to strings when the option was set to add it Fixed ultimap hotkeys Fixed ultimap2 filtering Changing pointers in the change address dialog won't set/override global memrec and address anymore (local now) Fixed show as signed not working for custom types Fixed several issues with the structure spider Fixed 64-bit registers in the tracer getting truncated on double<em>click</em>, and fix r8 to r15 Fixed copy/paste in the scanvalue Fixed kernelmode QueryMemoryRegions for windows build 1607 Fixed some disassembler errors Fixed lua command fullAccess Fixed text to speech if launched from a different thread Fixed <em>click</em>ing on checkboxes when the dpi is different Fixed the found code dialog count size Fixed mono freezing Cheat Engine when it crashes/freezes Additions and changes: Changed the processlist and added an Applications view similar to the taskmanager Small change to the tutorial first step wording Structure Dissect: Added RLE compression (by mgr.inz.player) and other things to improve filesize Structure Dissect: If setting a name, it will also be shown in the header The symbolhandler can now deal with complex pointer notations Added support for single-ToPA systems for ultimap2 Added some more spots where the history will be remebered in memoryview Memoryrecords with auto assembler scripts can now execute their code asynchronous (right<em>click</em> and set "Execute asynchronous") Kernelmode memory reading/writing is safer now Added an option to filter out readable paths in the pointerscan rescan Added "codePage" support Added font/display options to several places in CE Added a search/replace to the script editors You can now delete addresses and reset the count from "Find what addresses this code accesses" Added a statusbar to the hexview in memoryview Pointerscan for value scans now add the results to the overflow queue Opening a file and changing bytes do not change them to the file anymore (you need to explicitly save now) Added an option to the processlist to filter out system processes Added a system to let users sign their tables so you know you can trust their tables. Memory record dropdown lists can now reference those of others. USe as entry text: (memoryrecorddescription) Added an option to notify users of new versions of Cheat Engine lua: Custom Types can now be referenced from Lua Auto assembler lua sections now have access to "memrec" which is the memory record they get executed from. Can be nil stringToMD5String now support strings with a 0 byte in them autoAssemble() now also returns a disableInfo object as 2nd parameter. You can use this to disable a script added Action and Value properties to MemoryRecordHotkey objects added screenToClient and clientToScreen for Control objects added readSmallInteger and writeSmallInteger added <em>enable</em>DRM() added openFileAsProcess/saveOpenedFile added saveCurrentStateAsDesign for CE<em>Form</em> objects added disableWithoutExecute and disableAllWithoutExecute added OnCustomDraw* events to the listview added being/endUpdate for the Strings class added SQL support added color overrides to the disassembler text added OnPaint to the CustomControl class added autoAssembleCheck to syntax check an AA script fixed the addresslist returning nil for PopupMenu (while popupMenu did work) added an timeout option for pipes added some graphical options added some low level system functions Russian translation has been updated Chinese translation has been updated May 15 2017:Korean language files Thanks to Petrus Kim there are now Korean language files for Cheat Engine. You can get them here Just extract it to the language folder in the Cheat Engine installation folder and you'll be able to use it April 13 2017:Cheat Engine for Macintosh download For the Mac users under us there is now a mac version available for download. It's based on Cheat engine 6.2 but I will be upgrading it to 6.6 and later based on the feedback I get. Tip:if you have trouble opening processes: Reboot your Mac and hold CMD+R during boot to enter the recovery console. There open the terminal (using the top menu) and enter "csrutil disable" . Then reboot and you'll be able to open most processes (Youtube video by NewAgeSoldier in case it's not clear) October 6 2016:Cheat Engine 6.6 Released: Cheat Engine 6.6 has been released. It has several fixes, new scan functionality, gui changes/improvements, Ultimap 2, better hotkeys, more programming options, and more(See below). Download: Cheat Engine 6.6 If you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail. And if you have questions, don't hesitate to ask them in the forum or irc Fixes: Fixed saving of hotkey sounds Fixed the CF flag in the disassembler stepping mode Fixed Kernelmode VirtualQueryEx for Windows 10 build 14393 Fixed DBVM for Windows 10 build 14393 Fixed the shortest assembler instruction picking for some instructions Fixed a few bugs in the break and trace routine when you'd stop it while the thread still had a single step set Fixed several ansi to UTF8 incompatbilities that poped up between 6.5 and 6.5.1 Fixed the stackview not properly setting the color, and giving an error when trying to change a color Fixed the exe generator not adding both .sys files or the .sig files when using kernel functions Fixed some places of the disassembler where it helps guessing if something is a float or not When using the code finder, it won't show the previous instruction anymore if it's on a REP MOVS* instruction Fixed an issue when editing memoryrecords with strings, where wordwrap would add newline characters Fixed D3D alpha channel for textures and fontmaps Fixed the helpfile not being searchable The installer will now mark the CE destination folder as accessible by APPS. (fixes speedhack for some APPS) Fixed the <em>form</em> designed crashing is resized 'wrong' Additions and changes: Ultimap 2 for Intel CPU's of generation 6 and later (no DBVM needed for those) Language select if you have multiple language files for CE Memoryrecord pointer offsets can use calculations, symbols and lua code now While stepping in the debugger you can now easily change the EIP/RIP register by pressing ctrl+f4 changed the way CE is brought to front when a hotkey is pressed Made the GUI more adaptive to different fontsizes and DPI Several font and minor GUI changes Added DPIAware and a font override to the settings window. (DPI aware is on by default, but can be turned of if experiencing issues) Added option to <em>enable</em> pause by default Disassembling mega jumps/calls now show the code in one line The standalone auto assembler window will now give an option to go to the first allocated memory address Changed the point where the settings are loaded in CE's startup sequence The <em>form</em>designer now allows copy and paste of multiple objects, and uses text Added scrollbox and radiogroup to the <em>form</em>designer Added Middle, MB4 and MB5 as allowable hotkeys Added controller keys as hotkeys Single stepping now shows an indication if an condition jump will be taken Added a watchlist to the debugger Added the 'align' assembler pseudo command (allocates memory so the next line is aligned on a block of the required size) Added the 'Not' option for scans, which causes all addresses that match the given entry as invalid Changed the Unicode text to UTF-16. Text scans are now UTF8/UTF16 (no codepage) Hexview can now show and edit values in 3 different textencodings. (Ascii, UTF-8 and UTF-16) Rescan pointerscans on pointerscans that where done on a range can now change the offset lua: speak(): Text to speech hookWndProc: a function that lets you hook the windows message handler of a window registerEXETrainerFeature: Lets you add extra files to the exe trainer file packer getFileVersion(): A function to get version in<em>form</em>ation from a file mouse_event() : Lets you send mouse events to windows. (move, <em>click</em>, etc...) loadFontFromStream() : Lets you load a font from a memory stream. (Useful for trainers that use a custom font) added several thread synchronization objects control class: added bringToFront and sendToBack lua changes: dbk_writesIgnoreWriteProtection() now also disables virtualprotectex calls from CE loadTable() can now also load from a Stream object. the addresslist has some Color properties published for better customization the LUA server has had some new commands added so hooked code can do more efficient calls. (LUAClient dll has been updated to use them in a basic way) Russian translation has been updated French tutorial only translation has been updated as well 10/10/2016:6.6.0.1: Fixed align May 19 2016:Cheat Engine 6.5.1 Released: 6.5.1 has been released. It's mainly a bugfix version to replace 6.5 which had a few minor bugs that needed solving. Download: Cheat Engine 6.5.1 Fixes: Fixed increased value by/decreased value by for float values Fixed disassembling/assembling some instructions (64-bit) Fixed the autoassembler tokenizing wrong words Fixed several bugs related to the structure dissect window (mainly shown when autodestroy was on) Fixed a small saving issue Groupscans now deal with alignment issues better Fixed java support for 32-bit Additions and changes: Signed with a sha256 signature as well (for OS'es that support it) Changed Ultimap to use an official way to get the perfmon interrupt instead of IDT hooking (less BSOD on win10 and 8) Individual hotkeys can now play sounds Now compiled with fpc 3.0/lazarus 1.6 (Previously 2.7/1.1) You can now search in the string list PEInfo now has a copy to clipboard Some places can now deal better with mistakes Lazarus .LFM files can now be loaded and saved lua: Fixed several incompatibilities between lua that popped up in 6.5 (due to the lua 5.1 to 5.3 change) Fixed the OnSelectionChange callback property in the memoryview object MemoryRecords now have an Collapsed property Added TCanResizeEvent to the splitter Fixed setBreakpoint not setting a proper trigger if not provided Fixed executeCode* parameter passing Fixed several memory leaks where unregistering hooks/addons didn't free the internal call object Some tableFile additions Fixed registerAssemble assembler commands Added kernelmode alloc and (un)mapping functionality Added an easy way to add auto assembler templates Added window related functions including sendMessage Added Xbox360 controller support functions Added more thread functions Post release fixes: Dealt with several gui issues like the main<em>form</em> to front on modal dialogs, header resizing stuck with the cursor, treeview item selection/deletion being weird, etc... Added a disconnect to the client in pointerscans Fixed pointerscan issue with 32-bit aligned pointers in a 64-bit process Fixed a deadlock in threads when lua custom types where used Post release fixes: Dealt with several gui issues like the main<em>form</em> to front on modal dialogs, header resizing stuck with the cursor, treeview item selection/deletion being weird, etc... Added a disconnect to the client in pointerscans fixed pointerscan issue with 32-bit aligned pointers in a 64-bit process Fixed a deadlock in threads when lua custom types where used Fixed pointerscan resume 6/1/2016: (major bugfix) properly fixed resume of pointerscans and alignment fix December 31 2015:Cheat Engine 6.5 Released: I'd like to announce the release of Cheat Engine 6.5 If you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail. And if you have questions, don't hesitate to ask them in the forum or irc Fixes: Fixed page exception breakpoints from not working Fixed the save as <em>button</em> in the lua script assigned to the table Fixed the dotnetdatacollector from not fetching parent fields Fixed disassembling of some instructions Fixed assembling some instructions Fixed assembling instructions that referenced address 80000000 to ffffffff in 64-bit targets Fixed dealing with unexpected breakpoints Fixed several issues with the network scanner. (symbols, scanspeed, threads, etc...) Fixed "going to" 64-bit registers. Fixed pointerstrings for 64-bit Fixed the addressparser in memview's hexview not handing static 64-bit addresses Fixed r8 and r9 looking broken in the memoryview window Fixed hotkeys that set a value as hexadecimal and the value is smaller than 0x10 Fixed multiline string editing for memory records Fixed dragging cheat tables into CE Fixed VEH debug for 'Modern' apps Fixed several translation issues lua: fixed getStructureCount, writeRegionToFile, readRegionFromFile, readInteger, ListColum.GetCount fixed memoryleak in MemoryStream Several fixes to DBVM: added support for Windows 10 support for more than 8 cpu's support for newer cpu's fixed issue where calling CPUID right after setting the TF flag wouldn't trigger a breakpoint after it Additions and changes: Array of Byte's can now deal with nibble's. (e.g: 9* *0 90 is now a valid input- and scanstring) The auto assembler can now deal with some mistakes like forgetting to declare a label Added support to use binutils as assembler and disassembler, and a special scripting language for it Added support for 64-bit mono, and script support for cases where mono.dll isn't called mono.dll Added an option to get a list of all recently accessed memory regions. This is useful for the pointerscanner The pointerscanner can now use multiple snapshots (pointermaps) to do a scan. This basically lets you do a rescan during the first scan, saving your harddisk Made the pointerscan network scanner a bit easier to use. You can now join and leave a pointerscan session You can now stop pointerscans and resume them at a later time Pointerscan files can get converted to and from sqlite database files The pointerscan configuration window now has an advanced and basic mode display The all type now has a setting that lets you define what under "all" falls Custom types now also have access to the address they're being used on Split up the "(de)activating this (de)activates children" into two seperate options (one for activate, one for deactivate) Added some basic Thumb disassembling The xmplayer has been replaced with mikmod which supports many different module types (in lua you still call it xmplayer) Rightlicking on "your system supports dbvm" will let you manually load DBVM for each cpu. This is usefull if for some reason your system crashes when it's done too quickly In "Find what addresses this instruction accesses" you can now open the structure dissect window of your choice in case there are others. It will also fill in the base address, so no need to recalculate yourself AA command GlobalAlloc now has an optional 3th parameter that lets you specify the prefered region Added an option to record and undo writes. (Off by default, can be <em>enable</em>d in settings. Memview ctrl+z will undo the last edit) Added aobscanregion(name,startaddress,stopaddress,aob) lua: switched from Lua 5.1 to 5.3 debug_setBreakpoint can now take an OnBreakpoint parameter that lets you set a specific function just for that breakpoint added dbk_getPhysicalAddress(int) added dbk_writesIgnoreWriteProtection(bool) added getWindowList() And a bunch of other lua functions. (check out main.lua) Post release fixes (max 7 days after initial release *or 30 if a HUGE bug): 1/6/2016:Fixed structure dissect from crashing when autodestroy is on 1/6/2016:Fixed window position loading on multi monitor systems 1/6/2016:Fixed the lua customtype and 1/6/2016:Several minor gui fixe</a></div><div data-report-view="{"mod":"popu_645","index":"5","dest":"https://download.csdn.net/download/jingcuo/6013689","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" class="list-item" data-v-ca2d15ac><div class="recommend-title" data-v-ca2d15ac><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAltJREFUWEdjZGBgYGhv/yD45//nEEYGBrX//xj4QWK0AoxMDB//MzDcYmHkXVNZKfCeEWz5v8/1DP8ZuGhlKVZzGRm+sTDxNjI2tz1OZfjHYEpXy2GWMTGcZmxpe9xN62DH5TlQdDA2tzyeNSC+h1o66gCyQyApUdRNSIhNGBSS7979ejtv/utd5EQl2Q7IypT0ExJiFoc44O/LadOfbxp1wPAOAWlpdr5Pn//8/Pzp70+QT3GlAX5+ZnYeHhb2p09/fiImRIhOhBYWvIo21ryWu/Z8PHDp4tdn2BxgoM8l4+IiYH/k6OdjJ058vk91B7g487swMDD8v3Hj+2VJSTYpfn5mEZAlHz/9ffPq5e+Xqqoc2iD+nr0f99DSAQQ9RhMHcHAwsYSGCtvKy7Gr4HPBo0c/b69c/fbwzx///hJ0KQMDA9FpAGaYizO/tpkZjwUTEyMTsgX//v3/d/LUl+N79368RozFMDUkOwCkUUODU8zHW9CFg4OJG8T/8ePf181b3u25efPHK1IsB6nF6gAjY25ZEWFWcNPs169/fw4c+HQD3WBBIRaOsBAhZ5D4qjXv9r5/9+cHuhoHBz4NNjYmFpD4m7e/P547+/UxuhqsDoiPE3WWlWVXgvju/5ee3qfLsfmMiZmBEST+7y/Df2zyJcXSkRwcjDwgucePf95buOj1Xqo6gFBwDw8H/P/P8O/nz//fCPkWmzw7OyMXIyMDOLeQHQXkWIxNz9BygJubgI6kBCu4tUMt8PzF75e7dn24QlQuoJalxJgzCDomA901G/DOKSieBrJ7DgCPdYFAskV/NwAAAABJRU5ErkJggg==" alt data-v-ca2d15ac> <a target="_blank" href="https://download.csdn.net/download/jingcuo/6013689" data-report-click="{"mod":"popu_645","index":"5","dest":"https://download.csdn.net/download/jingcuo/6013689","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="title" data-v-ca2d15ac>WPTools.v6.29.1.Pro</a></div> <a target="_blank" href="https://download.csdn.net/download/jingcuo/6013689" data-report-click="{"mod":"popu_645","index":"5","dest":"https://download.csdn.net/download/jingcuo/6013689","strategy":"2~default~OPENSEARCH~Rate","extra":"{\"utm_medium\":\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\",\"dist_request_id\":\"1764952878120_93905\"}","spm":"1035.2023.3001.6557"}" data-report-query="spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default" class="desc" data-v-ca2d15ac>******************************************* ************ WPTOOLS 6 History ************ ********** http://www.wpcubed.com ********* **** Copyright (C) 2012 J. Ziersch and **** **** WPCubed GmbH, Munich, Germany ******** ******************************************* * - = bug fix * + = new feature * * = changed, expanded feature ******************************************* * IMPORTANT: Please edit file WPINC.INC to * activate WPREPORTER, WPSPELL, wPDF, TBX * and GraphicEx / PNGImage support! * Delphi 2009 and later as inbuilt PNGImage ******************************************* * THE MANUAL (PDF) AND REFERENCE (HLP,CHM) * ARE PROVIDED AS SEPERATE DOWNLOADS! ******************************************* ~~~~~~~~~~ Important Notes ~~~~~~~~~~~~ - With Delphi XE2 or XE3 it is possible to compile WPTools into a 64 bit applications. You need WPTools 6 PRO or WPTools 6 Premium for this. - Localization and Inch/CM selection see http://www.wpcubed.com/manuals/wp5man/index.html?localization.htm Also see demo\tasks\localization. There are the required XML files. - if flag wpDontAddExternalFontLeading is active in property <em>Form</em>atOptionsEx the text will be <em>form</em>atted more like WPTools4/MS-Word. You can alternatively set global variable WPDoNotAddExternalFontLeading := TRUE and select the Printer WYSIWYG mode: TWPRichText1.HeaderFooter.UpdateRe<em>form</em>atMode(true) - The <em>Form</em>atOption wpDisableAutosizeTables can be required for good display of tables. wpNoMinimumCellPadding for narrow layout, too. - If you plan to use DBWPRichText please check http://www.wpcubed.com/forum/viewtopic.php?p=3456 - The reader/writer receive their options through "<em>Form</em>atStrings" please see list at http://www.wpcubed.com/manuals/<em>form</em>atstrings.htm - WPTools is configured using the file WPINC.INC, here WPREPORTER is activated and the optional WPShared, WPSPell and wPDF can be selected to be compiled into main WPTools package. - also see FAQ: http://www.wpcubed.com/forum/viewforum.php?f=15 - and support forum: http://www.wpcubed.com/forum/ - WPTools 6 PRO and PREMIUM will be compiled as Version 5 if $define "WP6" is not set ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ We recommend to use TMS components to create modern user interfaces, toolbars and ribbons. 19.2.2013 - WPTools 6.29.1 - fix in rtf writing code to solve problem with merged cells - fix possible rangecheck error - fix problem with TextObject.LoadFromFile and Delphi XE3 * RTF reader now handles UNC file links which use "\\" in the path * the cursor was not painted if DoubleBuffered was set to true for the parent of the editor + WPTools Premium: Saves and loads \column * improved theming of TWPToolbar and TWPToolPanel + new event: OnPaintDesktopBackground. It can be used to draw the parent of the editor, for example if it is a TMS panel or pager control. Example: procedure T<em>Form</em>1.WPRichText1PaintDesktopBackground(Sender: TObject; Canvas: TCanvas; R: TRect); begin // This would paint the TWPRichText, too - but TWPRichText is locked for repaint during this event AdvOfficePager1.PaintTo(Canvas, -WPRichText1.Left, -WPRichText1.Top); end; - HighlightTextColor can now also be used if 2Pass Painting is used 21.12.2012 - WPTools 6.29 - images in RTF label were not painted when label was moved + added support for XE3 to WPTools STD edition * stream RTFvariables were not loaded from WPT <em>form</em>at. They are loaded now. 9.11.2012 - WPTools 6.28 - Update to RTF reader to load landscape flag for sections better - when page mirror was used, after a page break the text indentation was sometimes wrong - hyphenation code was broken - workaround for word files which have space characters in table definitions 16.10.2012 - WPTools 6.27'' * some additions to the PRO edition for XE3 26.9.2012 - WPTools 6.27' * The PRO Version now supports Delphi XE3 3.8.2012 - WPTools 6.27 - fix for wrong display of tables with header and footer rows. Sometimes both were painted without any data. + to load old Hiedit templates as RTF code use the <em>form</em>atstring -HiEditFields. This will create merge fields for ALL fields. - NL sign was not shown right after CTRL+ENTER was pressed (requires ShowNL) - fix for rangecheck exception with paintpages array - fix for footer and page mirror - double<em>click</em> word selection now stops at NL - Workaround for Windows Spooler problems - some images would get lost - sections use footer and header of previous section, not general - ASetBorder did change all border types 12.3.2012 - WPTools 6.25.4 * allows changing of column width in redonly editors. Can be switchoed off in EditOptions or set compiler define TOTALREADONLY + wpDisableSelectAll in EditOptionsEx2 * changed re<em>form</em>at/repaint after Undo/Redo - pro and premium: Due to a problem with precompiler cursoir selection did not work correctly 8.3.2012 - WPTools 6.25.3' - borders for paragraphs with multiple lines were not drawn correctly - change in DBWPRich.pas to use LoadFromString instead of Text - fix possible range check error - change in WPTbar.pas to use different default for BevelOuter - change in WPIOHTML to use default charattr of paragraph is a paragraph is empty 9.2.2012 - WPTools 6.25.2 * new 2-pass painting triggers CustomPaint event only on second loop (when the text is painted) * changed protection of empty paragraph to WPTools 5 way + inside of the OnPrepareImageForSaving event it is now possible to set Writer.CurrentImageName to the name of the file which should be saved. This is only useful if ObjRef = nil and so no ObjRef.Filename can be set. + TParagraph.GetSubText now has optional parameter to disable the object reference char codes #1, #2 and #3 * HTML writer ignores #13 codes when writing the text. * additional savety code in HTML writer * HTML reader sets image width and height to contents, (if possible) * HTML reader: changes UTF8 handling for UTF8Sequence=1 * HTML reader does not stop on \0 anymore * HTML writer writes img tag also for empty images IF a name is provided in event PrepareImageforSaving * HTML reader does not add space at end anymore - the UNICODE reader uses attribute of current paragraph. This is important for consistent behaviour between ANSI and UNICODE version - when writing HTML background color is not set to white when shading is 0. 0 is treated as default value. - image align center and right now works in HTML - fix an endless loop when image was too large - improvement of table border drawing - improvement for right align in table cells + numbering will be used when wp<em>Form</em>atAsWebpage was set in AsWebpage 10.1.2012 - WPTools 6.25 + HTML reader reads cell heighs - RTF writer writes background color easier to understand by Word * improved XML reader/writer (unit WPIOXml1) * improved word wise cursor movement when fields are used + new "paint attributes" mode. Use WPRichText1.BrushStart to select this mode. - dashes were not painted using the current font color - some stability improvements 7.11.2011 - WPTools 6.22 + procedure TParagraph.CellSelectionAdd; + procedure CellSelectionRemove; + EditOptionsEx2: wpCellMultiSelect - allows multiselection in tables when CTRL is pressed + improved XML import/export (unit WPIOXML1.PAS) - some smaller bugs fixed 3.11.2011 - WPTools 6.21.2 - fix problem with TWPTool<em>Button</em> - improved HTML writer to write parameters in "" - improved display of arabic text 24.10.2011 - WPTools 6.21.1 - fix problem when painting insertpoints after tab stops. They were painted two times. - fix in XML and HTML writer. Close tags when extracting text from fields 19.10.2011 - WPTools 6.21 + CodeLocate can now also accessed in non-visual TWPRTFDataCollection and not just TWPCustomRtfEdit + CodeSelect can now also accessed in non-visual TWPRTFDataCollection and not just TWPCustomRtfEdit + TWPRTFDataCollection.CodeLocatePair( <em>Form</em>atName : String; var spar, epar : TParagraph; var spos, epos, : Integer ) :Integer; - solves problem with integrated Bin64 decoder + DeleteField now has optional "Contents" parameter to delete a certain field with contents + the text writer now understand the option -softlinebreaks to create a \n at the end of every line. In fact all soft line breaks will be handled like the #10 code. + CodeLoadSaveEmbeddedText - load or save text in fields, bookmarks, hyperlinks + the regular save and load methods (LoadFromFile, SaveToFile) can now access text wrapped by paired objects. specify the fieldname in the <em>form</em>at string, i.e. "f:name=RTF" to save or load the contents of the field "name". + There is an overloaded LoadFromString which expects a WideString as parameter (Delphi 6+) - The Setup named the Delphi 2009 files "Delphi 2005" due to a typo. (Delphi 2005 units are not included anymore) - fix probable range check error in WPRTEDEFS 13.10.2011 - WPTools 6.20 + completely new setup procedure. The PRO and Premium releases don't include object files which makes them much smaller. * compiled new WPTools 6 Reference (CHM file) * Delphi XE2: several small changes to improve theming support * Delphi XE2: several small changes to provide compatibilty to 64bit compiler (requires WPTools PRO) + new demo developed with Delphi XE2, showcases actions, splitscreen, simulated MDI and property dialogs (Demos\XE2\WPWord) + wpDeleteAtEOFRemovesSpaceAfter in EditOptionsEx2 - TextObjectsGetList did not work * WPRuler uses Delphi XE2 VCL Theme plus * added defaults to properties TWPRichText - change in RTF reader to let section inherit the default layout, not the current page layout - fix of problem with table borders when also PageMirror was used. * change to DeleteMarkedChar. It now has additional parameter DeleteEmptyParAndTables : Boolean * change in unit WPWordConv to handle RTF as DOC files if they do not start with "{\rtf" * updated border dialog TWPParagraphBorderDlgEx * updated border drawing code - now supports dotted lines with wider lines. * modified method DeleteColumn * modified WPT reading code to repair table width which were negative + improved image rendering code for transparent (PNG) images. They will be drawn transparently also when scaled and also in high resolution rendering mode. + new code to draw dotted lines which also supports wider lines + new function WPReplaceTokens (unit WPUtils.PAS). It is a ReplaceTokens function to be used on a TWPRTFDataCollection, not TWPRichText - WPPremium - fix problem when there were too columns * MergeText now restores before Merge Cursor position and selection (except for cell selection) * resizing a table column does not move the cursor to the nearby cell anymore * different frame line when resizing columns and rows + InsertColumn now also works if wpAllowSplitOfCombinedCellsOnly was used in EditOptionsEx + new event OnPaintTextFrameRect let you paint background and borders for text frames, i.e. the text body or, with WPTools Premium, custom frames. + WPPREMIUM: In OnMeasureTextPage it is possible to set columns for certain pages. Using PageInfo.colflags=1 it is possible to activate a line between the columns It is also possible to add custom frames using PageInfo.rtfpage.AddFrameRect. + new ViewOptionEx: wpHideParBordersBeforAndAfterPageBreaks + improved paint routine now avoids clipping of characters which were overlapping their bounding box, such as italic letters or "f". The improvement is especially visible when selecting text or using character background colors + WPPREMIUM: it is now possible to print a line between columns using wpShowColumnCenterLine in ViewOptionsEx + With WPTools Premium it is now possible to print a line between certain colums - use par.ASet(WPAT_COLFLAGS, WPCOLUM_LINE); + paragraph styles can now contain border definion for paragraphs + TWPTextObjList now has a IndexOfSource function and a Source[] string array to access the objects * revised code to draw double borders - always draws twou lines on screen even when zoomed * improved saving of numbering attributes with styles * style dialog can now apply number level even if style does not have numbering yet. * revised wpNoEditOutsideTable - was not checked for keyboard input * fix problem with - - - - - at end of line - fix problem with spell-as-you go after hyperlinks - fix problem with page numbers in sections when tables were spanning pages - fix problem with right aligned negative numbers in merge fields * automatic text attribute was not inherited to tables inserted in fields * images with mode "under text " can now be also <em>click</em>ed at positiones where there is no text. - WPLngCtr now defines DONT_OVERRIDE_COM, that fixes the IDE problem with DevExpress Toolbar controls 18.7.2011 - WPTools 6.16.2 * ObjectMode wpobjPositionAtCenter can be used to aligh character based images to the center line. (Other RTF reader will not understand this feature) * some changes to prepare 64bit compatibility (requires WPTools 6 PRO) 7.7.2011 - WPTools 6.16.1 * change to avoid flickering when doing auto scroll * message strings are now loaded from resource strings - modified DBCS support for RTF reader * outerborder action now works for sinle cells and paragraphs 15.6.2011 - WPTools 6.16 + Many improvements to new Border Dialog. It is now possible to apply borders and colors to odd and even rows only. * RTF reader defines symbol IGNORE_AUTOWIDTH_TBL. This disable the Word2010 auto width columns which are not read correctly. Reason: Word 2010 seem to always add an empty column to the end. + using WPRichText1.Caret.Blink:=true it is possible to activate the blinking caret (0.5sec interval). * updated actions to apply inner and outer borders to selected cells * update to ExSymbolDialog, Tab and Table dialog - improved WPTOOLS reader to read and apply outline properties to current outline setting (unless wpLoadDoesNotOverride is used) - wpsec_ResetPageNumber flag is now saved in WPTOOLS <em>form</em>at * tripple <em>click</em> in margin selects paragraph + double <em>click</em> in margin selects current cell + tripple <em>click</em> in margin selects current row - change for PaintEngine and TWPRichTextLabel to not shrink tables which are small enough to fit the page This solves a problem with dissapearing text in WPRichTextLabel - fix selection problem when several images were linked to same paragraph - when moving images the Z order will not be reset - HTML Writer: A style with name "DIV" will be added to the style sheet to save the default font - HTML Writer: BaseFont tag will now be written with font size (requires -writebasefont option) - improved display of character background color for fields and other special code - Saving a style sheet did not work with Unicode Compiler 8.5.2011 - WPTools 6.15 * updated border painting * updated Inner/Outer Border Action * new object sizing routine lets the user make the size larger than the page - update in WPTools reader to overwrite outline styles when loading tzhe same group 9.3.2011 - WPTools 6.14.6 * change in <em>form</em>at routine to fix problem when a nested table cell caused a page break. 14.12.2010 - WPTools 6.14 * fix for SetAsString code (Unicode Delphi) * several fixes and updates in editor * WPTools Premium: $define DONT_AUTOENTER_TEXTBOXES in WPINC.INC to switch of the behavior, that when editing a textbox the user can <em>click</em> on any other and edit that. 22.9.2010 - WPTools 6.13.3 * WPCtrMemo.PAS now defines TEXT_IS_UNICODE fro Delphi 2009 and later. Now the property Text and SelText reads and writes unicode strigs * change in RTF reader to read ANSI characters in the range 128..255 * Tables and rows can now be hidden. (TParagraph.Hidden) * The Lines property now supports unicode strings (Delphi 2009 and later) + HTML reader and writer now use the entitly ­ as soft hyphen 27.8.2010 - WPTools 6.13.2a + new ViewOptionEx wpUnderlineWebLinks. If active links like http://www.wptools.de will be drawn using the attributes for hyperlinks The HyperlinkCursor will be selected and the hyperlink event will be triggered * other fixes in RTF engine - Memo._OverrideCharset was not set to -1 27.7.2010 - WPTools 6.13.1 + WPRichText1.Memo.ColorGridLines can be used to change the color of the grid lines (ViewOptions) 23.7.2010 - WPTools 6.13 * several improvements of editor * improvement to RTF writer to when writing table cells * improved right aligned text * fixed problem with line heights of lines which are empty except for new line character 22.6.2010 - WPTools 6.12.1b - fix for problem when pressing Accent + Backspace - fix for WPReporter to assign default attribute to destination - fix for WPReporter to move images when converting templates 18.6.2010 - WPTools 6.12.1a * the new border dialog now reads the current border attributes from table cells, tables or selections - Premium: fix problem when loading columns which started on first line - fix in wpfUseKerning mode (<em>Form</em>atOptionsEx2) - it did not work as expected with some texts (We recommend to use wpfUseKerning - it produces better print quality on screen) * Pasting of HTML now works better - fix for right tabs when also borders were used 13.6.2010 - WPTools 6.12 + all new, powerful yet intuitive Border dialog. The border dialog can modify a range of selected cells, columns, rows, tables and also only modify certain properties while leaving the others unchanged. You need to activate the compiler symbol NEWBORDER to use it by default + new method: procedure SetBorderProperties(Inner, Outer: TWPTextStyle; ApplyMode : TWPParagraphBordApply; Mode : TWPUpdateBorderProperties = [wpSetBorderFlags, wpSetBorderType, wpSetBorderWidth, wpSetBorderColor, wpSetParColor, wpSetParShading]); This method is mainly used by the new border dialog. + new flags in ViewOptionsEx: wpShowCurrentCellAsSelected, // Displays current cell to be selected. Disables current selection wpShowCurrentRowAsSelected, // Displays current table row to be selected. Disables current selection wpShowCurrentTableAsSelected // Displays current table to be selected. Disables current selection + new property YOffsetNormal to defined an upper border for normal and wordwrap view. * feature Header.MarginMirror changed to work like MS Word new flag: wpMarginMirrorBookPrint in <em>Form</em>atOptionsEx2 to <em>enable</em> the previous logic * workaround for MouseWheel UP beeing triggered too often (10 mms check) + ClipboardOption wpcoDontPasteHTML to disable HTML pasting completely (avoid problems with firefox) + it is now possible to load base64 embedded JPEGs from HTML * it is now possible to change width of tables which exceed right margin - fix bug in HTML writer for lists in table cells - fix in RTF writer to write character colors also for text which is using a character style - fix: numbering was not always updated - fix: better use fonts in certain RTF files written by MS Word + Update to WPLanguageControl to make Localization easier to use. Only< this code is not required: procedure T<em>Form</em>1.WPLanguageControl1Loaded(Sender: TObject); begin WPLangInterface := TWPLocalizationInterface.Create(WPLanguageControl1); WPLocalizeAllStrings; end; 6.5.2010 - WPTools 6.11.2 * improvement to border rendering * improvement to XML unit WPIOXML1 (Premium) 5.5.2010 - WPTools 6.11.1 + ConvertTableToText now supports option to also handle soft line breaks - fix problems with underlines at end of line - fix problem when loading hyperlinks in RTF - fix problem when saving attributes to XML (WPTools Premium) - fix problem with text rendering - fix problem with tables which habe header row and pages with different header margin 19.4.2010 - WPTools 6.11 + EditOptionEx: wpRowMultiSelect + new event: OnInternPaintPar + new event: RTFDataCollection AfterApplyUndoObject 14.4.2010 - WPTools 6.10.6 * fields are now passed as unicode strings to PDF exporter * Delphi 2010/2009 import has been improved to load unicode values which are stroed in fields. 5.4.2010 - WPTools 6.10.5 + flag: wpDontExtendSelectionToRightMargin. Do not extend selection to end of line + wpInvertActiveRow in ViewOptionsEx - some fixes for Delphi 2009 and Delphi 2010 - fix for section support - WPTools premium: Fix for images in text boxes - workwaround to load RTF which use emfblib for pngblib 28.2.2010 - WPTools 6.10 - improve word left/right movement to skip hidden text - improve http load of images - improve support for numbering - improve saving of character style attributes 11.2.2010 - WPTools 6.09.1 + LoadFromString now has a "WithClear" parameter - fix in RTF reader to better load files which do not define codepage - fix in paint routine to solve a rare lockup - fix in <em>form</em>at routine to improve section support 6.2.2010 - WPTools 6.09.1 - fix of problem in save routine when footnotes were used (WPTools premium) - fix in HTML writer - Image optiions now have a Rotation property which allows 90, 180 and 270 setting. - HTML reader and writer now support different colors for left,right,top, bottom lines 1.2.2010 - WPTools 6.09 - HTML writer will write 8 hard spaces for TAB stops at the start of a paragraph - HTML writer will write page in<em>form</em>ation only if -PageInfo was used in <em>form</em>at string - fix problem with left aligned text and image wrap around (wrong alignment) - fix problem with sometimes duplicated images in PDF export - fix problem with black rectangle in first line under Windows 7, 64 bit - Improvment to RTF reader to ignore section properties which are not followed by \sect 14.12.2009 - WPTools 6.08 - graphics are resized to fill text area - fixed problems in numbering - fixed problem with one word paragraphs in justified paragraphs - other improvements in editor 27.10.2009 - WPTools 6.07 - fixed one leaking TList per TWPRichText * improved layout of most important dialogs * improved extended insert symbol dialog - fix in RTF reader to load sections and header+footer written by Word 2003 - don't add unwanted cell padding when loading table cells - fix in WPTools reader to read custom number styles - if paragraph styles use number styles the indent defined in the style has priority over numberstyle - LabelDef now also works for one row and one column - better handling of mousewheel event - fix for tabs in tables + GIF animation (requires GifImage) library (not threaded) to use it You need to set ViewOption wpUseOwnDoubleBuffer and call the method RefreshAniImages using a <em>timer</em> object. - fix problem when sections were used with LabeDef.Active = true * change in HTML writer to close tags before paragraph end 4.10.2009 - WPTools 6.06 - fix problem with Delphi 2010 support (language control) - fix problem with PDF export to reduce PDF size - improve support for IME * improve AsWebPage <em>form</em>at mode. Now WordWrap propery is supported. - fix searching text upwards with "Whole Word" selected + RTF writer now can use <em>form</em>at option "-writehighlight" to writh \highlight instead of \cb 14.9.2009 - WPTools 6.05.9 + added Delphi 2010 Support - problem when pasting from "The Bat" - fix problem in Delphi 2009 (Assign Method) 3.8.2009 - WPTools 6.05.8' * when using "Delete All" in the tabstop dialog, all tabs will be cleared added to manual: Tabstop Category - fixed problem when deleting text in a paragraph. The alignment was cleared unexpectedly. - fix problem with installer, WPMangeHeaderFooter.DFM was not included - fix for IPara in mail merge field objects - improved handling of hoover effect for hyperlinks - improved text rendering for wPDF output (CID Mode) - add correct WPManHeadFoot.dfm 23.7.2009 - WPTools 6.05.7 + WRITE_PROP_WPTOOLSOBJ $define in WPIOWriteRTF. Avoid problems when saving RTF and opting in Word In case of special objects, such as SPAN codes, \*\wpfldinst is beeing written what is ignored by WOrd + Dialog HeaderFooter can optionally create and manage header&footer for the current section + new KeepN Handling. This is by default activated in <em>Form</em>atOptionsEx2 + new wpfHideParagraphWithHiddenText in <em>Form</em>atOptionsEx2. Now paragraphs will be hidden if empty or only contain hidden text. + new <em>form</em>at option -zap1 will remove the every first byte to convert a two byte stream into singly byte -zap2 will remove every second byte. Usie this option when loading data from unicode data sets - bugfix for table loading in RTF 15.7.2009 - WPTools 6.05 + TParagraph.Trim method to remove white spaces at start and end + Vertical Scrolling by pressing the middle mouse <em>button</em> now works. + improved auto thumbnail mode * enhancement to HTML reader / writer to handle embedded SPAN objects + new method: ApplySPANStyles(and_remove : Boolean=false; ignore_charattr : Boolean = false); can be used to apply SPAN styles to the text which it embeds + The function InputSpanObjects( Attributes : TWPAbstractCharAttrInterface ) : TWPTextObj; can be used to wrap the selected text into SPAN objects + method LoadCSSheet can be used to load paragraph styles in CSS <em>form</em>at from a string - fix problem with Wordrwap and centered text + new even OnTextObjectMovePosition (move event) - OnTextObjectMove is still used for resize (unchanged) 28.6.2009 - WPTools 6.04 + WPTools Premium: Column Balancing * many improvements in RTF reader. Word documents are now understood better * Improvement in check for protected text (ppMergedText) + new ViewOptionsEx property - auto hyperlinks were not working + TWPComboBox has an event OnUpdateItems which will be triggered after the items had been automatically assigned. 24.6.2009 - WPTools 6.03.6 * thinner page borders in thumbnail mode. ViewOptionsEx: wpAutoThumbnailMode will show pagenumbers only when in thubmbnail mode (= wpShowPageNRinGap in ViewOptions) + property ColorDesktop and DeskGradientHorizontal to render the background with a gradient fill * fix for protected text handling (CR after a field) * fix for text alignment near a movable image - EditOption AutoDetectHyperlinks was not working anymore * WPReporter: SuperMerge.Stack.PageBreakAFterGroup := true was ot working when footers were used 1.6.2009 - WPTools 6.03.5 - fix problem with display of character attributes when attributes were inherited from paragraph styles - fix problems with selection deletion in single column, single row tables - improvement of RTF writer when writing sections 11.5.2009 - WPTools 6.03.3 - improved report band dialog, new ShowOptions property - fix in RTF reader to load header/footer - change in HTML writer to save SPAN instead of FONT tag - several fixes in editor * WPTools Premium: better column support. Fixed column height now splits correctly on 2 pages. 28.4.2009 - WPTools 6.03.2 - fix problem with justified text in PDF 21.4.2009 - WPTools 6.03.1 - fix problem with images when used in Delphi 2009 - better support for header/footer in RTF files created by word. (Ignore bogus header/footer) - soome stability fixes 25.3.2009 - WPTools 6.03 + improved text rendering - optimation for character distances on screen to provide better display + improvement on ShowMergeFieldNames to improve cursor movement and drag and drop + automatic disable dragging of fields inside of fields + improved merge field selection. TextObject.SelectedObject now returns the mergefield if it was completely selected + change in HTML saving code to save src in after width adn height (for outlook) * various bugfixes 17.1.2009 - WPTools 6.02 - WPPREMIUM: Text after Columns initialized with WPAT_COLUMNS_Y is now allowed + TWPToolBar FontName drop down now lists fonts used by document first - fix for tables which use a fixed row height and are splitted on different pages + improvements necessary for Delphi 2009 - the Locaization demo now works + EditOptionEx wpDontPreserveObjectsAgainstDeletion - fix problem in ImageObject LoadFromStream when GraphicEx is used - fix problem with Delphi 2009 when loading WPReporter templates - fix problem with HTML reader with paragraph style of first paragraph + GetFontUnicodeRanges dynamically linked to avoid Win98 problem 26.10.2008 - WPTools 6.01 * updated HTTP Demo, now with "Source View" + DELETE/BACKSPC at start of line removes right/center alignment + loads background images for paragraphs, tables and styles * improvement to text protection (empty lines) - improvements to HTML and CSS reader - improved HTML <em>form</em>at routine - improved MIME loading - now supports binary data despite Synapse does not) + MIME reader capturesHTML body for SourceVIew * DataProvider now uses MergeText('',true) instead of MergeText + boolean wphttp_Disable to disconnect HTTP temporarily * several changes to improve compatibility with Delphi 2009 17.10.2008 - WPTools 6.00.1 - several changes to fix problems which occured with use of Delphi 2009 * update to WPIO_MIME to also load binary encoded GIFS and JPEGS from EML files 16.10.2008 - WPTools 6.00 * new installer + VCL demo * fixed problem with TWPComboBox and default attributes * updated "Tasks\Mini" demo project - fix in default actions 3.10.2008 - WPTools 6 Beta c - remove not required unit reference <em>form</em> WPRTEReport * update to manual 2.10.2008 - WPTools 6 Beta b - fix in Installation script 30.9.2008 - WPTools 6 Beta a 1) Application-Server-Mode WPTools 6 introduces a feature which is called "Application-Server-Mode". This is only available when you have the PREMIUM version. This mode is activated when true is assigned to the global boolean variable WPAppServerMode. When this mode is activated the editor does not use the double buffered output anymore. While this can cause some flickering the network traffic is reduced when the application runs on an application server, such as Citrix. Please note, effective with WPTools 6, software which was written for application servers (such as clinic software) may only be distributed when a TEAM or SITE license of WPTools was acquired.END 2) Integrated Label Printing When activated the integrated label printing shows multiple labels on one virtual sheet of paper. The cursor can move from label to label freely. The user can so edit the labels, add new or delete unwanted labels before the complete sheet is printed. This is a very unique and versatile feature. 3) Additions to the PDF export with wPDF V3 Create embedded data objects Create edit / memo fields Create a check box field Also the creation of PDF tags was enhanced. So now hints to paragraph styles will be also exported. 4) Additional Control over Clipboard Actions a) properties to select the <em>form</em>at b) added security 5) Added Section API + WPRichText1.ActiveSection + WPRichText1.InputSection + TWPPagePropDlg has new method ExecuteEx. Use it to change current page size or Section WPPagePropDlg1.ExecuteEx(WPRichText1.ActiveSection); 6) Load over HTTP connections (requires Synapse) 7) Load and save MIME encoded HTML with embedded images (requires Synapse) 8) Integrated XML syntax highlighting (non destructive) 9) WPReporter: Token to Template conversion with syntax highlighting 10) Additions to paragraph API 11) Special mode to <em>form</em>at HTML documents</a></div></div></div></div> <div class="public_pc_right_footer2020" style="display:none;" data-v-4a5a7f56></div></div> <div id="right-floor-user-content_562" data-editor="{"type":"floor","pageId":143,"floorId":562}" class="user-right-floor right-box main-box detail-user-right" data-v-229a00b0><div class="__vuescroll" style="height:100%;width:100%;padding:0;position:relative;overflow:hidden;"><div class="__panel __hidebar" style="position:relative;box-sizing:border-box;height:100%;overflow-y:hidden;overflow-x:hidden;transform-origin:;transform:;"><div class="__view" style="position:relative;box-sizing:border-box;min-width:100%;min-height:100%;"><!----><div comp-data="[object Object]" baseInfo="[object Object]" community="[object Object]" class="introduce" data-v-4722a3ae><div class="introduce-title" data-v-4722a3ae><div class="img-info" data-v-4722a3ae><a href="https://bbs.csdn.net/forums/CSharp" class="community-img" data-v-4722a3ae><img src="https://img-community.csdnimg.cn/avatar/a7b2a15d77ba47b6968a126366232f4f.png?x-oss-process=image/resize,m_fixed,h_88,w_88" alt data-v-4722a3ae> <div title="C#" class="community-name" data-v-4722a3ae> C# </div></a></div></div> <div class="content" data-v-4722a3ae><div class="detail" data-v-4722a3ae><div title="111120" class="item" data-v-4722a3ae><p class="num" data-v-4722a3ae> 111,120 </p> <p class="desc" data-v-4722a3ae> 社区成员 </p></div> <div title="642545" class="item" data-v-4722a3ae><a href="https://bbs.csdn.net/forums/CSharp" target="_blank" data-v-4722a3ae><p class="num" data-v-4722a3ae> 642,545 </p> <p class="desc" data-v-4722a3ae> 社区内容 </p></a></div></div> <div class="detail-btns" data-v-4722a3ae><div class="community-ctrl-btns_wrapper" data-v-0ebf603c data-v-4722a3ae><div class="community-ctrl-btns" data-v-0ebf603c><div class="community-ctrl-btns_item" data-v-0ebf603c><div data-v-160be461 data-v-0ebf603c><div data-report-click="{"spm":"3001.5975"}" data-v-160be461><img src="https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png" alt="" class="img sendTopic" data-v-160be461 data-v-0ebf603c> <span data-v-160be461 data-v-0ebf603c>发帖</span></div> <!----> <!----></div></div><div class="community-ctrl-btns_item" data-v-0ebf603c><div data-v-0ebf603c><img src="https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png" alt="" class="img me" data-v-0ebf603c> <span data-v-0ebf603c>与我相关</span></div></div><div class="community-ctrl-btns_item" data-v-0ebf603c><div data-v-0ebf603c><img src="https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png" alt="" class="img task" data-v-0ebf603c> <span data-v-0ebf603c>我的任务</span></div></div><div class="community-ctrl-btns_item" data-v-0ebf603c><div class="community-share" data-v-4ca34db9 data-v-0ebf603c><div class="handle-item share" data-v-ca030a68 data-v-4ca34db9><span height="384" data-v-ca030a68><div role="tooltip" id="el-popover-564" aria-hidden="true" class="el-popover el-popper popo share-popover" style="width:265px;display:none;"><!----><div id="tool-QRcode" class="QRcode" data-v-ca030a68><img src="https://csdnimg.cn/release/cmsfe/public/img/shareBg2.05330abf.png" alt="" class="share-bg" data-v-ca030a68> <div class="share-bg-box" data-v-ca030a68><div class="share-content" data-v-ca030a68><img src="https://img-community.csdnimg.cn/avatar/a7b2a15d77ba47b6968a126366232f4f.png?x-oss-process=image/resize,m_fixed,h_88,w_88" alt="" class="share-avatar" data-v-ca030a68> <div class="share-tit" data-v-ca030a68>C#</div> <div class="share-dec" data-v-ca030a68>.NET技术 C#</div> <span class="copy-share-url" data-v-ca030a68>复制链接</span> <div class="shareText" data-v-ca030a68> </div></div> <div class="share-code" data-v-ca030a68><div class="qrcode" data-v-ca030a68></div> <div class="share-code-text" data-v-ca030a68>扫一扫</div></div></div></div> </div><span class="el-popover__reference-wrapper"><div data-v-0ebf603c><img src="https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png" alt="" class="img share" data-v-0ebf603c> <span data-v-0ebf603c>分享</span></div></span></span></div> <!----></div></div></div> <!----> <div data-v-4fb59baf data-v-0ebf603c><div class="el-dialog__wrapper ccloud-pop-outer2" style="display:none;" data-v-4fb59baf><div role="dialog" aria-modal="true" aria-label="dialog" class="el-dialog el-dialog--center" style="margin-top:15vh;width:70%;"><div class="el-dialog__header"><span class="el-dialog__title"></span><!----></div><!----><div class="el-dialog__footer"><span class="dialog-footer clearfix" data-v-4fb59baf><div class="confirm-btm fr" data-v-4fb59baf>确定</div></span></div></div></div></div></div></div></div> <div style="display:none;" data-v-4722a3ae data-v-4722a3ae><!----> <div class="introduce-desc" data-v-4722a3ae><div class="introduce-desc-title" data-v-4722a3ae>社区描述</div> <span data-v-4722a3ae> .NET技术 C# </span></div></div> <div class="introduce-text" data-v-4722a3ae><div class="label-box" data-v-4722a3ae><!----> <!----> <!----></div></div> <!----> <div class="manage" data-v-4722a3ae><div class="manage-inner" data-v-4722a3ae><span data-v-4722a3ae>社区管理员</span> <ul data-v-4722a3ae><li data-v-4722a3ae><a href="https://blog.csdn.net/community_109" target="_blank" class="start-img" data-v-4722a3ae><img src="https://profile-avatar.csdnimg.cn/default.jpg!1" alt="C#" class="el-tooltip item" data-v-4722a3ae data-v-4722a3ae></a></li><li data-v-4722a3ae><a href="https://blog.csdn.net/sunhui" target="_blank" class="start-img" data-v-4722a3ae><img src="https://profile-avatar.csdnimg.cn/4da5553c0cca498aa6129165b431f71b_sunhui.jpg!1" alt="AIGC Browser" class="el-tooltip item" data-v-4722a3ae data-v-4722a3ae></a></li><li data-v-4722a3ae><a href="https://blog.csdn.net/diaodiaop" target="_blank" class="start-img" data-v-4722a3ae><img src="https://profile-avatar.csdnimg.cn/1bbdb34c745a495686ef96bd81e655c3_diaodiaop.jpg!1" alt="by_封爱" class="el-tooltip item" data-v-4722a3ae data-v-4722a3ae></a></li></ul></div></div> <div class="actions" data-v-4722a3ae><!----> <div style="flex:1;" data-v-4722a3ae><div class="join-btn" data-v-4722a3ae> 加入社区 </div></div> <!----> <!----></div> <div class="el-dialog__wrapper" style="display:none;" data-v-38c57799 data-v-4722a3ae><div role="dialog" aria-modal="true" aria-label="获取链接或二维码" class="el-dialog join-qrcode-dialog" style="margin-top:15vh;width:600px;"><div class="el-dialog__header"><span class="el-dialog__title">获取链接或二维码</span><button type="button" aria-label="Close" class="el-dialog__headerbtn"><i class="el-dialog__close el-icon el-icon-close"></i></button></div><!----><div class="el-dialog__footer"><span class="dialog-footer" data-v-38c57799></span></div></div></div> <div class="collapse-btn" data-v-4722a3ae><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAgCAYAAACFM/9sAAAAAXNSR0IArs4c6QAAAi1JREFUaEPtl01u01AUhc+N8wMSO4AxzJAqwQpKQsdtbMOICmKnwCKQ2ACDIgotrYKiduIiVZ10B0CBAjtAbICfooomJr3IcUoTiVLb15GNuG/67nm65/M5AxP0iAiQSK1iKEBhCBSgAhQSEMo1gQpQSEAo1wQqQCEBoVwT+K8CnLnWvER8cOHMaf95q9Xaj+vDtp3LPeD83u6p9a2t+U5cfVrzmSTQNOfOgg4+ATDAeNHp/Jza3Fz5HtWUZbl3GXjYn2e+53lL96Nq057LBOD0dOOcUSx8BFAcGHpZLlWmVlfnd08yaJrubRAe/Z77HwEG5kdS1E8StgFc9bzFb8dBrNtukxgLwOAXNEF6T/pAce8zSeDhknXbuUNMQRUHe/BrMNX+BNGyHIdBT45m6VVn36/FqX5cOFHmMwUYJrE5x+CgkuEujLe+361ubLS+HhowzeYtEC8NzWyXy5ValMpHgSCZyRxgsLxpui4Ij4/ShZ1S0aiurS18sSznJoOeDt29AaP6t6pLgMTV5gJgsHTddhvEWBwC9Y6AZww8AFA4Lp1xDac9nxuAYZ37aQuqGgIbPTt+t3tluNppw0jyXq4AhnV2ZkG0PAKR8b5UMiaDSicxOU5N7gCGSXRvMLAygPgB3Jv0vOXP4wSR9O1cAgzMzFxvXDR6hYlK5cd6u93eS2pw3LrcAhy38bTeV4BCkgpQAQoJCOWaQAUoJCCUawIVoJCAUK4JVIBCAkL5L1yapyGdIBwvAAAAAElFTkSuQmCC" alt data-v-4722a3ae></div></div><!----><!----><div comp-data="[object Object]" baseInfo="[object Object]" typePage="detail" community="[object Object]" class="floor-user-right-rank" data-v-3d3affee><div class="el-tabs el-tabs--top" data-v-3d3affee><div class="el-tabs__header is-top"><div class="el-tabs__nav-wrap is-top"><div class="el-tabs__nav-scroll"><div role="tablist" class="el-tabs__nav is-top" style="transform:translateX(-0px);"><div class="el-tabs__active-bar is-top" style="width:0px;transform:translateX(0px);ms-transform:translateX(0px);webkit-transform:translateX(0px);"></div></div></div></div></div><div class="el-tabs__content"><div role="tabpanel" id="pane-integral" aria-labelledby="tab-integral" class="el-tab-pane" data-v-3d3affee></div><div role="tabpanel" aria-hidden="true" id="pane-3" aria-labelledby="tab-3" class="el-tab-pane" style="display:none;" data-v-3d3affee></div></div></div> <div class="floor-user-right-rank-score" data-v-608528ce data-v-3d3affee><div class="floor-user-right-rank-score-tabs" data-v-608528ce><ul data-v-608528ce><li data-v-608528ce> 近7日 </li><li data-v-608528ce> 近30日 </li><li class="active" data-v-608528ce> 至今 </li></ul></div> <div class="floor-user-right-rank-common" data-v-46cf600d data-v-608528ce><div class="rank-list" data-v-46cf600d><!----> <div class="no-data loading" data-v-46cf600d><i class="el-icon-loading" data-v-46cf600d></i> <p data-v-46cf600d>加载中</p></div> <!----> <a href="https:///CSharp/rank/list/total" target="_blank" class="show-more" data-v-46cf600d> 查看更多榜单 </a></div></div></div></div><div comp-data="[object Object]" baseInfo="[object Object]" typePage="detail" community="[object Object]" class="floor comunity-rule" data-v-3cfa4dbd><div class="title" data-v-3cfa4dbd> 社区公告 </div> <div class="contain" data-v-3cfa4dbd><div class="inner-content" data-v-3cfa4dbd><p>让您成为最强悍的C#开发者</p> </div></div></div><div comp-data="[object Object]" baseInfo="[object Object]" typePage="detail" community="[object Object]" class="user-right-adimg empty-arr" data-v-15c6aa4f><div class="adImgs" data-v-2a6389b9 data-v-15c6aa4f><!----> <div data-v-2a6389b9><div data-v-2a6389b9></div></div></div></div><div comp-data="[object Object]" baseInfo="[object Object]" typePage="detail" class="ai-entrance" data-v-eb1c454c><p data-v-eb1c454c>试试用AI创作助手写篇文章吧</p> <div class="entrance-btn-line" data-v-eb1c454c><a href="https://mp.csdn.net/edit?guide=1" target="_blank" data-report-click="{"spm":"3001.9712"}" data-report-query="spm=3001.9712" class="entrance-btn" data-v-eb1c454c>+ 用AI写文章</a></div></div></div></div></div></div></div></div></div></div> <!----></div></div></div> <div> <script type="text/javascript" src="https://g.csdnimg.cn/common/csdn-footer/csdn-footer.js" data-isfootertrack="false" defer></script> </div></div></div><script> window.__INITIAL_STATE__= {"csrf":"HNFeXnKD-rooRmg2g2BOaoacoabLdmhZrsrE","origin":"http:\u002F\u002Fbbs.csdn.net","isMobile":false,"cookie":"uuid_tt_dd=10_36287182150-1764952875100-477194; dc_session_id=10_1764952875100.763188; uuid_tt_dd=10_36287182150-1764952875100-477194; dc_sid=7a86c0b7a2b4530d95b48aadefbbc4bd; csrfToken=iS432TJfJT6xqjg5_DgAAWBE","ip":"216.73.216.135","pageData":{"page":{"pageId":143,"title":"社区详情","keywords":"社区详情","description":"社区详情","ext":{"isMd":"true","armsfe1":"{pid:\"dyiaei5ihw@1a348e4d05c2c78\",appType:\"web\",imgUrl:\"https:\u002F\u002Farms-retcode.aliyuncs.com\u002Fr.png?\",sendResource:true,enableLinkTrace:true,behavior:true}","redPacketCfg":"{\"presetTitle\":[\"成就一亿技术人!\",\"大吉大利\",\"节日快乐\",\"Bug Free\",\"Hello World\",\"Be Greater Than Average!!\"],\"defaultTitle\":\"成就一亿技术人!\",\"preOpenSty\":{},\"redCardSty\":{}}","blogStar":"[{\"year\":\"2021\",\"enable\":true,\"communityIds\":[3859],\"url\":\"https:\u002F\u002Fbbs.csdn.net\u002Fsummary2021\"},{\"year\":\"2022\",\"enable\":true,\"communityIds\":[3860],\"url\":\"https:\u002F\u002Fbbs.csdn.net\u002Fsummary2022\"}]","mdVersion":"https:\u002F\u002Fcsdnimg.cn\u002Frelease\u002Fmarkdown-editor\u002F1.1.0\u002Fmarkdown-editor.js","componentSortCfg":"{ \"right\":[\"ratesInfo\",\"cty-profile\",\"pub-comp\",\"user-right-introduce\",\"post-event\",\"my-mission\", \"user-right-rank\",\"user-right-rule\",\"user-right-adimg\"] }","show_1024":"{\"enable\":false,\"useWhitelist\":false,\"whitelist\":[76215],\"home\":\"https:\u002F\u002F1111.csdn.net\u002F\",\"logo\":\"https:\u002F\u002Fimg-home.csdnimg.cn\u002Fimages\u002F20221104102741.png\",\"hideLive\":true}","iframes":"[\"3859\"]","pageCfg":"{\"disableDownloadPDF\": false,\"hideSponsor\":false}"}},"template":{"templateId":71,"templateComponentName":"ccloud-detail","title":"ccloud-detail","floorList":[{"floorId":562,"floorComponentName":"floor-user-content","title":"社区详情页","description":"社区详情页","indexOrder":3,"componentList":[{"componentName":"baseInfo","componentDataId":"cloud-detail1","componentConfigData":{},"relationType":3},{"componentName":"user-right-introduce","componentDataId":"","componentConfigData":{},"relationType":2},{"componentName":"user-recommend","componentDataId":"","componentConfigData":{},"relationType":2},{"componentName":"user-right-rank","componentDataId":"","componentConfigData":{},"relationType":2},{"componentName":"user-right-rule","componentDataId":"","componentConfigData":{},"relationType":2},{"componentName":"user-right-adimg","componentDataId":"","componentConfigData":{},"relationType":2},{"componentName":"default2014LiveRoom","componentDataId":"20221024DefaultLiveRoom","componentConfigData":{},"relationType":3}]}]},"data":{"baseInfo":{"customDomain":"","uriName":"CSharp","communityHomePage":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp","owner":{"userName":"community_109","nickName":"C#","avatarUrl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fdefault.jpg!1","position":"","companyName":""},"user":{"userRole":3,"userName":null,"nickName":null,"avatarUrl":null,"rank":null,"follow":2,"communityBase":null,"joinCollege":null,"isVIP":null},"community":{"name":"C#","description":".NET技术 C#","avatarUrl":"https:\u002F\u002Fimg-community.csdnimg.cn\u002Favatar\u002Fa7b2a15d77ba47b6968a126366232f4f.png?x-oss-process=image\u002Fresize,m_fixed,h_88,w_88","qrCode":"","createTime":"2007-09-28","communityAvatarUrl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fdefault.jpg!1","communityNotice":null,"userCount":111120,"contentCount":642545,"followersCount":87121,"communityRule":"\u003Cp\u003E让您成为最强悍的C#开发者\u003C\u002Fp\u003E\n","communityId":227,"bgImage":"","hashId":"den17ynj","domain":"","uriName":"CSharp","externalDisplay":1,"adBanner":{"img":"","url":"","adType":0,"adCon":null},"rightBanner":{"img":"","url":"","adType":0,"adCon":null},"tagId":null,"tagName":null,"communityType":1,"communityApplyUrl":"https:\u002F\u002Fmarketing.csdn.net\u002Fquestions\u002FQ2106040308026533763","joinType":0,"visibleType":0,"collapse":0,"hideLeftSideBar":0,"topicMoveAble":0,"allowActions":{},"communityOwner":"community_109","tagNameInfo":{"provinceTag":null,"areaTag":null,"technologyTags":null,"customTags":null}},"tabList":[{"tabId":1386,"tabName":"全部","tabUrl":"","tabSwitch":1,"tabType":4,"tabContribute":0,"cardType":0,"indexOrder":-1,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1386","iframe":false,"sortType":1},{"tabId":860,"tabName":"问答","tabUrl":"https:\u002F\u002Fask.csdn.net\u002Flist\u002F12\u002Ftag\u002F288","tabSwitch":1,"tabType":0,"tabContribute":0,"indexOrder":0,"iframe":true,"sortType":1},{"tabId":1184,"tabName":"C#综合技术","tabUrl":"","tabSwitch":1,"tabType":1,"tabContribute":1,"cardType":0,"indexOrder":1,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1184","iframe":false,"sortType":1},{"tabId":1183,"tabName":"C#互联网桌面应用","tabUrl":"","tabSwitch":1,"tabType":1,"tabContribute":1,"cardType":0,"indexOrder":2,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1183","iframe":false,"sortType":1},{"tabId":1185,"tabName":"AppLauncher","tabUrl":"","tabSwitch":1,"tabType":1,"tabContribute":1,"cardType":0,"indexOrder":3,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1185","iframe":false,"sortType":1},{"tabId":1180,"tabName":"WinForm&WPF","tabUrl":"","tabSwitch":1,"tabType":1,"tabContribute":1,"cardType":0,"indexOrder":4,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1180","iframe":false,"sortType":1},{"tabId":1181,"tabName":"C#开发新技术","tabUrl":"","tabSwitch":1,"tabType":1,"tabContribute":1,"cardType":0,"indexOrder":5,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1181","iframe":false,"sortType":1},{"tabId":4055669,"tabName":"博文收录","tabUrl":"","tabSwitch":1,"tabType":2,"tabContribute":0,"cardType":0,"indexOrder":19,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=4055669","iframe":false,"sortType":1},{"tabId":1637785,"tabName":"Ada助手","tabUrl":"","tabSwitch":1,"tabType":2,"tabContribute":0,"cardType":0,"indexOrder":20,"url":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp?typeId=1637785","iframe":false,"sortType":1}],"dataResource":{"mediaType":"c_cloud","subResourceType":"8_c_cloud_long_text","showType":"long_text","tabId":0,"communityName":"C#","communityHomePageUrl":"https:\u002F\u002Fbbs.csdn.net\u002Fforums\u002FCSharp","communityType":1,"content":{"id":"80160221","contentId":80160221,"cateId":0,"cateName":null,"url":"https:\u002F\u002Fbbs.csdn.net\u002Ftopics\u002F80160221","shareUrl":"https:\u002F\u002Fbbs.csdn.net\u002Ftopics\u002F80160221","createTime":"2005-11-07 11:26:53","updateTime":"2021-05-28 13:51:01","resourceUsername":"bigbigxian","best":0,"top":0,"text":null,"publishDate":"2005-11-07","lastReplyDate":"2005-11-07","type":"13","nickname":"bigbigxian","avatar":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fdefault.jpg!1","username":"bigbigxian","commentCount":1,"diggNum":0,"digg":false,"viewCount":108,"hit":false,"resourceSource":6,"status":10,"taskStatus":null,"expired":false,"taskCate":0,"taskAward":0,"taskExpired":null,"checkRedPacket":null,"avgScore":0,"totalScore":0,"topicTitle":"急问一个小问题:请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???","insertFirst":false,"likeInfo":null,"description":"请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊??? 也就是说当 点击 Form1中的 button1时,Form2中的 Timer1 的 Enable 由原先的true变成 False! 求完全代码!!!","coverImg":"https:\u002F\u002Fimg-home.csdnimg.cn\u002Fimages\u002F20221110040243.png","content":"请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???\u003Cbr \u002F\u003E\n\u003Cbr \u002F\u003E\n也就是说当 点击 Form1中的 button1时,Form2中的 Timer1 的 Enable 由原先的true变成 False!\u003Cbr \u002F\u003E\n\u003Cbr \u002F\u003E\n求完全代码!!!","mdContent":null,"pictures":null,"videoInfo":null,"linkInfo":null,"student":{"isCertification":false,"org":"","bala":""},"employee":{"isCertification":false,"org":"","bala":""},"userCertification":[],"dependId":"0","dependSubType":null,"videoUrl":null,"favoriteCount":0,"favoriteStatus":false,"taskType":null,"defaultScore":null,"syncAsk":false,"videoPlayLength":null},"communityUser":null,"allowPost":false,"submitHistory":[{"user":{"registerurl":"https:\u002F\u002Fg.csdnimg.cn\u002Fstatic\u002Fuser-reg-year\u002F1x\u002F20.png","avatarurl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fdefault.jpg!1","nickname":"bigbigxian","selfdesc":"","createdate":"2005-09-15 10:22:00","days":"7387","years":"20","username":"bigbigxian","school":null,"company":null,"job":null},"userName":"bigbigxian","event":"创建了帖子","body":"2005-11-07 11:26","editId":null}],"resourceExt":{}},"contentReply":{"pageNo":1,"pageSize":20,"totalPages":1,"totalCount":1,"total":0,"list":[{"hit":null,"hitMsg":null,"content":"Form2.cs中:\u003Cbr \u002F\u003E\npublic static System.Timers.Timer timer1;\u003Cbr \u002F\u003E\n\u003Cbr \u002F\u003E\nForm1中这样修改:\u003Cbr \u002F\u003E\nprivate void Form1_Load(object sender, System.EventArgs e)\u003Cbr \u002F\u003E\n\t\t{\u003C!-- --\u003E\u003Cbr \u002F\u003E\n\t\t\tForm2.timer1.Enabled = false;\u003Cbr \u002F\u003E\n\t\t}","topicTitle":null,"description":"Form2.cs中: public static System.Timers.Timer timer1; Form1中这样修改: private void Form1_Load(object sender, System.EventArgs e) { Form2.timer1.Enabled = false; }","id":54842437,"contentResourceId":80160221,"bindContentResourceId":0,"communityId":227,"username":"ChengKing","userNickName":"ChengKing","userAvatar":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fa9deeebc78ec4bd6af1e65ed3f88a1d1_chengking.jpg!1","mdContent":null,"parentId":0,"replyName":"","replyNickName":"","bizNo":"bbs","ip":3395665032,"status":10,"childCount":0,"topStatus":0,"recommendStatus":0,"userLike":false,"diggCount":0,"childIds":"","createTime":"2005-11-07 11:34:24","updateTime":"2005-11-07 11:34:24","formatTime":"2005-11-07","userRoleHonorary":{"userName":null,"roleId":null,"roleType":null,"roleStatus":null,"honoraryId":null,"roleName":null,"honoraryName":null,"communityNickname":null,"communitySignature":null},"child":null,"communityNickname":null,"communityReplyNickname":null,"rewardInfo":null,"checkRedPacketVO":null,"noDiggCount":null}],"maxPageSize":3000},"defaultActiveTab":1386,"recommends":[{"url":"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fsuper_zhaowenke\u002F2190657","title":"ExtAspNet v2.2.1 (2009-4-1) 值得一看","desc":"ExtAspNet v2.2.1\n\t\nExtAspNet是一组专业的Asp.net控件库,拥有原生的AJAX支持和丰富的UI效果,\n目标是创建没有JavaScript,没有CSS,没有UpdatePanel,没有WebServices的Web应用程序。\n\n支持的浏览器: IE 7.0+, Firefox 3.0+, Chrome 2.0+, Opera 9.5+, Safari 3.0+\n\n注:ExtAspNet基于一些开源的程序ExtJS, HtmlAgilityPack, Nii.JSON, YUICompressor。\n\n示例: http:\u002F\u002Fextasp.net\u002F\n开源: http:\u002F\u002Fextaspnet.codeplex.com\u002F\n博客: http:\u002F\u002Fsanshi.cnblogs.com\u002F\n邮箱: sanshi.ustc@gmail.com\n\n\n发布历史:\n\n+2010-03-28 v2.2.1\n\t+为TabStrip的GetAddTabReference函数增加重载方法,以便指定Tab的图标(feedback:mmdcup)。 \n\t\t-修正此函数通过PageContext.RegisterStartupScript调用时不能正确显示Icon的BUG(feedback:zhaowenke)。\n\t-修正basic\u002Fhello.aspx示例在单独浏览器打开后,不能弹出对话框的BUG。\n\t-隐藏示例首页最外层RegionPanel的边框ShowBorder=\"false\"。\n\t+集成Extjs最新版本v3.1.1。\n\t\t-增加\u003Cem\u003E一个\u003C\u002Fem\u003E新的Theme - Access。\n\t\t-修正了Firefox下Zoom In\u002FOut时页面消失的BUG。\n\t\t-删除Panel的\u003Cem\u003EEnable\u003C\u002Fem\u003ELightBackgroundColor\u003Cem\u003E属性\u003C\u002Fem\u003E,同时\u003Cem\u003EEnable\u003C\u002Fem\u003EBackgroundColor只支持Blue和Gray两种Theme。\n\n\n\n+2010-01-31 v2.2.0\n\t-使得Asp.net的控件Image\u003Cem\u003EButton\u003C\u002Fem\u003E具有和Asp.net的\u003Cem\u003EButton\u003C\u002Fem\u003E控件类似的行为(Ajax提交)(feedback:261629698)。\n\t+TabStrip增加GetAddTabReference和GetRemoveTabReference两个函数,用来向TabStrip控件动态增加删除Tab。\n\t\t-增加示例tabstrip\u002Ftabstrip_addtab.aspx。\n\t-重构了示例网站的架构,目前只有一层IFrame结构。\n\t-为TabStrip增加\u003Cem\u003EEnable\u003C\u002Fem\u003ETabCloseMenu\u003Cem\u003E属性\u003C\u002Fem\u003E,是否启用右键菜单,可用来关闭当前Tab和所有其他Tab。\n\t-为NumberBox增加DecimalPrecision\u003Cem\u003E属性\u003C\u002Fem\u003E,用来控制小数点后的位数(需要设置NoDecimal=\"false\")(feedback:zqmars)。\n\t-Window控件更新。\n\t\t-关闭按钮默认直接关闭,不会弹出确认对话框。\n\t\t-GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedHideReference的函数\u003Cem\u003E中\u003C\u002Fem\u003E的Confirm\u003Cem\u003EForm\u003C\u002Fem\u003EModified简化为Confirm,所以此函数更名为GetConfirmHideReference。\n\t\t-增加两个\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EConfirmOnClose(默认false),CloseAction(Hide, HideRefresh, HidePostBack)。\n\t\t-修正\u003Cem\u003EEnable\u003C\u002Fem\u003EMaximize\u003Cem\u003E属性\u003C\u002Fem\u003E不能使Window最大化的BUG,修正了双击标题栏不能最大化的BUG。\n\t-删除\u003Cem\u003EButton\u003C\u002Fem\u003E控件的SystemIcon\u003Cem\u003E属性\u003C\u002Fem\u003E,比如以前这样定义SystemIcon=\"Close\",现在需要这样定义Icon=\"SystemClose\"。\n\t-WindowPosition默认居\u003Cem\u003E中\u003C\u002Fem\u003E,而不是黄金分割位置。\n\t+\u003Cem\u003EButton\u003C\u002Fem\u003E, Window等控件弹出位置\u003Cem\u003E属性\u003C\u002Fem\u003E的变化。\n\t\t-Window的Target\u003Cem\u003E属性\u003C\u002Fem\u003E由字符串类型变为枚举类型,注意更新以前的代码:Target=\"_self\" -\u003E Target=\"Self\", Target=\"_parent\" -\u003E Target=\"Parent\"。\n\t\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, \u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField的ConfirmTarget\u003Cem\u003E属性\u003C\u002Fem\u003E由字符串变为枚举类型,可以取三个枚举值Self, Parent, Top。\n\t\t-Confirm.GetShowReference的最后\u003Cem\u003E一个\u003C\u002Fem\u003E参数target变为枚举类型。\n\t\t-Alert.GetShowReference\u003Cem\u003E中\u003C\u002Fem\u003E的showInParent参数也变为Target枚举类型。\n\t\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, \u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加ValidateTarget用来控制表单验证失败时提示对话框的显示位置。\n\n\n\n+2010-01-06 v2.1.9\n\t-集成Extjs最新版本v3.1.0。\n\t-修正灰色皮肤的CSS\u003Cem\u003E问题\u003C\u002Fem\u003E。\n\t-修正Grid的列名\u003Cem\u003E中\u003C\u002Fem\u003E不能包含\u003Cem\u003E中\u003C\u002Fem\u003E文字符的BUG(feedback:davidwen)。\n\t-为Web.config和PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003EAjaxTimeout(单位秒,默认30秒)。\n\t-修正了在Grid的PageIndexChange\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E不能获取SelectedRowIndexArray\u003Cem\u003E属性\u003C\u002Fem\u003E的BUG(feedback:Violet)。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E控件将不再自动拥有display:inline\u003Cem\u003E属性\u003C\u002Fem\u003E,如果希望两个按钮在一行显示,请为第\u003Cem\u003E一个\u003C\u002Fem\u003E按钮设置CssStyle=\"float:left;\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。\n\t-为TriggerBox和TwinTriggerBox增加\u003Cem\u003EEnable\u003C\u002Fem\u003EEdit\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-使用Hidden来显示隐藏ExtAspNet控件,而不是使用Visible\u003Cem\u003E属性\u003C\u002Fem\u003E(Visible目前设置为只读\u003Cem\u003E属性\u003C\u002Fem\u003E)。\n\t-使用Hidden控制Window控件的显示隐藏,Popup已经标记为Obsolete\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-Window的实例方法GetCloseReference等以及ActiveWindow的静态方法GetCloseReference等,其\u003Cem\u003E中\u003C\u002Fem\u003E的Close全部改为Hide。\n\t-增加TabStrip\u003Cem\u003E中\u003C\u002Fem\u003ETab控件可关闭\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EClose(默认为false)以及两个方法GetShowReference和GetHideReference(feedback:anson)。\n\t-修正绑定到Tree的XMLDocument\u003Cem\u003E中\u003C\u002Fem\u003EIcon\u003Cem\u003E属性\u003C\u002Fem\u003E映射错误(feedback:nopnop9)。\n\t-修正HtmlEditor不能编辑的BUG(feedback:TheBox)。\n\t-修正IE下有时会出现空白页面的情况(feedback:olivia919)。\n\t\n\t\n\n+2009-12-06 v2.1.8\n\t-修正了使用IFrame的Window关闭后不能再次打开的BUG(feedback:alexa99)。\n\t-修正了IE下Grid\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003EJS\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:lqm4108)。\n\t-修正Alert消息\u003Cem\u003E中\u003C\u002Fem\u003E引号未编码导致的JS错误(feedback:sun1299shine)。\n\t+集成extjs3.0.3。\n\t\t-修正弹出对话框的宽度计算错误(会保持最小的状态)。\n\t\t-增加新的皮肤Gray。\n\t-为示例工程添加\u003Cem\u003E改变\u003C\u002Fem\u003E语言和皮肤的下拉列表。\n\t-为PageContext增加静态函数Refresh,在切换语言和皮肤时使用。\t\n\n\n\n+2009-12-01 v2.1.7\n\t-增加示例(iframe\u002Fparent_postback_run3.aspx),如何通过简单的Javascript代码回发父页面(feedback:eroach)。\n\t-修正一些书写错误(feedback:bmck)。\n\t-从Region控件\u003Cem\u003E中\u003C\u002Fem\u003E删除SplitColor\u003Cem\u003E属性\u003C\u002Fem\u003E,增加CollapseMode, \u003Cem\u003EEnable\u003C\u002Fem\u003ESplitTip, SplitTip, CollapsibleSplitTip\u003Cem\u003E属性\u003C\u002Fem\u003E(feedback:bmck)。\n\t-BorderPanel更名为RegionPanel。\n\t-DropDownList拥有MarkInvalid方法(feedback:sun1299shine)。\n\t-增加\u003Cem\u003E中\u003C\u002Fem\u003E国的省市县三级联动示例(data\u002Fshengshixian.aspx)(feedback:Blues T)。\n\t-修正了使用IFrameUrl的Tab在切换过程\u003Cem\u003E中\u003C\u002Fem\u003E会重复加载的\u003Cem\u003E问题\u003C\u002Fem\u003E,这是\u003Cem\u003E一个\u003C\u002Fem\u003E在v2.1.6引入的\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:eroach)。\n\t-修正了启用AutoPostBack的Grid,其Row\u003Cem\u003EClick\u003C\u002Fem\u003E会覆盖Link\u003Cem\u003EButton\u003C\u002Fem\u003EField, HyperLinkField, CheckBoxField的点击\u003Cem\u003E事件\u003C\u002Fem\u003E(feedback:yymaoji)。\n\t\n\t\n\t\n+2009-11-26 v2.1.6\n\t+修正动态创建Grid列的BUG(feedback:gxpan)。\n\t\t-增加示例(data\u002Fgrid_dynamic_columns.aspx)。\n\t-修正\u003Cem\u003EForm\u003C\u002Fem\u003E不能自适应浏览器大小的\u003Cem\u003E改变\u003C\u002Fem\u003E(feedback:kaywood)(WorkItem#6309)。\n\t-增加重载方法Alert.Show(message, title, icon)(feedback:TheBox)(WorkItem#6353)。\n\t-为容器控件(比如Panel,Region,Tab等)增加AJAX\u003Cem\u003E属性\u003C\u002Fem\u003EIFrameUrl(feedback:BluesT)。\n\t-重新设计模拟树的下拉列表的实现,避免选\u003Cem\u003E中\u003C\u002Fem\u003E某项后的闪烁。\n\t\t\t\n\n\n+2009-11-21 v2.1.5\n\t+Tree优化。\n\t\t-修正Expanded项和Checked项的状态在回发\u003Cem\u003E改变\u003C\u002Fem\u003E后不能保持的BUG。\n\t\t-GetNodeById更名为FindNode,保持和FindControl一致命名。\n\t\t-删除CheckedNodeIDArray\u003Cem\u003E属性\u003C\u002Fem\u003E,增加GetCheckedNodes和GetCheckedNodeIDs函数。\n\t\t-删除ExpandedNodeIDArray\u003Cem\u003E属性\u003C\u002Fem\u003E,增加GetExpandedNodes和GetExpandedNodeIDs函数。\n\t\t-增加示例(data\u002Ftree_select_run.aspx),如何选\u003Cem\u003E中\u003C\u002Fem\u003E当前节点的所有子节点(feedback:wjl_wjl520)。\n\t\t+TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003ENodeId被重命名为NodeID,这是ExtAspNet\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003E命名约定。\n\t\t\t-同时更名的还有GridColumn的ColumnId-\u003EColumnID,GetColumnId-\u003EGetColumnID。\n\t\t\t-Grid1.Columns.FindColumnById函数被Grid1.FindColumn所替代。\n\t\t-为TreeCheckEventArgs,TreeExpandEventArgs,TreeCommandEventArgs增加Node\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-为所有控件增加Focus(覆盖Control默认的Focus函数)和GetFocusReference函数。\n\t-增加示例(other\u002Fcustom_postback.aspx)(feedback:thebox)。\n\t\t-如何自定义Javascript脚本和C#处理函数来响应键盘\u003Cem\u003E事件\u003C\u002Fem\u003E。\n\t-为Tree增加AutoLeafIdentification\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-增加示例(tree_auto_leaf_identification.aspx)(feedback:wdrabbit)。\n\t\n\t\n\n+2009-11-17 v2.1.4\n\t-修正Window的关闭按钮提示信息一直是\u003Cem\u003E中\u003C\u002Fem\u003E文的BUG(feedback:thebox)。\n\t-部分ExtAspNet控件的设计时支持(会在后续版本\u003Cem\u003E中\u003C\u002Fem\u003E逐步完善)。\n\t-v0.2beta2版本\u003Cem\u003E中\u003C\u002Fem\u003E关于PersistChildren(true)的描述有误,这个是设计时\u003Cem\u003E属性\u003C\u002Fem\u003E,和运行时是否保持状态没有关系。\n\t-修正CheckBox控件的CheckedChanged\u003Cem\u003E事件\u003C\u002Fem\u003E会被触发两次的BUG(Data PostBack-\u003EAutoPostBack, Event PostBack-\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack)。\n\t-为TextBox,TextArea,DatePicker,NumberBox,TriggerBox等控件增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(feedback:dk3214)。\n\t+为表单字段增加RequiredMessage,MaxLengthMessage,MinLengthMessage\u003Cem\u003E属性\u003C\u002Fem\u003E,用于指定验证失败时提示信息。\n\t\t-为空则使用默认的提示信息,默认的提示信息支持多语言,建议一般情况下使用默认信息。\n\t+为表单字段增加MarkInvalid和GetMarkInvalidReference函数(feedback:sun1299shine)。\n\t\t-增加示例:\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_validate.aspx\n\t\n\t\n\n+2009-10-19 v2.1.3\n\t+增加支持在AJAX时\u003Cem\u003E改变\u003C\u002Fem\u003E的控件\u003Cem\u003E属性\u003C\u002Fem\u003E列表(\u002Fajax.aspx)。\n\t\t-ExtAspNet支持原生的AJAX,也就是说控件的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E在AJAX过程\u003Cem\u003E中\u003C\u002Fem\u003E会反映到页面\u003Cem\u003E中\u003C\u002Fem\u003E,但并不是所有的控件\u003Cem\u003E属性\u003C\u002Fem\u003E都支持AJAX\u003Cem\u003E改变\u003C\u002Fem\u003E。\n\t-加载s.gif图片在本机进行,不会请求extjs.com远程资源(feedback:efrigate43,abaocoole)。\n\t-在AJAX回发后确保Asp.net的按钮控件仍然具有AJAX的特性。\n\t-更新\u002Fbasic\u002Flogin.aspx示例,使用验证图片(feedback:kedee)。\n\t-为Grid增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E和Row\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E,示例在\u002Fdata\u002Fgrid_autopostback.aspx(feedback:chenguizhu2006)。\n\t-为所有的表单字段增加AJAX\u003Cem\u003E属性\u003C\u002Fem\u003EReadOnly(feedback:skydb)。\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003ETemplateField生成到页面\u003Cem\u003E中\u003C\u002Fem\u003E控件具有唯一ID,例如Grid1_ct5_Label2,Grid1_ct6_Label2(feedback:geruger)。\n\t\n\t\n\n+2009-09-27 v2.1.2\n\t-为Tree控件增加GetExpandAllNodesReference和GetCollapseAllNodesReference两个函数。\n\t-修正RELEASE版本下多语言加载的BUG(feedback:yigehaoren)。\n\t-增加pt_BR语言,由Ujvari提供。\n\t+为所有Panel(包括Grid,Tree,\u003Cem\u003EForm\u003C\u002Fem\u003E等)增加枚举类型Icon,其\u003Cem\u003E中\u003C\u002Fem\u003E包含1700多个小图标。\n\t\t-如果Panel具有IconUrl\u003Cem\u003E属性\u003C\u002Fem\u003E,则IconUrl优先于Icon。\n\t\t-所有Icon的列表在icon.aspx。\n\t-为\u003Cem\u003EButton\u003C\u002Fem\u003E,MenuItem(Menu\u003Cem\u003EButton\u003C\u002Fem\u003E,MenuHyperLink),AccordionLink,TreeNode,Image(如果ImageUrl为空,则取Icon的值)增加Icon\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\n\t\n\n+2009-09-15 v2.1.1\n\t-修正不能动态修改AccordionPane\u003Cem\u003E属性\u003C\u002Fem\u003EItems的BUG。\n\t+为\u003Cem\u003EButton\u003C\u002Fem\u003E, Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加ConfirmTarget。\n\t\t-如果需要在父页面弹出确认对话框,需要设置ConfirmTarget=\"_parent\"(类似Window控件的Target=\"_parent\")。\n\t+为ExtAspNet.Alert.Show增加点击确定的JavaScript回调函数。\n\t\t-\u003Cem\u003E一个\u003C\u002Fem\u003E典型应用,在Window控件\u003Cem\u003E中\u003C\u002Fem\u003E打开新页面,如果传递的参数不正确,则首先提示参数不对然后关闭此弹出窗口。\n\t\t-ExtAspNet.Alert.Show(\"参数错误!\", String.Empty, ExtAspNet.ActiveWindow.GetCloseReference());\n\t+TreeNode的前面的多选框可以自动回发了。\n\t\t-为TreeNode增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E,增加\u003Cem\u003E事件\u003C\u002Fem\u003E数据类TreeCheckEventArgs,为Tree增加\u003Cem\u003E事件\u003C\u002Fem\u003ENodeCheck。\n\t\t-示例在:http:\u002F\u002Fextasp.net\u002Fdata\u002Ftree_run.aspx\n\t-Grid增加GetNoSelectionAlertInParentReference函数,用来表示没有选\u003Cem\u003E中\u003C\u002Fem\u003E任何一项时在父页面弹出对话框的JS代码。\n\t-修正IE7下不能以下划线作为CSS\u003Cem\u003E中\u003C\u002Fem\u003E类名的前缀的BUG(feedback:Steve.Wei)。\n\t-添加定时器控件\u003Cem\u003ETimer\u003C\u002Fem\u003E,用来定时发起AJAX请求。\n\t\n\t\n\n+2009-09-06 v2.1.0\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E的Pressed\u003Cem\u003E属性\u003C\u002Fem\u003E值能够正确的反映客户端的变化。\n\t-优化Tree控件的AJAX实现。\n\t+为页面的\u003Cem\u003EForm\u003C\u002Fem\u003E添加autocomplete=\"off\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-参考http:\u002F\u002Fwww.cnblogs.com\u002Fsanshi\u002Farchive\u002F2009\u002F09\u002F04\u002F1560146.html#1635830\n\t+添加对extjs3.0\u003Cem\u003E中\u003C\u002Fem\u003E所有语言的支持。\n\t\t-ExtAspNet扩展的多语言包在js\\languages\\extaspnet目录下,目前只有en,zh_CN,zh_TW三种实现\n\t\t-你可以向其\u003Cem\u003E中\u003C\u002Fem\u003E添加自己的语言版本,并执行js\\languages下的pack.bat打包,最后编译工程。\n\t\n\t\n\t\n+2009-09-01 v2.0.9\n\t-为ExtAspNet.Alert添加两个静态方法ShowInParent和GetShowInParentReference,用于在父页面弹出窗口。\n\t+在aspx页面\u003Cem\u003E中\u003C\u002Fem\u003E必须显示的声明控件的集合\u003Cem\u003E属性\u003C\u002Fem\u003E(比如Tabs(TabStrip), Items(PanelBase), Nodes(TreeNode))。\n\t\t-这将会影响所有的aspx页面,所以要特别关注。\n\t-重命名AccordionPanel为AccordionPane (这也是在Asp.net AJAX\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用的名称).\n\t+所有的面板默认有两个集合\u003Cem\u003E属性\u003C\u002Fem\u003E(Toolbars和Items).\n\t\t-尽管TabStrip, From, Tree, Accordion继承了Items\u003Cem\u003E属性\u003C\u002Fem\u003E,但是你并不能对其设置(此时Items是只读的).\n\t\t-这将会影响所有的aspx页面,一定要将工具条(Toolbars)和Items区分开来。\n\t-祝你生日快乐 - 小师妹妹。\n\n\n\n+2009-08-29 v2.0.8\n\t-ExtAspNet支持多语言(en,zh_CN,zh_TW),可以在Web.config\u003Cem\u003E中\u003C\u002Fem\u003E修改。\n\t-将所有的示例转化为英语版本。\n\t-修正Tree控件的\u003Cem\u003E一个\u003C\u002Fem\u003EBUG(定义Mappings\u003Cem\u003E属性\u003C\u002Fem\u003E时)。\n\t+PageManager.Instance应该存在于HttpContext.Current,而不是\u003Cem\u003E一个\u003C\u002Fem\u003E全局变量。\n\t -这个BUG导致Asp.net compatibility\u003Cem\u003E中\u003C\u002Fem\u003E的示例无法完成,现在已经修正。\n\t+去除PageManager\u003Cem\u003E中\u003C\u002Fem\u003E方法AddAjaxAspnetControls,增加\u003Cem\u003E属性\u003C\u002Fem\u003EAjaxAspnetControls。\n\t -这个\u003Cem\u003E属性\u003C\u002Fem\u003E和\u003Cem\u003EButton\u003C\u002Fem\u003E得Validate\u003Cem\u003EForm\u003C\u002Fem\u003Es\u003Cem\u003E属性\u003C\u002Fem\u003E类似,可以查看Asp.net compatibility\u003Cem\u003E中\u003C\u002Fem\u003E的示例。\n\t\n\t\n\n+2009-08-25 v2.0.7\n -为按钮增加DisableControlBeforePostBack\u003Cem\u003E属性\u003C\u002Fem\u003E - 回发之前是否禁用按钮,防止重复提交 - 默认为true。\n -Grid的Values\u003Cem\u003E属性\u003C\u002Fem\u003E访问限制由internal改为public,这就意味这可以自由\u003Cem\u003E改变\u003C\u002Fem\u003EGrid\u003Cem\u003E中\u003C\u002Fem\u003E每个单元格的值了。\n -增加示例-如何将Grid控件导出为Excel(data\\grid_excel_run.aspx)(feedback:503684912)。\n -如果TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=\"false\",则此项变灰并且不会被选\u003Cem\u003E中\u003C\u002Fem\u003E(feedback:your568)。\n -修正TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003ENavigateUrl不接受服务器端URL(以~\u002F开头)的BUG。\n -增加Accordion和Tree配合使用的示例(other\\accordion_tree_run.aspx)。\n -修正Panel图标不能显示的BUG(CSS\u003Cem\u003E中\u003C\u002Fem\u003Eclass名不能有$字符)。\n +去除PageLayout控件,此控件可以使用BorderLayout和指定PageManager的AutoSizePanelID\u003Cem\u003E属性\u003C\u002Fem\u003E来代替。\n\t\t-这样所有需要占据全屏的Panel(不管你是Accordion,Panel,ContentPanel,\u003Cem\u003EForm\u003C\u002Fem\u003E,GroupPanel,Simple\u003Cem\u003EForm\u003C\u002Fem\u003E,Tree还是Grid,TabStrip)都可以通过这种方式全屏。\n\t\t-简单方便,示例可以参考 default.aspx 或者 other\\accordion_tree_run.aspx。\n \n \n\n+2009-08-14 v2.0.6\n\t-动态生成菜单实例(other\\menu_dynamic_run.aspx和other\\menu_dynamic2_run.aspx)(feedback:shguo)。\n\t-优化AJAX的内部实现,每个页面保存的ViewState现在减少1\u002F3左右(重要更新)。\n\t-优化Tree节点的NodeId自动生成,减少ViewState占用。\n\t\n\n\n+2009-08-09 v2.0 beta5\n\t+ExtAspNet和Asp.net的提交按钮兼容\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:千帆)。\n\t\t-在2009-03-03 v1.3.0曾经提到这个兼容\u003Cem\u003E问题\u003C\u002Fem\u003E,并有这样的规则,如果Asp.net的按钮AJAX提交,必须设置UseSubmitBehavior=\"false\"\n\t\t--也就是说生成的input的type不能是\"submit\",而这个限制在有些情况下是不可原谅的。\n\t\t--我们做了优化,现在要使\u003Cem\u003E一个\u003C\u002Fem\u003EAsp.net的按钮能够AJAX提交,你不需要做任何设置(PageManager的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax为true即可,这是默认\u003Cem\u003E属性\u003C\u002Fem\u003E)。\n\t+PageManager的实例方法AddAjaxUpdateControl改名为AddAjaxAspnetControls,现在可以在Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E设置需要在AJAX\u003Cem\u003E中\u003C\u002Fem\u003E需要更新的Asp.net控件了。\n\t\t-在Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E设置了哪些需要在AJAX\u003Cem\u003E中\u003C\u002Fem\u003E更新的Asp.net控件会在回发时保持状态,可以通过RemoveAjaxAspnetControls来去除不需要更新的控件。\n\t\t-示例在aspnet\\fckeditor_run.aspx和aspnet\\aspnet_run.aspx。\n\t\t-FCKEditor和上传控件兼容。示例在aspnet\\fileupload_run.aspx。\n\t-修正ToolbarText的文本在AJAX下更新的BUG。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E的Pressed\u003Cem\u003E属性\u003C\u002Fem\u003E在AJAX可更新(feedback:mgzhenhong)。\n\t-更新所有示例。在IE7.0,IE8.0,Firefox3.5,Chrome2.0下测试通过。\n\t\n\n\n+2009-08-02 v2.0 beta4\n\t+和Asp.Net的\u003Cem\u003EForm\u003C\u002Fem\u003Es Authentication兼容[feedback:mgzhenhong]。\n\t\t-采用和Asp.Net Ajax类似的处理方式,需要在配置文件Web.config增加\u003Cem\u003E一个\u003C\u002Fem\u003EhttpModules。\n\t\t-现在支持Response.Redirect,你可以选择Response.Redirect或者ExtAspNet.PageContext.Redirect重定向页面,两者效果一样。\n\t\t-支持\u003Cem\u003EForm\u003C\u002Fem\u003EsAuthentication.RedirectFromLoginPage(accountID, false);这样的方法。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E增加Type\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003Ebutton\u003C\u002Fem\u003E,reset,submit)[feedback:mgzhenhong]。\n\t-修正Alert.Show方法不能指定文本前图片的BUG[feedback:xmq&mgzhenhong]。\n\t-修正IE下某些弹出窗口的IFrame第一次不能加载的BUG。\n\t-增加Menu和Accordion的示例。\n\t-修正Window控件的IconUrl有时不显示(Target=\"_parent\")的BUG[feedback:xmq&mgzhenhong]。\n\t\n\n\n+2009-07-22 v2.0 beta3\n\t-兼容FCKEditor。\n\t-在IE8.0,Firefox3.5下测试通过。以后ExtAspNet将不会对IE6.0提供支持。\n\t\n\n\n+2009-07-13 v2.0 beta2\n\t-集成extjs最新版本v3.0。\n\t+兼容IE6.0-7.0-8.0。\n\t\t-这应该是Extjs3.0的\u003Cem\u003E一个\u003C\u002Fem\u003EBUG,在IE6.0-7.0下面设置Ext.QuickTips.init();会导致\u003Cem\u003Ebutton\u003C\u002Fem\u003E的\u003Cem\u003Eclick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E无法响应(IE8下无此\u003Cem\u003E问题\u003C\u002Fem\u003E)。\n\t\t-目前先禁用IE6.0-7.0的QuickTips。\n\t-优化底层JavaScript。\n\t\n\t\n\t\n+2009-07-05 v2.0 beta1\n\t-更新extjs库到最新版本v3.0 RC2; 目前只有\u003Cem\u003E一个\u003C\u002Fem\u003E缺省皮肤(Theme)。\n\t-使用YUI Compressor压缩JavaScript和CSS文件。\n\t-Release版本每个页面只包含\u003Cem\u003E一个\u003C\u002Fem\u003EJavaScript文件(语言文件除外)和\u003Cem\u003E一个\u003C\u002Fem\u003ECSS文件。\n\t-ExtAspNet自身的CSS会紧挨着页面\u003Ctitle\u003E标签引入,这样在\u003Chead\u003E\u003Cem\u003E中\u003C\u002Fem\u003E自定义的样式可以覆盖ExtAspNet缺省样式。\n\t+Alert对话框会遮挡所有的Window窗口。\n\t\t-使用\u003Cem\u003E一个\u003C\u002Fem\u003E变通的方法解决,因为无法\u003Cem\u003E改变\u003C\u002Fem\u003EExt.Message的默认z-index(9000)所以将box.window_default_group的zseed调整为6000。\t\n\t-为所有按钮的左右增加5px的空白边距:.x-btn \u003Cem\u003Ebutton\u003C\u002Fem\u003E { margin: 0 5px !important; }。\n\t-因为下拉列表不可编辑,所以不能为空,如果不设置SelectedIndex或SelectedValue,则默认选\u003Cem\u003E中\u003C\u002Fem\u003E第一项。\n\t-重新绑定模拟树的下拉列表后,选\u003Cem\u003E中\u003C\u002Fem\u003E项的前面有图片的HTML标签的BUG。\n\t-更新自定义JavaScript组件Ext.ux.SimplePagingToolbar。\n\t-更新示例工程。\n\t\n\t\n\n+2009-03-25 v1.3.1\n\t-Tree在AJAX回发展开节点时JS错误[feedback:xlli]。[fixed]\n\t-Window\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003EEnable\u003C\u002Fem\u003EIFrame==false,则点击关闭按钮时报JS错误。[fixed]\n\t-页面包含FileUpload控件,需要点击按钮回发并上传文件,则不能采用原生AJAX方式。(参见示例aspnet\u002Ffileupload.aspx)[fixed]\n\t-HtmlEditor显示隐藏工具栏按钮不起作用,HtmlEditor目前不支持\u003Cem\u003EEnable\u003C\u002Fem\u003Ed和Readonly两个\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t\n\t\n\n+2009-03-03 v1.3.0\n\t-如果弹出的窗口(Ext-Window)含有ASP.NET控件FileUpload,则此弹出窗口在关闭时出现JS错误(http:\u002F\u002Fextjs.com\u002Fforum\u002Fshowthread.php?t=8129)[feedback:xlli]。[fixed]\n\t-如果页面\u003Cem\u003E中\u003C\u002Fem\u003E存在ASP.NET控件(TextBox),则第二次提交表单就会报错(视图状态不对,其实时没有更新EventValidation隐藏字段导致的\u003Cem\u003E问题\u003C\u002Fem\u003E)。[fixed]\n\t-页面上放置ExtAspNet-\u003Cem\u003EButton\u003C\u002Fem\u003E和ASP.NET-\u003Cem\u003EButton\u003C\u002Fem\u003E,则点击ExtAspNet-\u003Cem\u003EButton\u003C\u002Fem\u003E时激发的是ASP.NET-\u003Cem\u003EButton\u003C\u002Fem\u003E的\u003Cem\u003E事件\u003C\u002Fem\u003E,这个BUG和Extjs2.2.1\u003Cem\u003E中\u003C\u002Fem\u003EExt.Ajax.serialize\u003Cem\u003EForm\u003C\u002Fem\u003E的实现有关。[fixed]\n\t-ExtAspNet内部包含HtmlAgilityPack和Nii.JSON两个开源的第三方类库。[added]\n\t+如果以前你听过不要在ExtAspNet工程\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用ASP.NET标准控件的忠告,那么从v1.3.0版本开始,你可以忘掉这个说法,现在ExtAspNet控件和ASP.NET标准控件和平共处了。[fixed]\n\t\t-如果\u003Cem\u003E一个\u003C\u002Fem\u003EASP.NET按钮控件要使用ExtAspNet的原生AJAX,只需要设置\u003Cem\u003E属性\u003C\u002Fem\u003E UseSubmitBehavior=\"false\" 即可。\n\t\t-如果要在一次ExtAspNet的原生AJAX回发时更新ASP.NET控件的值,只需要调用PageManager的公共方法AddAjaxUpdateControl即可(示例:aspnet\u002Faspnet.aspx)。\n\n\n\n+2009-02-27 v1.2 beta9\n\t-网络连接出错时的“Ajax Error”改成更加友好的提示信息“本次连接失败!可能是网络连接出错,请刷新页面重试。”。[fixed]\n\t-自动测试功能会在以后版本\u003Cem\u003E中\u003C\u002Fem\u003E逐步完善。这个版本完成测试框架,采用Extjs\u003Cem\u003E中\u003C\u002Fem\u003EJS函数进行大部分的测试,对于一些难以测试的地方借助jQuery完成。[fixed]\n\t+系统底层代码优化(主要是Javascript的封装和BUG修复)。[fixed]\n\t\t-底层使用Javascript创建\u003Cem\u003E一个\u003C\u002Fem\u003EWindow控件的代码由原来的2000字符减少为500个字符。\t\n\t\t-PageContext静态类\u003Cem\u003E中\u003C\u002Fem\u003E的GetPageStateChangedFunction改名为GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedReference,底层代码优化。表示“获取当前页面\u003Cem\u003E中\u003C\u002Fem\u003E表单修改的确认提示框的脚本”。\n\t\t---[updated]删除PageContext\u003Cem\u003E中\u003C\u002Fem\u003E的GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedReference,使用CurrentActiveWindow\u003Cem\u003E中\u003C\u002Fem\u003E的GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference\u002FGetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseRefreshReference\u002FGetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedClosePostBackReference三个方法代替。\n\t\t-不会修改弹出页面的URL(Ext-Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame),以前为了实现功能为每个弹出页面添加box_parent_client_id查询字符串\n\t\t-去除PageManager的RegisterPageStateChangedScript\u003Cem\u003E属性\u003C\u002Fem\u003E,现在已经将这个功能实现为静态的JS方法。可以通过PageContext.Get\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedConfirmReference获取此方法的客户端脚本。\n\t\t---注意:以前的项目需要在所有的ASPX页面\u003Cem\u003E中\u003C\u002Fem\u003E查找RegisterPageStateChangedScript\u003Cem\u003E属性\u003C\u002Fem\u003E,并删除,否则会运行错误!\n\t\t-A页面有Ext-Window控件弹出B页面,B页面有Ext-Window控件弹出C页面,B页面的Ext-Window控件设置Target='_parent',则弹出的Ext-Window(C页面)会覆盖整个A页面,这是正确的。\n\t\t---当时如果用户直接访问B页面,就会报JS错误,因为此时找不到B页面的父页面A了。现在的版本修正为如果找不到父页面,则就在当前页面弹出窗口,这样用户直接访问B页面也不会出错了。\n\t\t-Window控件的GetIFramePageStateChangedFunction函数改名为GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference,表示“获取先确认IFrame的页面\u003Cem\u003E中\u003C\u002Fem\u003E表单\u003Cem\u003E改变\u003C\u002Fem\u003E,然后关闭弹出窗口的客户端脚本”。\n\t\t---为Window控件增加如下两个方法GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseRefreshReference和GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedClosePostBackReference,表示“先确认表单\u003Cem\u003E改变\u003C\u002Fem\u003E,然后关闭弹出Ext-Window,再然后刷新父页面或回发父页面”。\n\t\t---Window控件的OnClientClose\u003Cem\u003EButton\u003C\u002Fem\u003E\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E如果不设置,则默认采用GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference,也即是先判断表单是否更新,然后在关闭窗口。\n\t\t---现在可以很方便的为Window控件的关闭按钮添加关闭后刷新父页面或者关闭后回发父页面的行为。\n\t\t-如果弹出窗口(Window控件)\u003Cem\u003E中\u003C\u002Fem\u003EIFrame的页面不能正常加载(网络暂时出错或页面抛出异常),则此时点击右上角的关闭按钮会报JS错误,因为此时页面尚未加载完毕。\n\t\t---此版本修正了这个BUG,即时页面不能加载完全,也能通过右上角的关闭按钮关闭弹出含IFrame的窗体。\n\t\t-Window控件的IFrameName\u003Cem\u003E属性\u003C\u002Fem\u003E是自动生成的,只读\u003Cem\u003E属性\u003C\u002Fem\u003E。(因为有可能所有的Ext-Window最终都渲染到最外层的页面,为了保证这些IFrame的name不同,IFrameName使用的是GUID,内部处理)。\n\t\t-CurrentActiveWindow改名为ActiveWindow。\n\t\t-[特别注意]GetWriteBackValueReference(string controlClientIds, string value, params string[] values)函数现在的定义是GetWriteBackValueReference(params string[] values)\n\t\t---所有调用GetWriteBackValueReference的地方,需要删除第\u003Cem\u003E一个\u003C\u002Fem\u003E参数(一般是ActiveWindow.GetLoadStateReference())。\n\t\t\n\t\n\n+2009-02-23 v1.2 beta8\n\t-ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E内容不能自动扩展高度的BUG[feedback:huihuang]。[fixed]\n\t-DropDownList在Ajax回发时不能计算模拟树的数据[feedback:huihuang]。[fixed]\n\t-DropDownList在页面第一次加载时没有不可选择项,则回发时也不会有不可选择项的BUG。[fixed]\n\t-升级底层ExtJS类库为v2.2.1(此版本主要是Chrome的支持和部分内存泄漏\u003Cem\u003E问题\u003C\u002Fem\u003E的修正)。[fixed]\n\t-页面加载过程\u003Cem\u003E中\u003C\u002Fem\u003E的时间信息保存在Javascript变量window.box.timeInfo\u003Cem\u003E中\u003C\u002Fem\u003E。[added]\n\t+增加部分自动测试支持(使用WatiN和NUnit),下个版本将会提供完整的自动测试支持。[fixed]\n\t\n\t\n\n+2008-10-28 v1.2 beta7\n\t-DropDownList没有选\u003Cem\u003E中\u003C\u002Fem\u003E任何一项,回发时报错[feedback:huihuang]。[fixed]\n\t-Window显示位置不对,以及不能拖动的BUG[feedback:huihuang]。[fixed]\n\t+PageContext优化。[fixed]\n\t\t-去除RegisterExclusiveScript静态函数(这是没有原生ajax之前的产物),使用RegisterStartupScript替代。\n\t\t-去除RegisterStartupScript的重载函数,只保留最简单的PageContext.RegisterStartupScript(string script)函数。\n\t\t-Resirect增加重载函数Redirect(string url, string target),其\u003Cem\u003E中\u003C\u002Fem\u003Etarget可能的取值为_self,_parent,_top,分别表示在当前窗口,父窗口,顶级窗口重定向[feedback:jqpeng]。\n\t-Image控件增加ImageWidth\u002FImageHeight\u002FImageCssStyle\u002FImageCssClass\u002FImageAlt\u003Cem\u003E属性\u003C\u002Fem\u003E[feedback:jqpeng]。[fixed]\n\t-发布包\u003Cem\u003E中\u003C\u002Fem\u003E增加\u003Cem\u003E一个\u003C\u002Fem\u003EWeb.config.txt,这是\u003Cem\u003E一个\u003C\u002Fem\u003E空的Web.config文件,包含BOX基本的配置信息。[fixed]\n\t-ContentPanel的ShowHeader和ShowBorder\u003Cem\u003E属性\u003C\u002Fem\u003E默认也是true(注意更新以前的应用)。[fixed]\n\t-Row和Column布局时,修正IE下设置RowHeight=\"100%\"时显示不正确的BUG。[fixed]\n\t-AccordionLink当鼠标移上和移开时,有背景色的变化效果[feedback:huihuang]。[fixed]\n\t+TabStrip的Tab控件的\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E会在回发时保持(也即是说如果\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack=true,回发时没\u003Cem\u003E改变\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack的值,则每次切换到此Tab都会回发)。[fixed]\n\t\t-有这样\u003Cem\u003E一个\u003C\u002Fem\u003E效果,如果Tab1默认显示,Tab1的\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack=true,则页面加载完毕后会回发Tab1一次。\n\t\n\t\n\n+2008-10-20 v1.2 beta6\n\t+使用控件的站点必须建立虚拟目录,否则会报JS错误(即是脚本资源没有加载),却原来是HTTPCompress组件的\u003Cem\u003E问题\u003C\u002Fem\u003E。[fixed]\n\t\t-需要替换新的blowery.Web.HttpCompress.dll,解决方案见http:\u002F\u002Fpohee.com\u002Fit\u002Fhttp-compression-in-aspnet-20\u002F。\n\t+DropDownList优化。[fixed]\n\t\t-去除\u003Cem\u003EEnable\u003C\u002Fem\u003EFirstItem\u002FFirstItemText\u002FFirstItemValue,这个并不能带来很大的好处,反而容易让开发人员困惑。\n\t\t 现在可以方便的在后台DropDownList1.Items.Insert(0, new ExtAspNet.ListItem(\"全部\", \"-1\"));来达到同样的效果。\n\t\t+如果某项(ListItem)的Value为空字符串,则通过SelectedIndex和SelectedValue不能选\u003Cem\u003E中\u003C\u002Fem\u003E[feedback:jqpeng]。\n\t\t\t-和Asp.net\u003Cem\u003E中\u003C\u002Fem\u003E的保持一致,ListItem的Value值可以为空字符串。 也就是可以这样写DropDownList1.SelectedValue = \"\";\n\t\t-ListItemCollection增加重载函数Add(string text, string value),这样方便后台添加列表项。\n\t-处于布局内的容器控件(Layout!=LayoutType.Container),AutoHeight会自动设置为false(避免开发人员发生此类错误)。[fixed]\n\t-注意,控件的高度指的是整个控件的高度,包含BodyPadding(这和CSS\u003Cem\u003E中\u003C\u002Fem\u003E的height不同,CSS\u003Cem\u003E中\u003C\u002Fem\u003E的height是指内容的高度,除去padding\u002Fborder-width\u002Fmargin)。[fixed]\n\t+为所有控件\u003Cem\u003E属性\u003C\u002Fem\u003E增加在VS\u003Cem\u003E中\u003C\u002Fem\u003E的智能提示。[fixed]\n\t\t-需要将ExtAspNet.XML和ExtAspNet.dll放在一起,这样引用dll时xml会被拷贝到bin目录下,提供VS的智能提示。\n\t+控件的\u003Cem\u003E属性\u003C\u002Fem\u003E如果是枚举类型,如果此\u003Cem\u003E属性\u003C\u002Fem\u003E可以不取值,则默认为None。[fixed]\n\t\t-TriggerIconType.Default -\u003E TriggerIconType.None\n\t\t-SystemIconType.Empty -\u003E SystemIconType.None\n\t\t-RegexPattern.USER_DEFINED -\u003E RegexPattern.None\n\t-表单验证\u003Cem\u003E属性\u003C\u002Fem\u003E名称变化(ValueToCompare-\u003ECompareValue,ControlToCompare-\u003ECompareControl)。[fixed]\n\t+注意:\u003Cem\u003E一个\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E可以拥有多个值的情况。[fixed]\n\t\t-\u003Cem\u003E属性\u003C\u002Fem\u003E和CSS相关则用空格分隔(比如ColumnWidths,BodyPadding)。\n\t\t-其他的都是逗号分隔(比如Validate\u003Cem\u003EForm\u003C\u002Fem\u003Es,DataKeyNames,DataNavigateUrlFields)。\n\t+AccordionLink实现为控件。[fixed]\n\t\t-可以方便的在子页面(iframe)\u003Cem\u003E中\u003C\u002Fem\u003E通过js切换父页面\u003Cem\u003E中\u003C\u002Fem\u003E选\u003Cem\u003E中\u003C\u002Fem\u003E的菜单项(Accordion-\u003EAccordionLink)(示例在other\u002Faccordion_links_run.aspx,other\u002Faccordion_links_run_iframe_htm)[feedback:jima]。\n\t+确认:可以方便的动态添加控件,并且可以给控件添加服务器端\u003Cem\u003E事件\u003C\u002Fem\u003E(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic_run.aspx)。[fixed]\n\t\n\t\n\t\n+2008-10-15 v1.2 beta5\n\t-验证表单字段的ValueToCompare\u003Cem\u003E属性\u003C\u002Fem\u003E,为字符串时会出错的BUG。[fixed]\n\t+优化下拉列表。[fixed]\n\t\t-验证下拉列表时,应该取ListItem的Value\u003Cem\u003E属性\u003C\u002Fem\u003E进行验证,而不是Text\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-DropDownList的Items增加Insert方法(可方便的下拉列表选项添加“全部”)。\n\t\t-DropDownList不支持EmptyText\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-ListItem启用\u003Cem\u003EEnable\u003C\u002Fem\u003ESelect和SimulateTreeLevel\u003Cem\u003E属性\u003C\u002Fem\u003E,这样就可以直接在前台(ASPX)\u003Cem\u003E中\u003C\u002Fem\u003E设置哪些项不可选择,以及创建模拟下拉树。\n\t\t-DropDownList增加\u003Cem\u003EEnable\u003C\u002Fem\u003ESimulateTree\u003Cem\u003E属性\u003C\u002Fem\u003E(默认为false),如果设置了DataSimulateTreeLevelField,则自动将\u003Cem\u003EEnable\u003C\u002Fem\u003ESimulateTree设置为true。\n\t\n\t\n\n+2008-09-27 v1.2 beta4\n\t+\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader\u003Cem\u003E属性\u003C\u002Fem\u003E对所有容器的效果一样,Accordion的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader只会\u003Cem\u003E改变\u003C\u002Fem\u003EAccordion的标题大小,而不会对AccordionPanel起作用(示例见other\u002Faccordion_run.aspx)。[fixed]\n\t\t-Accordion去除\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E,AccordionPanel增加\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-影响以前使用Box的应用,需要将Accordion的\u003Cem\u003E属性\u003C\u002Fem\u003E去掉,然后为每个AccordionPanel增加\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader和\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-AccordionPanel鼠标移上去的样式调整(现在没有下面的一条白线了)。[fixed]\n\t+AccordionPanel增加Links\u003Cem\u003E属性\u003C\u002Fem\u003E,可以绑定列表数据到AccordionPanel,呈现的是链接的列表(示例在other\u002Faccordion_links_run.aspx)。[fixed]\n\t\t-原来放置在AccordionPanel\u003Cem\u003E中\u003C\u002Fem\u003E的容器,比如ContentPanel需要在外层加上\u003CItems\u003E标签。\n\t\t-适当增大AccordionPanel\u003Cem\u003E中\u003C\u002Fem\u003E链接的高度20px-\u003E22px,同时对链接的样式也做了微调。\n\t\t-通过BodyPadding控制链接列表的边距。\n\t\t-这样能大大减少ASPX\u003Cem\u003E中\u003C\u002Fem\u003EHTML代码和Javascript代码的书写,可以在后台动态添加链接,效果很赞,此需求由马季提出。\n\t\n\t\n\t\n+2008-09-25 v1.2 beta3\n\t+代码优化与设计时支持(尚需要不断完善,目前可以在ASPX页切换到“设计时”,方便\u003Cem\u003E属性\u003C\u002Fem\u003E的更改和\u003Cem\u003E事件\u003C\u002Fem\u003E处理函数的添加)。[fixed]\n\t\t-Panel\u002FGroupPanel\u002FContentPanel\u002FTree\u002FHiddenField\u002FPageLoading\n\t\t-TabStrip\u002FToolbar\n\t-TabStrip去除Plain\u003Cem\u003E属性\u003C\u002Fem\u003E,增加\u003Cem\u003EEnable\u003C\u002Fem\u003ETitleBackgroundColor(默认为true)。[fixed]\n\t-向\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E动态添加控件的BUG,现在\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic_run.aspx示例已经能正确运行。[fixed]\n\t+大部分容器的子控件集合更正为Items(以前有些是Rows)。[fixed]\n\t\t-影响的控件包括Toolbar\u002FAccordion\u002FAccordionPanel\u002FGroupPanel\u002FPanel\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FWindow等。\n\t\t-保留\u003Cem\u003EForm\u003C\u002Fem\u003E的Rows(\u003Cem\u003EForm\u003C\u002Fem\u003ERowCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E和Grid的Rows\u003Cem\u003E属性\u003C\u002Fem\u003E(GridRowCollection)。\n\t\t-保留TabStrip的Tabs(TabCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-保留PageLayout\u002FBorderLayout的Regions(RegionCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-预祝今晚神七发射成功。\n\t\n\t\n\t\n+2008-09-22 v1.2 beta2\n\t+Grid选\u003Cem\u003E中\u003C\u002Fem\u003E项(SelectedRowIndexArray)在ajax回发过程\u003Cem\u003E中\u003C\u002Fem\u003E存在BUG [feedback:xmzhu]。[fixed]\n\t\t-表现为对Grid进行多次删除添加操作后,SelectedRowIndexArray选\u003Cem\u003E中\u003C\u002Fem\u003E项\u003Cem\u003E中\u003C\u002Fem\u003E会存在当前不存在的行序号,导致服务器端遍历选\u003Cem\u003E中\u003C\u002Fem\u003E项时数组越界。所有使用box控件的应用程序都受到此BUG的影响,需尽快更新到新版本。\n\t+代码优化与设计时支持(示例\u003Cem\u003E中\u003C\u002Fem\u003E表单控件都已支持设计)。[fixed]\n\t\t-PageManager\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FHyperLink\u002FLabel\u002FImage\u002FLink\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FTextBox\n\t\t-TriggerBox\u002FTwinTriggerBox\u002FWindow\u002FTextArea\u002FHtmlEditor\u002FDatePicker\u002FNumberBox\n\t\t-CheckBox\u002FRadio\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FRadio\u003Cem\u003EButton\u003C\u002Fem\u003EList\u002FDropDownList\n\t\t-Grid\n\n\n\n+2008-09-19 v1.2 beta1\n\t-Image\u002FLink\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FHyperLink增加一些Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t+隐藏的方式由HideMode\u003Cem\u003E属性\u003C\u002Fem\u003E控制Visibility\u002FOffsets\u002FDisplay。[fixed]\n\t\t-修正\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E隐藏\u003Cem\u003E一个\u003C\u002Fem\u003E表单字段(Hidden=false)会占据页面空间的BUG。\n\t-ToolbarText\u002FToolbarFill\u002FToolbarSeparator在ASPX\u003Cem\u003E中\u003C\u002Fem\u003E设置Hidden=true不起作用的BUG [feedback:jbzhang]。[fixed]\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E去除MarginRight\u003Cem\u003E属性\u003C\u002Fem\u003E(可以通过CssStyle=\"margin-right:5px;\"达到相同的效果)[fixed]\n\t\n\t\n\t\n+2008-09-09 v1.1\n\t+Toolbar去除IsPageMenu\u003Cem\u003E属性\u003C\u002Fem\u003E,在网报\u003Cem\u003E中\u003C\u002Fem\u003E可以用自定义样式实现,而不应该写在控件\u003Cem\u003E中\u003C\u002Fem\u003E。[fixed]\n\t\t-网报:CssClass=\"toolbar-pagemenu\" CssStyle=\"border:0px;\",同时定义样式:.toolbar-pagemenu{ background: rgb(208, 222, 240) url(..\u002Fimages\u002Fpagemenu_toolbar_background.gif) repeat-x left top;}。\n\t-Region去除默认的Layout=Fit,如果希望Region使用Fit\u002FAnchor\u002FColumn\u002FRow等布局的话,需要手工指定。[fixed]\n\t-ToolbarSeparator\u002FToolbarFill在Ajax更新Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E的BUG。[fixed]\n\t+布局整理。[fixed]\n\t\t-新增Column\u002FAbsolute\u002FRow三种布局,加上以前的Container\u002FFit\u002FAnchor\u002FAccordion\u002FBorder\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E六种布局,总共有9\u003Cem\u003E中\u003C\u002Fem\u003E布局可供使用。\n\t\t-其\u003Cem\u003E中\u003C\u002Fem\u003E一些控件默认使用一种布局:Simple\u003Cem\u003EForm\u003C\u002Fem\u003E(\u003Cem\u003EForm\u003C\u002Fem\u003E)\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E(\u003Cem\u003EForm\u003C\u002Fem\u003E)\u002FPanel-GroupPanel(Container)\u002FAccordion(Accordion)\u002FPageLayout(Border)\u002FBorderLayout(Border)\u002FTabStrip(Card),所有布局控件默认的布局是Container。\n\t\t-经常用到的布局控件:Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FAccordion\u002FTabStrip\u002FBorderLayout,经常用到的布局:Fit\u002FRow\u002FAnchor\n\t\n\t\n\t\n+2008-09-08 v1.1 beta7\n\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenuHyperLink增加HideOn\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E,如果\u003Cem\u003E一个\u003C\u002Fem\u003E菜单项的作用仅仅为了弹出下级菜单,点击没反应,则可以这样设置HideOn\u003Cem\u003EClick\u003C\u002Fem\u003E=\"false\" CssStyle=\"cursor:default;\" [feedback:huayu]。[fixed]\n\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenuHyperLink\u002FMenuSeparator\u002FMenuText增加Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E(此\u003Cem\u003E属性\u003C\u002Fem\u003E是Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E,如果需要在Ajax时显示隐藏菜单,请使用此\u003Cem\u003E属性\u003C\u002Fem\u003E而不是Visible\u003Cem\u003E属性\u003C\u002Fem\u003E)。[fixed]\n\t+大部分的ExtAspNet控件增加Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E(少数几个控件没有此\u003Cem\u003E属性\u003C\u002Fem\u003E:Menu),这样在Ajax时可以显示隐藏控件。[fixed]\n\t\t-注意Visible和Hidden的区别:Visible=false的\u003Cem\u003E属性\u003C\u002Fem\u003E不会渲染到客户端,Hidden=true的控件渲染到客户端但是隐藏。\n\t\t-US的ExtAspNet改造强烈依赖于此\u003Cem\u003E属性\u003C\u002Fem\u003E,这个版本发布后可以继续。\n\t\t-网报\u003Cem\u003E中\u003C\u002Fem\u003E唯一没有用到ExtAspNetAjax的地方就是显示隐藏表单字段,现在也可以使用Ajax了。\n\n\n\n+2008-09-04 v1.1 beta6\n\t-PageContext.Redirect支持普通页面转向和ExtAspNetAjax下页面转向。[fixed]\n\t+模拟树的下拉列表的BUG(会使一些可选项变成不可选项)[feedback:xmzhu]。[fixed]\n\t\t-因为if(\"0,2,9,11,\".indexOf('1,')\u003E=0){ok},这显然是不对的,此BUG涉及很多控件(Grid,DropDownList,TabStrip)。\n\t\t-解决方法:testValue += '';if(domValue.split(',').indexOf(testValue) \u003E= 0){ok}。\n\t-DropDownList在Ajax时应该先更新数据再设置选定项 [feedback:xmzhu]。[fixed]\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenu\u003Cem\u003EButton\u003C\u002Fem\u003E增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EOnClient\u003Cem\u003EClick\u003C\u002Fem\u003E [feedback:xmzhu]。[fixed]\n\t-Tree的Ajax支持(尚需优化)。[fixed]\n\t\n\t\n\n+2008-09-02 v1.1 beta5\n\t-DropDownList如果第一次没有绑定值,应该绑定到[[]](二维数组),而不是[](一维数组)。[fixed]\n\t-模拟树的DropDownList,在Ajax重新绑定DataSource后,保持项是否可选状态是最新的(页面第一次加载时,即使没有数据也需要设置DataTextField\u002FDataValueField\u002FDataSimulateTreeLevelField\u002FData\u003Cem\u003EEnable\u003C\u002Fem\u003ESelectField等\u003Cem\u003E属性\u003C\u002Fem\u003E的值,否则Ajax回发时会出错)。[fixed]\n\t-UserControlConnector导致的Ajax错误,去除UpdatePanelConnector控件(以后不会用AspnetAjax,这个控件已经完成使命)。[fixed]\n\t-不要使用Asp.net的控件HiddenField,而是使用ExtAspNet的HiddenField,因为Asp.net的控件在Ajax不会被更新,所以会导致视图状态不一致的错误。[fixed]\n\t-网报Ajax整合基本完成(除了待审批-\u003E下一步[审核\u002F归档\u002F出纳]操作,由于需要显示隐藏表单字段,目前Ajax不支持,使用的还是普通的PostBack)。[fixed]\n\t-IE下,Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList\u003Cem\u003E中\u003C\u002Fem\u003E项如果存在汉字,则会换行的BUG。[fixed]\n\t-增加两个Theme[Slate\u002FBlack](样式尚需完善)。[fixed]\n\t\n\t\n\t\n+2008-09-01 v1.1 beta4\n\t-非当前Tab\u003Cem\u003E中\u003C\u002Fem\u003E如果有ContentPanel,则在页面上方会有空白(可以通过设置\u003Cem\u003EEnable\u003C\u002Fem\u003EDeferredRender=false解决,但会减慢页面的加载速度),现在已经解决这个\u003Cem\u003E问题\u003C\u002Fem\u003E。[fixed]\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList去除\u003Cem\u003EEnable\u003C\u002Fem\u003EBackgroundColor\u002F\u003Cem\u003EEnable\u003C\u002Fem\u003ELightBackgroundColor\u003Cem\u003E属性\u003C\u002Fem\u003E,背景色是透明的,也就是和父控件(Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E)的背景色一致。[fixed]\n\t-TwinTriggerBox的第\u003Cem\u003E一个\u003C\u002Fem\u003ETrigger图标不会先显示再隐藏,而是直接隐藏掉(如果用户设置ShowTrigger1=false)。[fixed]\n\t-Web.config\u003Cem\u003E中\u003C\u002Fem\u003E增加配置项\u003Cem\u003EForm\u003C\u002Fem\u003ELabelWidth=\"80\"(默认为80),同时PageManager增加\u003Cem\u003EForm\u003C\u002Fem\u003ELabelWidth\u003Cem\u003E属性\u003C\u002Fem\u003E用来控制页面上所有Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E的表单字段标题的宽度。[fixed]\n\t+完善Ajax。[fixed]\n\t\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003ESelectedIndex(SelectedValue\u002FSelectedItem)。\n\t\t-DropDownList增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003E\u002FSelectedIndex(SelectedValue\u002FSelectedItem)\u002FDataSource。\n\t\t-Grid增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EColumns(也就是说Grid列在回发时隐藏显示了一些,也能正确的Ajax)。\n\t\t-ToolbarText增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EText。\n\t\t\n\t\t\n\t\t\n+2008-08-31 v1.1 beta3\n\t-TabStrip增加\u003Cem\u003EEnable\u003C\u002Fem\u003EDeferredRender\u003Cem\u003E属性\u003C\u002Fem\u003E(是否启用延迟加载Tab,默认启用)。[fixed]\n\t-重定向页面,使用系统的方法 PageContext.Redirect(string url),使用Response.Redirect方法会出错。[fixed]\n\t+安全的Ajax设计。[fixed]\n\t\t-这个版本Ajax和上个版本(v1.1beta1)在设计思路上有很大区别,同时在速度上会有进一步的提升。\n\t\t-基本思想:安全的Ajax交互,明确Ajax回发时支持控件哪些\u003Cem\u003E属性\u003C\u002Fem\u003E的\u003Cem\u003E改变\u003C\u002Fem\u003E,这将适合90%的应用场景(并且具有极快的反应速度),对于需要UI大改动的可采用常规回发,系统提供控件级别的\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-整理支持Ajax的控件\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E列表(所有被支持的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E都是安全的、快速的,所有不被支持的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E不会对UI起作用,同时是安全的,不会有js错误)。\n\t-网报Ajax整合(目前只支持所有的列表页面)(v0.8.1)。[fixed]\n\t\n\t\n\t\n+2008-08-29 v1.1 beta1\n\t+Window控件是否弹出的状态在回发时维持。[fixed]\n\t\t-控件设计的\u003Cem\u003E一个\u003C\u002Fem\u003E原则,凡是可以在客户端\u003Cem\u003E改变\u003C\u002Fem\u003E的\u003Cem\u003E属性\u003C\u002Fem\u003E都应该在回发时保持\u003Cem\u003E属性\u003C\u002Fem\u003E的状态。\n\t+完全抛弃Asp.NetAjax,ExtAspNet控件内置Ajax支持。[fixed]\n\t\t-这是\u003Cem\u003E一个\u003C\u002Fem\u003E值得骄傲的设计,可以明显提高页面回发的速度(相比普通的回发和Asp.netAjax的回发),对于IFrame框架的交互也起到很好的加速效果。\n\t\t-不需要做任何配置,所有的回发都是Ajax(在Web.config和PageManager\u003Cem\u003E中\u003C\u002Fem\u003E有设置启用Ajax回发的\u003Cem\u003E属性\u003C\u002Fem\u003E-\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax-默认为true)。\n\t\t+在这种设计下,其实可以完全抛弃Javascript。\n\t\t\t-比如简单的点击\u003Cem\u003E一个\u003C\u002Fem\u003E按钮弹出窗口,可以在\u003Cem\u003EButton\u003C\u002Fem\u003E的On\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E设置Window1.Popup=true,也可以注册\u003Cem\u003EButton\u003C\u002Fem\u003E的OnClient\u003Cem\u003EClick\u003C\u002Fem\u003E=Window1.GetShowReference()。\n\t\t\t-第一种方法需要回发,但是我们内置的Ajax支持能很快的返回需要的结果并解析,在网络速度很快的情况下和第二种方法差别不是很大。\n\t\t\t-推荐的做法是尽量用客户端实现,客户端实现复杂的直接用服务器端实现。\n\t\t+目前ExtAspNetAjax的限制。\n\t\t\t-只对ExtAspNet控件起作用,对Asp.net控件不起作用。\n\t\t\t-对容器控件(有子控件的控件)不起作用,只对最底层的控件起作用。\n\t\t\t-对\u003Cem\u003E改变\u003C\u002Fem\u003E控件的Visible\u003Cem\u003E属性\u003C\u002Fem\u003E会有错误。\n\t\t\t-Window控件的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E只有少数几个起作用(Popup,IFrameUrl)。\n\t-PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPageLoading和\u003Cem\u003EEnable\u003C\u002Fem\u003EAjaxLoading(启用页面第一次加载标示和Ajax加载标示,默认都为true),所以如果使用系统默认的加载标示就不必每个页面都添加PageLoading控件。[fixed]\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E的回发\u003Cem\u003E事件\u003C\u002Fem\u003E(主要是Link\u003Cem\u003EButton\u003C\u002Fem\u003EField和CheckBoxField(RenderAsStaticField=false))要延迟0ms执行,这样当前行被选\u003Cem\u003E中\u003C\u002Fem\u003E的状态在回发后会得到保持。[fixed]\n\t-Grid选\u003Cem\u003E中\u003C\u002Fem\u003E行的状态在第一次回发时不能保持的BUG。[fixed]\n\t\n\t\n\t\n+2008-08-26 v1.0\n\t+已知\u003Cem\u003E问题\u003C\u002Fem\u003E:IE的ActiveX插件IE Developer Toolbar会对IFrame的加载造成0.5m左右的延迟。\n\t\t-主要是父页面加载\u003Cem\u003E一个\u003C\u002Fem\u003E比较大的css文件(~100k),则每次打开iframe页面,onload\u003Cem\u003E事件\u003C\u002Fem\u003E的调用都会有500ms左右的延迟,在测试IE性能时要禁用此插件。\n\t+优化弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003EIFrame的显示速度。[fixed]\n\t\t-在当前页面弹出窗口需要~20ms,在父页面弹出窗口需要100~300ms。通过缓存弹出的窗口实例,从而第二次弹出窗口不再需要创建时间。\n\t-PageLayout的Region增加SplitColor\u003Cem\u003E属性\u003C\u002Fem\u003E,默认的背景色是透明的。(在网报\u003Cem\u003E中\u003C\u002Fem\u003E需要设置SplitColor=\"#CADDF7\",以便分隔符的颜色和Toolbar的颜色一致)[fixed]\n\t+PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003ETheme、Language、\u003Cem\u003EForm\u003C\u002Fem\u003EMessageTarget、\u003Cem\u003EForm\u003C\u002Fem\u003EOffsetRight等\u003Cem\u003E属性\u003C\u002Fem\u003E,这些\u003Cem\u003E属性\u003C\u002Fem\u003E可以在Web.config\u003Cem\u003E中\u003C\u002Fem\u003E设置(推荐方法),也可以为每个页面设置。[fixed]\n\t\t-\u003Cem\u003E一个\u003C\u002Fem\u003E典型的应用是为每个用户设置不同的皮肤(根据用户浏览器\u003Cem\u003E中\u003C\u002Fem\u003ECookie设置的值)(示例在default.aspx)。\n\t-TreeNode增加\u003Cem\u003E属性\u003C\u002Fem\u003ESingle\u003Cem\u003EClick\u003C\u002Fem\u003EExpand,表示点击可切换节点的折叠展开状态。[fixed]\n\t+TabStrip\u003Cem\u003E中\u003C\u002Fem\u003E非当前Tab会延迟渲染。[fixed]\n\t\t-这会明显加快页面的渲染速度,网报\u003Cem\u003E中\u003C\u002Fem\u003E\u003Cem\u003E一个\u003C\u002Fem\u003E典型的费用审批页面可以减少200ms的渲染时间。\n\t\t-由于非当前Tab不会在页面加载时渲染,所以那些Tab\u003Cem\u003E中\u003C\u002Fem\u003E的节点在页面加载后也是不可见的,需要将相关的脚本移动到控件的render\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E。\n\t-不能比较两个DataPicker大小的BUG。[fixed]\n\t-TabStrip延迟加载引起的BUG(非当前Tab\u003Cem\u003E中\u003C\u002Fem\u003E的ContentPanel会占据页面空间,已修正)。[fixed]\n\t-全新的ExtAspNet.Examples(基础知识\u002F表单控件\u002F数据绑定\u002F容器布局\u002FIFrame框架)。[fixed]\n\t\n\t\n\t\n+2008-08-19 v0.4 beta6\n\t+PageManager增加两个\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003EEnable\u003C\u002Fem\u003EInlineStyleJavascript\u002FApplyParentStyleJavascript),可以在IFrame页面\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用父页面的脚本和样式(示例在iframe\u002Fdefault.aspx和iframe\u002Fpage3.aspx)。[fixed]\n\t\t-测试发现,IFrame页面的加载速度并没有明显加快,可以先不使用此\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList放在在BorderLayout\u003Cem\u003E中\u003C\u002Fem\u003E显示不了的BUG [feedback:zgjiang2]。[fixed]\n\t+extjs的BUG,当页面\u003Cem\u003E中\u003C\u002Fem\u003E含有iframe时,Ext.onReady会被调用两次(IE6\u002FIE7)(http:\u002F\u002Fwww.extjs.net\u002Fforum\u002Fshowthread.php?t=43246)(示例在test.aspx)[fixed]\n\t\t-现在的解决方法是在初始化时:if(this.initialized){return;}this.initialized=true;\n\t+需要先回发页面再弹出IFrame窗口。[fixed]\n\t\t-在回发时设置窗口的Popup和IFrameUrl\u003Cem\u003E属性\u003C\u002Fem\u003E,因为这些\u003Cem\u003E属性\u003C\u002Fem\u003E是可以保持状态的,所以在关闭窗口时要注意设置Popup=false。\n\t\t-另一种做法(推荐):PageContext.RegisterStartupScript(Window99.GetShowReference(\".\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx\"));。\n\t\n\t\t\n\t\n+2008-08-15 v0.4 beta5\n\t-点击关闭窗口的按钮,在IE6下会有JS错误。[fixed]\n\t-增加BorderLayout控件,示例在iframe\u002Fborderlayout.aspx。[fixed]\n\t+Radio\u003Cem\u003Ebutton\u003C\u002Fem\u003Elist显示有重影(示例在radio.aspx)。[fixed]\n\t\t-全新的样式。\n\t\t-去除Horizontal\u003Cem\u003E属性\u003C\u002Fem\u003E,增加ColumnNumber(可以设置渲染成几列)。\n\t\t-GetValueReference取得的值不正确的BUG。\n\t-动态向\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E添加\u003Cem\u003EForm\u003C\u002Fem\u003ERow,并动态的向\u003Cem\u003EForm\u003C\u002Fem\u003ERow\u003Cem\u003E中\u003C\u002Fem\u003E添加表单字段,以及如何取得表单字段的值。(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic.aspx)[fixed]\n\t+IFrame弹出窗口关闭后回发父页面,则会多加载IFrame一次,再次打开窗口会重复加载IFrame2-3次[feedback:xmzhu]。[fixed]\n\t\t-这是\u003Cem\u003E一个\u003C\u002Fem\u003E重要的BUG,会严重影响页面的加载速度。原因是通过脚本\u003Cem\u003E改变\u003C\u002Fem\u003E的IFrameUrl会在回发时保持状态,从而回发父页面后Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame被添加到页面,而这是不需要的。\n\t\t-现在\"是否弹出窗口、窗口标题、IFrameUrl\"在客户端的\u003Cem\u003E改变\u003C\u002Fem\u003E,不会影响服务器端的\u003Cem\u003E属性\u003C\u002Fem\u003E,也即是不保持状态。此\u003Cem\u003E问题\u003C\u002Fem\u003E解决。(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx)\n\t\n\t\n\t\n+2008-08-13 v0.4 beta4\n\t-点击关闭窗口的按钮,在IE下会有JS错误。[fixed]\n\t-Window的右上角关闭图标增加提示,优化\u003Cem\u003E事件\u003C\u002Fem\u003E响应。[fixed]\t\n\t-Window的代码重构。[fixed]\t\n\t+修正\u003Cem\u003E一个\u003C\u002Fem\u003E的内存泄漏。[fixed]\n\t\t-IE7下测试,打开iframe\u002Fdefault.aspx页面,iexplorer占内存68.368M。\n\t\t-内存存在泄漏时,点击iframe\u002Fpage3.aspx页面8次后iexplorer占118.792M内存。\n\t\t-修正后,点击iframe\u002Fpage3.aspx页面8次后iexplorer占76.492M内存。\n\t\t-IE窗口最小化时,IE会自动进行垃圾回收。\n\t\n\t\n\t\n+2008-08-12 v0.4 beta3\n\t-底层的javascript框架Extjs升级为v2.2,Grid的渲染速度有很大提升。[fixed]\n\t-Grid的\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender默认为true(如果没有设置Grid的高度或通过布局间接设置高度,则行不可见,可以通过AutoHeight=\"true\"解决)。[fixed]\n\t+页面正在加载的提示尽早的显示出来。[fixed]\n\t\t-首先在执行js来完成页面渲染之前延迟5ms,以便浏览器把当前页面内容显示出来。\n\t\t-加载js脚本的script标签放置在页面的最后,放置加载js而阻塞PageLoading的显示。\n\t\n\t\n\t\n+2008-08-08 v0.4 beta2\n\t-TabStrip延时加载出错。[fixed]\n\t-Window的IFrameUrl处理的BUG,比如Pages_ExtAspNet目录下的页面应该为.\u002FFE_ApplyEditor.aspx或~\u002FPages_ExtAspNet\u002FFE_ApplyEditor.aspx。[fixed]\n\t-Window的WindowPosition=\"Center\"并且Target=\"_parent\",则会JS错误。[fixed]\n\t-实现网报首页下拉菜单和左侧菜单的导航功能。[fixed]\n\t-Window的创建在页面显示后进行,不计算在js渲染时间内。[fixed]\n\t-优化费用申请页面(尽量减少不必要的层次嵌套)。[fixed]\n\t-\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx默认会加载\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx页面(Window控件的BUG)。[fixed]\n\t-Window\u003Cem\u003E中\u003C\u002Fem\u003E的保存并关闭按钮和Asp.netAjax冲突。[fixed]\n\t-优化关闭Window的js脚本,减少写到页面的js大小。[fixed]\n\t-加快“保存并关闭”按钮关闭窗口的速度,使用PageContext.RegisterExclusiveScript(CurrentActiveWindow.GetClosePostBackReference());,示例在(simple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。[fixed]\n\t\n\t\n\t\n+2008-08-05 v0.4 beta1\n\t-DropDownList去除Traditional\u003Cem\u003E属性\u003C\u002Fem\u003E,和传统的Asp.net控件一样不可编辑。[fixed]\n\t-DropDownList增加SelectedText\u003Cem\u003E属性\u003C\u002Fem\u003E(去除了模拟树时通过SelectedItem.Text的多余html字符)。[fixed]\n\t-为了加快渲染速度,去掉一些特效(比如Panel的折叠效果,Grid的拖动列效果等)[feedback:dcding]。[fixed]\n\t-将生成的js对象的名称简单化,这样可以减少生成的js内容,加快页面加载速度(\u003Cem\u003E一个\u003C\u002Fem\u003E典型页面的js由原来的33.0k降低为21.4k)。[fixed]\n\t+弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003E,点击按钮回发然后点击关闭按钮,出现js错误 [feedback:xmzhu]。[fixed]\n\t\t-因为在页面的Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E,if (!IsPostBack){PageContext.RegisterPageStateChangedStartupScript();}通过这样方法向页面注册了一段脚本,但是这段脚本在回发时没有注册到页面,因为js调用此脚本时报错。\n\t\t-一种解决方法是将向页面注册脚本的函数移动到if语句的外面,即每次都向页面注册此脚本。\n\t\t-另一种办法就是在PageManager控件\u003Cem\u003E中\u003C\u002Fem\u003E增加RegisterPageStateChangedScript(向页面注册监视页面\u003Cem\u003E中\u003C\u002Fem\u003E表单内容\u003Cem\u003E改变\u003C\u002Fem\u003E的脚本)的\u003Cem\u003E属性\u003C\u002Fem\u003E(会在每次页面回发(包含ajax回发)时注册脚本)(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。\n\t+PageManager控件增加ExecuteOnReadyWhenPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在onreadyscript.aspx)。[fixed]\n\t\t-这个手工添加onReady函数能够在每次页面回发时都注册脚本(包括Ajax局部回发),这就避免了手工去做的麻烦(已经在网报\u003Cem\u003E中\u003C\u002Fem\u003E遇到这种情况)。\n\t-每个页面必须添加\u003Cem\u003E一个\u003C\u002Fem\u003EPageManager控件,否则会出错,同时去除DesignTimeStyle控件(作为PageManager的\u003Cem\u003E属性\u003C\u002Fem\u003E出现)。[fixed]\n\t-TextField等表单字段增加Readonly\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t+全新设计的IFrame的架构(尽可能和基于MasterPage的架构保持兼容,和Asp.net Ajax保持兼容)。[fixed]\n\t\t-最大的好处是可以减少页面下载完毕后Javascript渲染时间(可以节约一般的渲染时间)。(所有示例在iframe文件夹下)\n\t\t+示例1,通过点击按钮弹出IFrame窗口,可直接关闭父页面,也可在关闭后刷新或回发父页面。(default.aspx\u002Fpage2.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\n\t\t\t-虽然IFrame和Master两种架构差异迥然,或许你以为需要修改一堆代码来完成这种转换,起初我也是这么认为的,但是现在你所要做的仅仅是为Window控件增加\u003Cem\u003E一个\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E(Target=\"_parent\"),就完成了两种框架的转换,是不是很酷。\n\t\t\t-显然,控件本身封装了大量的代码,简单来看现在有三个页面(default.aspx(A)\u002Fpage2.aspx(B)\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx(C)),其\u003Cem\u003E中\u003C\u002Fem\u003EA包含B页面,当你在B\u003Cem\u003E中\u003C\u002Fem\u003E打开包含有页面C的窗口时,窗口不是在B\u003Cem\u003E中\u003C\u002Fem\u003E打开,而是在A\u003Cem\u003E中\u003C\u002Fem\u003E打开,这样才能保证窗口覆盖整个页面,当你从C\u003Cem\u003E中\u003C\u002Fem\u003E返回需要回发页面B时,却发现取得的是A页面,因为我们窗口是在A页面\u003Cem\u003E中\u003C\u002Fem\u003E创建的。我会通过一篇文章来揭示这一过程,敬请期待。\n\t\t-示例2,Grid\u003Cem\u003E中\u003C\u002Fem\u003E弹出窗口。(default.aspx\u002Fpage3.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\t\n\t\t+示例3,TriggerBox弹出窗口。(default.aspx\u002Ftriggerbox.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\t\n\t\t\t-在整个页面弹出窗口或者在当前页面弹出窗口,仅仅设置Window的Target\u003Cem\u003E属性\u003C\u002Fem\u003E即可。\n\t\t-示例4,弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003E的弹出窗口。\n\t-对整个Examples更新测试。[fixed]\n\t\n\t\n\t\n+2008-07-31 v0.3 beta12\n\t-IE下TabStrip在Ajax回发后不会去掉x-hide-display样式,导致Tab显示为空的BUG。[fixed]\n\t-对TabStrip\u002FPanel\u002FWindow\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame重新设计,如果设置IFrameUrl=\"#\"或者\"about:blank\",则不渲染iframe到页面节点,同时第二次打开Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame不会有残影出现。[fixed]\n\t-如果TabStrip的Tab不是激活Tab并且设置了IFrameUrl,则会延迟加载(示例在tabstrip_iframe.aspx)。[fixed]\n\t-Tree控件,点击\u003Cem\u003E一个\u003C\u002Fem\u003E节点自动回发,则当前点击的那个节点的选\u003Cem\u003E中\u003C\u002Fem\u003E状态不会保持的BUG [feedback:zgjiang2]。[fixed]\n\t+规范关闭窗口时提示用户保存已经修改的内容提示的调用方式(包含iframe\u003Cem\u003E中\u003C\u002Fem\u003E关闭按钮和window右上角关闭图标的调用方式)(示例在grid_iframe.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。[fixed]\n\t\t-内部实现上,点击“保存并关闭按钮”,可以将关闭窗口的脚本更早的执行(在simple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx,PageContext.RegisterStartupScript增加重载函数),而不是原来的先创建整个页面UI,再关闭窗口。\n\t-参照Yslow的评分规则,将JS文件引用由head移动到body\u003Cem\u003E中\u003C\u002Fem\u003E。[fixed]\n\t-Firefox下,如果页面太长会出滚动条,原来在ViewPort样式\u003Cem\u003E中\u003C\u002Fem\u003E有body{overflow:hidden;}。[fixed]\n\t+IFrame内的页面宽度和高度会自动设置(是不是还在为1px\u002F2px的白边而烦恼,现在不用了:-)(示例在iframe_autosize.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E2.aspx)[fixed]\n\t\t-增加PageManager控件(需要指定AutoSizePanelID,即需要设置宽度和高度为整个页面的宽度和高度的Panel),HideScrollbar\u003Cem\u003E属性\u003C\u002Fem\u003E用于隐藏滚动条(IE\u002FFirefox)。\n\t\n\t\n\t\n+2008-07-24 v0.3 beta11\n\t-web.config配置信息\u003Cem\u003E中\u003C\u002Fem\u003EMessageTarget改名为\u003Cem\u003EForm\u003C\u002Fem\u003EMessageTarget,增加\u003Cem\u003EForm\u003C\u002Fem\u003EOffsetRight配置项,用来定义全局表单字段距离右边界的宽度,同时每个表单字段都增加OffsetRight\u003Cem\u003E属性\u003C\u002Fem\u003E [feedback:jima]。[fixed]\n\t-Window在回发时设置的Title不起作用的BUG。[fixed]\n\t-增加Image控件 [feedback:jima]。[fixed]\n\t-Tree控件,如果\u003Cem\u003E一个\u003C\u002Fem\u003E节点不是叶子节点并且没有子节点,则应把它的Expanded设置为false,否则会引起页面死循环回发 [feedback:zgjiang2]。[fixed]\n\t-Image增加ToolTipTitle\u002FToolTipAutoHide两个\u003Cem\u003E属性\u003C\u002Fem\u003E,当提示信息特别长时,可以让用户阅读完毕之后手工关闭提示信息(示例在hyperlink.aspx)。[fixed]\n\t-去掉DropDownList控件的Text\u003Cem\u003E属性\u003C\u002Fem\u003E(强制性),可以通过设置SelectedValue来设置选\u003Cem\u003E中\u003C\u002Fem\u003E哪一项 [feedback:xmzhu]。[fixed]\n\t-过滤提示消息\u003Cem\u003E中\u003C\u002Fem\u003E的换行符(转换为\u003Cbr\u002F\u003E),否则提示信息可能导致页面渲染错误 [feedback:dcding]。[fixed]\n\t\n\t\n\t\n+2008-07-23 v0.3 beta10\n\t+完善Tree控件。[fixed]\n\t\t-如何将数据库\u003Cem\u003E中\u003C\u002Fem\u003E的数据绑定到Tree(示例在tree2_bind_database.aspx)。\n\t\t-ajax加载树节点,放在UpdatePanel\u003Cem\u003E中\u003C\u002Fem\u003E才有ajax的效果(示例在tree2_ajax.aspx)。\n\t\t-更改TreeNode的ID为NodeId,否则两个树\u003Cem\u003E中\u003C\u002Fem\u003E不能有相同ID的TreeNode,这是不合理的。\n\t-Grid的GridColumn的ID改名成ColumnId,否则同\u003Cem\u003E一个\u003C\u002Fem\u003E页面放置两个Grid,它们的GridColumn的ID不能同名,这是不合理的。注意需要更新以前的代码![fixed]\n\t-Grid所有类型的列增加DataTooltipField\u002FDataTooltip\u003Cem\u003EForm\u003C\u002Fem\u003EatString两个字段,以显示ToolTip(示例在grid.aspx)。[fixed]\n\t\n\t\n\t\n+2008-07-22 v0.3 beta9\n\t+IE6下,左侧导航链接的选\u003Cem\u003E中\u003C\u002Fem\u003E样式,以及鼠标移上去和移开的样式不对。[fixed]\n\t\t-发现原来ie6不能正确解析li的高度,必须手工设置才行(style=\"height:20px;\")。\n\t+IE6\u002FIE7下,模拟树的下拉列表如果文字长度太长,则显示的文字会换行,导致错位。[fixed]\n\t\t-虽然最后未能解决\u003Cdiv style=\"width: 60px; white-space: nowrap; overflow: hidden; border: solid 1px red;\"\u003E\u003Cdiv style=\"width: 16px; height: 18px; float: left;\"\u003E##\u003C\u002Fdiv\u003E差旅交通费\u003C\u002Fdiv\u003E在IE和Firefox下显示的不同效果。\n\t\t-但是通过用\u003Cimg src=\"##\" \u002F\u003E来代替\u003Cdiv style=\"background:url(##)\" \u002F\u003E,从而实现FF和IE下样式的统一。\n\t\t-刚看到old9的解决方案:把“差旅交通费”改成“\u003Cspan style=\"margin-right: -1000px;\"\u003E差旅交通费\u003C\u002Fspan\u003E”,在IE下和FF下的都不换行,:-)\n\t-Link\u003Cem\u003EButton\u003C\u002Fem\u003E增加On\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E [feedback:huihuang]。[fixed]\n\t-Window通过设置IFrameUrl和Popup不起作用的BUG。[feedback:xmzhu]。[fixed]\n\t+增加树控件(Tree)(示例在tree2.aspx)。[fixed]\n\t\t-可以在回发时维持树的状态(选\u003Cem\u003E中\u003C\u002Fem\u003E行,折叠\u002F展开,CheckBox)。\n\t\t-可以通过Inline的方式添加树节点,也可以绑定到XmlDocument\u002FXmlDataSource\u002FSiteMap。\n\t\t-点击树节点可以链接到页面,也可以引发PostBack\u003Cem\u003E事件\u003C\u002Fem\u003E,可以添加自定义脚本。\n\t\n\t\n\t\n+2008-07-16 v0.3 beta8\n\t+ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置ExtAspNet控件,则渲染时会出现各种\u003Cem\u003E问题\u003C\u002Fem\u003E,比如下拉列表显示样式出错,Grid没了滚动条等等。[fixed]\n\t\t-隐蔽性非常强,原来在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E渲染ExtAspNet控件,如果容器的display='none',则会出现各种\u003Cem\u003E问题\u003C\u002Fem\u003E(主要是大小不对)。\n\t\t 必须设置容器为visibility='hidden',然后在渲染完成后显示容器。\n\t\t-现在Grid只要显示的设置高度和宽度,或者隐式的设定宽度高度(通过Anchor或Fit布局实现),只要超过Grid容器就会显示滚动条。\n\t+IE6下,在应用Asp.NetAjax后,\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E字段的宽度渲染不正确。[fixed]\n\t\t-调试相当困难,如果你有过在IE下通过alert发现\u003Cem\u003E问题\u003C\u002Fem\u003E的经历,你就能明白。\n\t\t-最后发现IE6下应用Asp.NetAjax后不仅\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E列的宽度设置不正确,而且主内容区域的宽度设置也不正确,不过最终我们还是顽强的修复了IE6下的这个BUG:\n\t\t 在MasterPage的onReady函数\u003Cem\u003E中\u003C\u002Fem\u003E,首先修正内容区域的宽度(region3.setWidth(pageLayout1.getSize().width - region2.getSize().width - 5);region3.doLayout();),然后修正页面\u003Cem\u003E中\u003C\u002Fem\u003E所有表单的宽度(box_fix\u003Cem\u003EForm\u003C\u002Fem\u003EWidthInIE6();):\n\t\t 示例在 Site.Master 页面。\n\t+集成的AspNetAjax有\u003Cem\u003E一个\u003C\u002Fem\u003E很大的BUG,只要你在页面上进行过ajax操作,当\u003Cem\u003E改变\u003C\u002Fem\u003E窗口大小时你会惊讶的发现内容区域的内容全部为空了![fixed]\n\t\t-解决方法相当怪异,经过\u003Cem\u003E一个\u003C\u002Fem\u003E下午的不断尝试,终于用\u003Cem\u003E一个\u003C\u002Fem\u003E怪异的方法解决(box.{0}.setSize(box.{0}.getSize());box.{0}.doLayout();),\n\t\t 这样的代码让我想起刷新窗口时那个方法(window.location.href=window.location.href;),不管怎么说,我对能很好的解决这个重大的BUG很是欣喜。\n\t\n\t\n\t\n+2008-07-14 v0.3 beta6\n\t-增加FlashObject控件。[fixed]\n\t-PageLoading增加\u003Cem\u003EEnable\u003C\u002Fem\u003EFadeOut\u003Cem\u003E属性\u003C\u002Fem\u003E(默认false),可以启用淡出效果。[fixed]\n\t-Accordion选\u003Cem\u003E中\u003C\u002Fem\u003E样式微调。[fixed]\n\t-预加载\u003Cem\u003EForm\u003C\u002Fem\u003E表单出错时提示信息的背景图片。[fixed]\n\t+Grid增加\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender\u003Cem\u003E属性\u003C\u002Fem\u003E(默认false),可以加快页面的渲染速度(\u003Cem\u003E一个\u003C\u002Fem\u003E典型的20个记录的页面,可提前0.7s-1s显示出来)。[fixed]\n\t\t-因为延迟加载数据不会\u003Cem\u003E改变\u003C\u002Fem\u003EGrid的大小,所以对于非布局内或不设定高度宽度的Grid,需要设置\"\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender=false\"。\n\t-\u003Cem\u003E改变\u003C\u002Fem\u003EGrid\u003Cem\u003E中\u003C\u002Fem\u003E静态的CheckBoxField图片。[fixed]\n\t-TabStrip增加TabIndexChanged\u003Cem\u003E事件\u003C\u002Fem\u003E,同时Tab增加\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack,可以在点击\u003Cem\u003E一个\u003C\u002Fem\u003ETab时引起回发\u003Cem\u003E事件\u003C\u002Fem\u003E。这在延迟加载Tab的内容非常有用。(示例在tabstrip.aspx)[fixed]\n\t\n\t\n\t\n+2008-07-12 v0.3 beta5\n\t-页面菜单Toolbar的分割符和背景不相融合。[fixed]\n\t-表单字段之间可以比较大小,比如NumberBox可以和Label比较大小,同时增加CompareType,来指定比较的类型(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_compare.aspx)。[fixed]\n\t\t-如果是同种类型的表单字段,不需要指定CompareType,比如两个NumberBox比较值的大小不需要指定CompareType,而\u003Cem\u003E一个\u003C\u002Fem\u003ENumberBox和TextBox比较大小需要指定CompareType。\n\t+如果在编辑页面使用AspNetAjax,则不能在回发时关闭当前窗口[feedback:huihuang](示例在ajax_editor_main.aspx\u002Fajax_editor.aspx)。[fixed]\n\t\t-这是由于ajax后执行的javascript\u003Cem\u003E中\u003C\u002Fem\u003E不能有return false语句。\n\t+在文本框失去焦点时,执行一些Javascript脚本(示例在textbox_blur.aspx) [feedback:xmzhu]。[fixed]\n\t\t-在页面添加onReady函数(会被系统调用),然后用javascript监视文本框值的\u003Cem\u003E改变\u003C\u002Fem\u003E。\n\t-弹出Window默认显示的错误页面,解决方法在当前目录添加\u003Cem\u003E一个\u003C\u002Fem\u003E空的html页面,然后把Window控件的IFrameUrl指向这个页面而不是\"#\"。[fixed]\n\t+弹出的窗口\u003Cem\u003E中\u003C\u002Fem\u003E的弹出窗口的如果内容发生变化,则点击右上角的关闭按钮时会有提示用户先保存的对话框,但是这个对话框的被第二个弹出窗口覆盖了 [feedback:xmzhu]。[fixed]\n\t\t-原来的调用方法太麻烦(见示例\u003Cem\u003E中\u003C\u002Fem\u003Ealert\\alert_1.aspx和alert\\alert_2.aspx,总计 6 行代码),现在只需要 3 行代码就OK了。\n\t-点击提交按钮后变成灰色不可再次点击(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_\u003Cem\u003Eclick\u003C\u002Fem\u003E_gray.aspx)[feedback:jima]。[fixed]\n\t+增加Menu、MenuText、MenuSeparator、Menu\u003Cem\u003EButton\u003C\u002Fem\u003E、MenuHyperLink控件,用于按钮的下拉菜单(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_menu.aspx)。[fixed]\n\t-增加Split\u003Cem\u003EButton\u003C\u002Fem\u003E控件。[fixed]\n\t\n\t\n\t\n+2008-07-09 v0.3 beta4\n\t-DataPicker默认的日期格式为(yyyy-MM-dd)。[fixed]\n\t+\u003Cem\u003EForm\u003C\u002Fem\u003E表单字段(TextBox,DropDownList...)之间可以比较大小 [feedback:huihuang]。[fixed]\n\t\t-增加ControlToCompare\u002FValueToCompare\u002FCompareOperator\u002FCompareMessage四个\u003Cem\u003E属性\u003C\u002Fem\u003E,示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_compare.aspx。\n\t+TabStrip\u003Cem\u003E中\u003C\u002Fem\u003E放置IFrame会出现渲染错误 (示例在tabstrip_iframe.aspx)[feedback:jima]。[fixed]\n\t\t-特殊处理,拥有IFrame的Tab如果不是激活Tab,则不设置Url,只有在激活时才设置Url。\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在radio.aspx) [feedback:xmzhu]。[fixed]\n\t-\u003Cem\u003EForm\u003C\u002Fem\u003ERow可以设置各列的宽度百分比 (示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_columnwidths.aspx)[feedback:jima]。[fixed]\n\t+表单字段\u003Cem\u003EEnable\u003C\u002Fem\u003E=false时显示颜色太浅 [feedback:jima]。[fixed]\n\t\t-覆盖缺省样式的.x-item-disabled,设置不透明。\n\t\n\t\n\t\n+2008-07-08 v0.3 beta3\n\t-Grid没有数据,向后翻页按钮可以点击的BUG [feedback:huihuang]。[fixed]\n\t+增加HiddenField控件。[fixed]\n\t\t-其实用TextBox也能模拟HiddenField的行为,只需要设置CssStyle=\"display:none;\"即可。\n\t+TriggerBox 如果 \u003Cem\u003EEnable\u003C\u002Fem\u003ETextBox = true,则不能将Text回发(这是html的限制)。[fixed]\n\t\t-最后的解决方案居然是设置 readonly=true,同时更改\u003Cem\u003E属性\u003C\u002Fem\u003E为 Readonly(示例在textbox2.aspx)。\n\t-模拟树的下拉列表在失去焦点后显示的文字不对的BUG。[fixed]\n\t+控制下拉列表某些项不可以选择(示例在dropdownlist2.aspx)。[fixed]\n\t\t-增加 Data\u003Cem\u003EEnable\u003C\u002Fem\u003ESelectField \u003Cem\u003E属性\u003C\u002Fem\u003E,不可选择的项变灰,并且鼠标经过时没有样式。\n\t-Link\u003Cem\u003EButton\u003C\u002Fem\u003E和Grid的Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加\u003Cem\u003EEnable\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在hyperlink.aspx和grid.aspx)。[fixed]\n\t\n\t\n\t\n+2008-07-07 v0.3 beta2\n\t+增加UpdatePanelConnector控件,支持在布局构建的页面使用Asp.net Ajax。[fixed]\n\t\t-使用UpdatePanelConnector有\u003Cem\u003E一个\u003C\u002Fem\u003E要求:ContentTemplate下只能有\u003Cem\u003E一个\u003C\u002Fem\u003E子节点,比如box:Panel。\n\t\t-示例在ajax3.aspx\u002Fcontent_page4.aspx。\n\t\t-示例content_page3.aspx\u003Cem\u003E中\u003C\u002Fem\u003E,点击“Ajax查询”按钮和关闭弹出的窗口(点击右上角的叉)都引发异步更新。\n\t \n\t \n\t\n+2008-07-03 v0.3 beta1\n\t+容器控件的AutoHeight\u002FAutoWidth默认为false。[fixed]\n\t\t-使用GroupPanel的地方需要手工添加AutoHeight=\"true\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t+增加UserControlConnector,可以在其\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件(示例在page_usercontrol.aspx)。[fixed]\n\t\t-也可以在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件,注意两者的区别。\n\t+增加ContentPlaceHolderConnector,替换原来Region的ContentPlaceHolderId\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在Site.master)。[fixed]\n\t+支持Asp.net ajax异步加载。[fixed]\n\t\t-有很大局限性,只能在ContentPanel\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用,示例在ajax1.aspx\u002Fcontent_ajax2.aspx\u003Cem\u003E中\u003C\u002Fem\u003E。\n\t\t-对于使用布局构建的页面(比如content_page1.aspx)还不能使用Asp.net ajax,因为页面是整体渲染的,先放弃。\n\t\n\t\n\t\n+2008-07-02 v0.2 beta12\n\t+关闭前提示当前页面已经被修改(示例在content_page1.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)[fixed]\n\t\t-支持Iframe内按钮和window右上角关闭按钮。\n\t\t-删除CloseAction\u003Cem\u003E属性\u003C\u002Fem\u003E,可以在后台通过OnClientClose\u003Cem\u003EButton\u003C\u002Fem\u003E\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E指定(为了和iframe\u003Cem\u003E中\u003C\u002Fem\u003E做法一致)。\n\t+iframe\u003Cem\u003E中\u003C\u002Fem\u003E的alert\u002Fconfirm要覆盖整个父页面,而不仅仅是iframe页面。[fixed]\n\t\t-在Firefox下还有\u003Cem\u003E问题\u003C\u002Fem\u003E。[fix pending]\n\t+排序时在标题栏显示排序箭头,可以排序的列标题光标为手形(示例在grid_sorting.aspx)。[fixed]\n\t\t-可以通过设置Grid1.CurrentSortColumnIndex = 0;来强制某列显示排序箭头。\n\t\t-可以通过 Grid1.Columns[Grid1.CurrentSortColumnIndex].SortExpression 的方式取得当前Grid的排序表达式。\n\t+HyperLinkField\u002FWindowField的链接地址支持服务器端格式(即是~\u002Falert.aspx)。[fixed]\n\t-TabStrip的Tab\u003Cem\u003E中\u003C\u002Fem\u003E如果放置ContentPanel,则内容渲染位置不正确。[fixed]\n\t-可以在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件(示例在page_usercontrol.aspx)。[fixed]\n\t\t\n\t\n\t\n+2008-06-30 v0.2 beta11\n\t-增加TwinTriggerBox控件(示例在twintriggerbox.aspx)。[fixed]\n\t-Grid的数据库分页需要增加\u003Cem\u003E属性\u003C\u002Fem\u003EIsDatabasePaging=true,以便普通分页和数据库分页,否则在添加删除记录时总记录数不会变化 [feedback:zgjiang2]。[fixed]\n\t-关闭Window时PostBack\u003Cem\u003E事件\u003C\u002Fem\u003EOnClose可以指定参数,来区分是哪些操作引发的PostBack\u003Cem\u003E事件\u003C\u002Fem\u003E [feedback:zgjiang2](示例在window_postback.aspx)。[fixed]\n\t-如果表单验证不通过,则需要弹出对话框提示(第\u003Cem\u003E一个\u003C\u002Fem\u003E没通过验证的字段)(目前还不能切换到相应的tab)。[fixed]\n\t+页面\u003Cem\u003E中\u003C\u002Fem\u003E任意可输入表单字段发生变化,可提示先保存。(示例在content_page1.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)[fixed]\n\t\t-目前还不支持Window右上角关闭按钮的提示保存功能。\n\t-Master\u002FContent的内容页\u003Cem\u003E中\u003C\u002Fem\u003EGrid的Sort\u003Cem\u003E事件\u003C\u002Fem\u003E不起作用的BUG [feedback:zgjiang2]。[fixed]\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E的Link\u003Cem\u003EButton\u003C\u002Fem\u003EField设置ConfirmText会出错 [feedback:huihuang]。[fixed]\n\t-增加静态类Confirm。[fixed]\n\t\n\t\n\t\n+2008-06-27 v0.2 beta10\n\t+Grid完善。[fixed]\n\t\t-CheckBoxField在回发时不能保持状态的BUG (已经更新了grid_checkboxfield.aspx示例)。\n\t\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E模拟树显示,GridColumn增加DataSimulateTreeLevelField\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003E一个\u003C\u002Fem\u003EGrid只能有\u003Cem\u003E一个\u003C\u002Fem\u003EColumn指定此\u003Cem\u003E属性\u003C\u002Fem\u003E),指定此列模拟树显示时的层次字段(0,1,2,...)(示例在grid_simulate_tree.aspx)。\n\t\t-切换分页时清空选\u003Cem\u003E中\u003C\u002Fem\u003E的值 [feedback:jqpeng]。\n\t\t-增加PreRowDataBound\u003Cem\u003E事件\u003C\u002Fem\u003E,可以在数据绑定之前设置某列的\u003Cem\u003E属性\u003C\u002Fem\u003E [feedback:xmzhu] (示例在grid_prerowdatabound.aspx)。\n\t-DropDownList模拟树的方式显示,增加DataSimulateTreeLevelField\u003Cem\u003E属性\u003C\u002Fem\u003E,使用方法和Grid的类似(示例在dropdownlist_simulate_tree.aspx)。\n\t\n\t\n\t\n+2008-06-25 v0.2 beta9\n\t+Window窗体\u003Cem\u003E中\u003C\u002Fem\u003E的Iframe只让内容区域滚动,而Toolbar不滚动的规则。(示例在content_page2.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)[fixed]\n\t\t-在simple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx\u003Cem\u003E中\u003C\u002Fem\u003E:Panel[BodyPadding=5](Toolbar,Panel[Height=450 Layout=Fit](Simple\u003Cem\u003EForm\u003C\u002Fem\u003E[AutoScroll=true])),则外面窗口的高度=450 + 5*2 + 26 + 32,其\u003Cem\u003E中\u003C\u002Fem\u003E26是Toolbar的高度,32是窗口的标题栏和下边框的高度。\n\t+关闭Iframe的LoadMask,所以需要Iframe页面添加PageLoading控件,这样效果统一。[fixed]\n\t+Grid完善。\n\t\t-去除\u003Cem\u003EEnable\u003C\u002Fem\u003EClientPaging和\u003Cem\u003EEnable\u003C\u002Fem\u003EClientSort\u003Cem\u003E属性\u003C\u002Fem\u003E,客户端排序和客户端分页在ASP.NET应用\u003Cem\u003E中\u003C\u002Fem\u003E会有很多\u003Cem\u003E问题\u003C\u002Fem\u003E(主要是状态保持的\u003Cem\u003E问题\u003C\u002Fem\u003E)。\n\t\t+\u003Cem\u003EEnable\u003C\u002Fem\u003EServerSort改名AllowSorting。(示例在grid_sorting.aspx)\n\t\t\t-使用非常简单:设置AllowSorting=true,注册OnSort\u003Cem\u003E事件\u003C\u002Fem\u003E,在\u003Cem\u003E事件\u003C\u002Fem\u003E处理函数\u003Cem\u003E中\u003C\u002Fem\u003E重新绑定数据。\n\t\t+增加AllowPaging\u003Cem\u003E属性\u003C\u002Fem\u003E。(示例在grid_paging.aspx)\n\t\t\t-使用非常简单:设置AllowPaging=true,PageSize=3,注册OnPageIndexChange\u003Cem\u003E事件\u003C\u002Fem\u003E,在\u003Cem\u003E事件\u003C\u002Fem\u003E处理函数\u003Cem\u003E中\u003C\u002Fem\u003EGrid1.PageIndex = e.NewPageIndex;OK。\n\t\t+数据库分页支持。(示例在grid_database_paging.aspx)\n\t\t\t-使用也非常简单:设置AllowPaging=true,PageSize=3,在绑定时设置RecordCount为总的记录数,在OnPageIndexChange\u003Cem\u003E事件\u003C\u002Fem\u003E处理函数\u003Cem\u003E中\u003C\u002Fem\u003EGrid1.PageIn","createTime":"2010-04-01 09:41:27","dataReportQuery":"spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Paid-1-2190657-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Paid-1-2190657-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default","dataReportClick":"{\"mod\":\"popu_645\",\"index\":\"1\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fsuper_zhaowenke\u002F2190657\",\"strategy\":\"2~default~OPENSEARCH~Paid\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Paid-1-2190657-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","dataReportView":"{\"mod\":\"popu_645\",\"index\":\"1\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fsuper_zhaowenke\u002F2190657\",\"strategy\":\"2~default~OPENSEARCH~Paid\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Paid-1-2190657-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","type":"download"},{"url":"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fwode2600\u002F2726130","title":"ExtAspNet_v2.3.2_dll","desc":"ExtAspNet - ExtJS based ASP.NET Controls with Full AJAX Support\n\t\nExtAspNet是一组专业的Asp.net控件库,拥有原生的AJAX支持和丰富的UI效果,\n目标是创建没有ViewState,没有JavaScript,没有CSS,没有UpdatePanel,没有WebServices的Web应用程序。\n\n支持的浏览器: IE 7.0+, Firefox 3.0+, Chrome 2.0+, Opera 9.5+, Safari 3.0+\n\n注:ExtAspNet基于一些开源的程序ExtJS, HtmlAgilityPack, Nii.JSON, YUICompressor。\n\n示例: http:\u002F\u002Fextasp.net\u002F\n开源: http:\u002F\u002Fextaspnet.codeplex.com\u002F\n博客: http:\u002F\u002Fsanshi.cnblogs.com\u002F\n邮箱: sanshi.ustc@gmail.com\n\n\n发布历史:\n\n+2010-09-29 v2.3.2\n\t-不绑定任何数据到Grid时,确保页面不会出错。\n\t-修正了Grid列\u003Cem\u003E属性\u003C\u002Fem\u003EData\u003Cem\u003EForm\u003C\u002Fem\u003EatString的\u003Cem\u003E一个\u003C\u002Fem\u003Ebug,比如设置{0:yy-MM-dd HH:mm}时没有效果。\n\t-修正下拉列表控件不能绑定DataTable的BUG(feedback:RedOcean)。\n\t-增加土耳其语言资料文件(feedback:abdullaharslan)。\n\t-Grid的BoundField增加NullDisplayText\u003Cem\u003E属性\u003C\u002Fem\u003E,用于处理数据库\u003Cem\u003E中\u003C\u002Fem\u003E的null值,如果没有设置则默认为空字符串。\n\t-修正DatePicker\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003Ebug(31\u002F01\u002F2010将会返回NULL)使用Date\u003Cem\u003EForm\u003C\u002Fem\u003EatString来生成SelectedDate\u003Cem\u003E属性\u003C\u002Fem\u003E(feedback:OktaEndy)。\n\t-修正extjs最新版本(v3.2.2)\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003Ebug,如果下拉列表\u003Cem\u003E中\u003C\u002Fem\u003E存在两个相同的Text,则SelectedValue返回值永远是第\u003Cem\u003E一个\u003C\u002Fem\u003EText的值(feedback:ben.zhou)。\n\t-应用补丁#6593, #6621(feedback:vbelyaev)。\n\t+修正IE7下Grid分页速度慢(feedback:youwei, StevenGuan, hazardvn, gavindou, ttjacky)。\n\t\t-实际上IE7下所以的回发都慢,原因是客户端的Base64编码速度慢,已经使用encodeURIComponent来代替Base64编码。\n\t-俄语翻译(feedback:vbelyaev)。\n\t\n\t\n\n+2010-06-30 v2.3.1\n\t-ExtAspNet控件将不在依赖ViewState,减少1\u002F4左右的HTTP数据传输量。\n\t-控件和示例的增强。\n\t\n\t\n\n+2010-03-28 v2.2.1\n\t+为TabStrip的GetAddTabReference函数增加重载方法,以便指定Tab的图标(feedback:mmdcup)。 \n\t\t-修正此函数通过PageContext.RegisterStartupScript调用时不能正确显示Icon的BUG(feedback:zhaowenke)。\n\t-修正basic\u002Fhello.aspx示例在单独浏览器打开后,不能弹出对话框的BUG。\n\t-隐藏示例首页最外层RegionPanel的边框ShowBorder=\"false\"。\n\t+集成Extjs最新版本v3.1.1。\n\t\t-增加\u003Cem\u003E一个\u003C\u002Fem\u003E新的Theme - Access。\n\t\t-修正了Firefox下Zoom In\u002FOut时页面消失的BUG。\n\t\t-删除Panel的\u003Cem\u003EEnable\u003C\u002Fem\u003ELightBackgroundColor\u003Cem\u003E属性\u003C\u002Fem\u003E,同时\u003Cem\u003EEnable\u003C\u002Fem\u003EBackgroundColor只支持Blue和Gray两种Theme。\n\n\n\n+2010-01-31 v2.2.0\n\t-使得Asp.net的控件Image\u003Cem\u003EButton\u003C\u002Fem\u003E具有和Asp.net的\u003Cem\u003EButton\u003C\u002Fem\u003E控件类似的行为(Ajax提交)(feedback:261629698)。\n\t+TabStrip增加GetAddTabReference和GetRemoveTabReference两个函数,用来向TabStrip控件动态增加删除Tab。\n\t\t-增加示例tabstrip\u002Ftabstrip_addtab.aspx。\n\t-重构了示例网站的架构,目前只有一层IFrame结构。\n\t-为TabStrip增加\u003Cem\u003EEnable\u003C\u002Fem\u003ETabCloseMenu\u003Cem\u003E属性\u003C\u002Fem\u003E,是否启用右键菜单,可用来关闭当前Tab和所有其他Tab。\n\t-为NumberBox增加DecimalPrecision\u003Cem\u003E属性\u003C\u002Fem\u003E,用来控制小数点后的位数(需要设置NoDecimal=\"false\")(feedback:zqmars)。\n\t-Window控件更新。\n\t\t-关闭按钮默认直接关闭,不会弹出确认对话框。\n\t\t-GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedHideReference的函数\u003Cem\u003E中\u003C\u002Fem\u003E的Confirm\u003Cem\u003EForm\u003C\u002Fem\u003EModified简化为Confirm,所以此函数更名为GetConfirmHideReference。\n\t\t-增加两个\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EConfirmOnClose(默认false),CloseAction(Hide, HideRefresh, HidePostBack)。\n\t\t-修正\u003Cem\u003EEnable\u003C\u002Fem\u003EMaximize\u003Cem\u003E属性\u003C\u002Fem\u003E不能使Window最大化的BUG,修正了双击标题栏不能最大化的BUG。\n\t-删除\u003Cem\u003EButton\u003C\u002Fem\u003E控件的SystemIcon\u003Cem\u003E属性\u003C\u002Fem\u003E,比如以前这样定义SystemIcon=\"Close\",现在需要这样定义Icon=\"SystemClose\"。\n\t-WindowPosition默认居\u003Cem\u003E中\u003C\u002Fem\u003E,而不是黄金分割位置。\n\t+\u003Cem\u003EButton\u003C\u002Fem\u003E, Window等控件弹出位置\u003Cem\u003E属性\u003C\u002Fem\u003E的变化。\n\t\t-Window的Target\u003Cem\u003E属性\u003C\u002Fem\u003E由字符串类型变为枚举类型,注意更新以前的代码:Target=\"_self\" -\u003E Target=\"Self\", Target=\"_parent\" -\u003E Target=\"Parent\"。\n\t\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, \u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField的ConfirmTarget\u003Cem\u003E属性\u003C\u002Fem\u003E由字符串变为枚举类型,可以取三个枚举值Self, Parent, Top。\n\t\t-Confirm.GetShowReference的最后\u003Cem\u003E一个\u003C\u002Fem\u003E参数target变为枚举类型。\n\t\t-Alert.GetShowReference\u003Cem\u003E中\u003C\u002Fem\u003E的showInParent参数也变为Target枚举类型。\n\t\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, \u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加ValidateTarget用来控制表单验证失败时提示对话框的显示位置。\n\n\n\n+2010-01-06 v2.1.9\n\t-集成Extjs最新版本v3.1.0。\n\t-修正灰色皮肤的CSS\u003Cem\u003E问题\u003C\u002Fem\u003E。\n\t-修正Grid的列名\u003Cem\u003E中\u003C\u002Fem\u003E不能包含\u003Cem\u003E中\u003C\u002Fem\u003E文字符的BUG(feedback:davidwen)。\n\t-为Web.config和PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003EAjaxTimeout(单位秒,默认30秒)。\n\t-修正了在Grid的PageIndexChange\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E不能获取SelectedRowIndexArray\u003Cem\u003E属性\u003C\u002Fem\u003E的BUG(feedback:Violet)。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E控件将不再自动拥有display:inline\u003Cem\u003E属性\u003C\u002Fem\u003E,如果希望两个按钮在一行显示,请为第\u003Cem\u003E一个\u003C\u002Fem\u003E按钮设置CssStyle=\"float:left;\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-修正了弹出菜单的位置在Firefox下不正确的BUG(feedback:eroach)。\n\t-为TriggerBox和TwinTriggerBox增加\u003Cem\u003EEnable\u003C\u002Fem\u003EEdit\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-使用Hidden来显示隐藏ExtAspNet控件,而不是使用Visible\u003Cem\u003E属性\u003C\u002Fem\u003E(Visible目前设置为只读\u003Cem\u003E属性\u003C\u002Fem\u003E)。\n\t-使用Hidden控制Window控件的显示隐藏,Popup已经标记为Obsolete\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-Window的实例方法GetCloseReference等以及ActiveWindow的静态方法GetCloseReference等,其\u003Cem\u003E中\u003C\u002Fem\u003E的Close全部改为Hide。\n\t-增加TabStrip\u003Cem\u003E中\u003C\u002Fem\u003ETab控件可关闭\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EClose(默认为false)以及两个方法GetShowReference和GetHideReference(feedback:anson)。\n\t-修正绑定到Tree的XMLDocument\u003Cem\u003E中\u003C\u002Fem\u003EIcon\u003Cem\u003E属性\u003C\u002Fem\u003E映射错误(feedback:nopnop9)。\n\t-修正HtmlEditor不能编辑的BUG(feedback:TheBox)。\n\t-修正IE下有时会出现空白页面的情况(feedback:olivia919)。\n\t\n\t\n\n+2009-12-06 v2.1.8\n\t-修正了使用IFrame的Window关闭后不能再次打开的BUG(feedback:alexa99)。\n\t-修正了IE下Grid\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003EJS\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:lqm4108)。\n\t-修正Alert消息\u003Cem\u003E中\u003C\u002Fem\u003E引号未编码导致的JS错误(feedback:sun1299shine)。\n\t+集成extjs3.0.3。\n\t\t-修正弹出对话框的宽度计算错误(会保持最小的状态)。\n\t\t-增加新的皮肤Gray。\n\t-为示例工程添加\u003Cem\u003E改变\u003C\u002Fem\u003E语言和皮肤的下拉列表。\n\t-为PageContext增加静态函数Refresh,在切换语言和皮肤时使用。\t\n\n\n\n+2009-12-01 v2.1.7\n\t-增加示例(iframe\u002Fparent_postback_run3.aspx),如何通过简单的Javascript代码回发父页面(feedback:eroach)。\n\t-修正一些书写错误(feedback:bmck)。\n\t-从Region控件\u003Cem\u003E中\u003C\u002Fem\u003E删除SplitColor\u003Cem\u003E属性\u003C\u002Fem\u003E,增加CollapseMode, \u003Cem\u003EEnable\u003C\u002Fem\u003ESplitTip, SplitTip, CollapsibleSplitTip\u003Cem\u003E属性\u003C\u002Fem\u003E(feedback:bmck)。\n\t-BorderPanel更名为RegionPanel。\n\t-DropDownList拥有MarkInvalid方法(feedback:sun1299shine)。\n\t-增加\u003Cem\u003E中\u003C\u002Fem\u003E国的省市县三级联动示例(data\u002Fshengshixian.aspx)(feedback:Blues T)。\n\t-修正了使用IFrameUrl的Tab在切换过程\u003Cem\u003E中\u003C\u002Fem\u003E会重复加载的\u003Cem\u003E问题\u003C\u002Fem\u003E,这是\u003Cem\u003E一个\u003C\u002Fem\u003E在v2.1.6引入的\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:eroach)。\n\t-修正了启用AutoPostBack的Grid,其Row\u003Cem\u003EClick\u003C\u002Fem\u003E会覆盖Link\u003Cem\u003EButton\u003C\u002Fem\u003EField, HyperLinkField, CheckBoxField的点击\u003Cem\u003E事件\u003C\u002Fem\u003E(feedback:yymaoji)。\n\t\n\t\n\t\n+2009-11-26 v2.1.6\n\t+修正动态创建Grid列的BUG(feedback:gxpan)。\n\t\t-增加示例(data\u002Fgrid_dynamic_columns.aspx)。\n\t-修正\u003Cem\u003EForm\u003C\u002Fem\u003E不能自适应浏览器大小的\u003Cem\u003E改变\u003C\u002Fem\u003E(feedback:kaywood)(WorkItem#6309)。\n\t-增加重载方法Alert.Show(message, title, icon)(feedback:TheBox)(WorkItem#6353)。\n\t-为容器控件(比如Panel,Region,Tab等)增加AJAX\u003Cem\u003E属性\u003C\u002Fem\u003EIFrameUrl(feedback:BluesT)。\n\t-重新设计模拟树的下拉列表的实现,避免选\u003Cem\u003E中\u003C\u002Fem\u003E某项后的闪烁。\n\t\t\t\n\n\n+2009-11-21 v2.1.5\n\t+Tree优化。\n\t\t-修正Expanded项和Checked项的状态在回发\u003Cem\u003E改变\u003C\u002Fem\u003E后不能保持的BUG。\n\t\t-GetNodeById更名为FindNode,保持和FindControl一致命名。\n\t\t-删除CheckedNodeIDArray\u003Cem\u003E属性\u003C\u002Fem\u003E,增加GetCheckedNodes和GetCheckedNodeIDs函数。\n\t\t-删除ExpandedNodeIDArray\u003Cem\u003E属性\u003C\u002Fem\u003E,增加GetExpandedNodes和GetExpandedNodeIDs函数。\n\t\t-增加示例(data\u002Ftree_select_run.aspx),如何选\u003Cem\u003E中\u003C\u002Fem\u003E当前节点的所有子节点(feedback:wjl_wjl520)。\n\t\t+TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003ENodeId被重命名为NodeID,这是ExtAspNet\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003E一个\u003C\u002Fem\u003E命名约定。\n\t\t\t-同时更名的还有GridColumn的ColumnId-\u003EColumnID,GetColumnId-\u003EGetColumnID。\n\t\t\t-Grid1.Columns.FindColumnById函数被Grid1.FindColumn所替代。\n\t\t-为TreeCheckEventArgs,TreeExpandEventArgs,TreeCommandEventArgs增加Node\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-为所有控件增加Focus(覆盖Control默认的Focus函数)和GetFocusReference函数。\n\t-增加示例(other\u002Fcustom_postback.aspx)(feedback:thebox)。\n\t\t-如何自定义Javascript脚本和C#处理函数来响应键盘\u003Cem\u003E事件\u003C\u002Fem\u003E。\n\t-为Tree增加AutoLeafIdentification\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-增加示例(tree_auto_leaf_identification.aspx)(feedback:wdrabbit)。\n\t\n\t\n\n+2009-11-17 v2.1.4\n\t-修正Window的关闭按钮提示信息一直是\u003Cem\u003E中\u003C\u002Fem\u003E文的BUG(feedback:thebox)。\n\t-部分ExtAspNet控件的设计时支持(会在后续版本\u003Cem\u003E中\u003C\u002Fem\u003E逐步完善)。\n\t-v0.2beta2版本\u003Cem\u003E中\u003C\u002Fem\u003E关于PersistChildren(true)的描述有误,这个是设计时\u003Cem\u003E属性\u003C\u002Fem\u003E,和运行时是否保持状态没有关系。\n\t-修正CheckBox控件的CheckedChanged\u003Cem\u003E事件\u003C\u002Fem\u003E会被触发两次的BUG(Data PostBack-\u003EAutoPostBack, Event PostBack-\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack)。\n\t-为TextBox,TextArea,DatePicker,NumberBox,TriggerBox等控件增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(feedback:dk3214)。\n\t+为表单字段增加RequiredMessage,MaxLengthMessage,MinLengthMessage\u003Cem\u003E属性\u003C\u002Fem\u003E,用于指定验证失败时提示信息。\n\t\t-为空则使用默认的提示信息,默认的提示信息支持多语言,建议一般情况下使用默认信息。\n\t+为表单字段增加MarkInvalid和GetMarkInvalidReference函数(feedback:sun1299shine)。\n\t\t-增加示例:\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_validate.aspx\n\t\n\t\n\n+2009-10-19 v2.1.3\n\t+增加支持在AJAX时\u003Cem\u003E改变\u003C\u002Fem\u003E的控件\u003Cem\u003E属性\u003C\u002Fem\u003E列表(\u002Fajax.aspx)。\n\t\t-ExtAspNet支持原生的AJAX,也就是说控件的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E在AJAX过程\u003Cem\u003E中\u003C\u002Fem\u003E会反映到页面\u003Cem\u003E中\u003C\u002Fem\u003E,但并不是所有的控件\u003Cem\u003E属性\u003C\u002Fem\u003E都支持AJAX\u003Cem\u003E改变\u003C\u002Fem\u003E。\n\t-加载s.gif图片在本机进行,不会请求extjs.com远程资源(feedback:efrigate43,abaocoole)。\n\t-在AJAX回发后确保Asp.net的按钮控件仍然具有AJAX的特性。\n\t-更新\u002Fbasic\u002Flogin.aspx示例,使用验证图片(feedback:kedee)。\n\t-为Grid增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E和Row\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E,示例在\u002Fdata\u002Fgrid_autopostback.aspx(feedback:chenguizhu2006)。\n\t-为所有的表单字段增加AJAX\u003Cem\u003E属性\u003C\u002Fem\u003EReadOnly(feedback:skydb)。\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003ETemplateField生成到页面\u003Cem\u003E中\u003C\u002Fem\u003E控件具有唯一ID,例如Grid1_ct5_Label2,Grid1_ct6_Label2(feedback:geruger)。\n\t\n\t\n\n+2009-09-27 v2.1.2\n\t-为Tree控件增加GetExpandAllNodesReference和GetCollapseAllNodesReference两个函数。\n\t-修正RELEASE版本下多语言加载的BUG(feedback:yigehaoren)。\n\t-增加pt_BR语言,由Ujvari提供。\n\t+为所有Panel(包括Grid,Tree,\u003Cem\u003EForm\u003C\u002Fem\u003E等)增加枚举类型Icon,其\u003Cem\u003E中\u003C\u002Fem\u003E包含1700多个小图标。\n\t\t-如果Panel具有IconUrl\u003Cem\u003E属性\u003C\u002Fem\u003E,则IconUrl优先于Icon。\n\t\t-所有Icon的列表在icon.aspx。\n\t-为\u003Cem\u003EButton\u003C\u002Fem\u003E,MenuItem(Menu\u003Cem\u003EButton\u003C\u002Fem\u003E,MenuHyperLink),AccordionLink,TreeNode,Image(如果ImageUrl为空,则取Icon的值)增加Icon\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\n\t\n\n+2009-09-15 v2.1.1\n\t-修正不能动态修改AccordionPane\u003Cem\u003E属性\u003C\u002Fem\u003EItems的BUG。\n\t+为\u003Cem\u003EButton\u003C\u002Fem\u003E, Menu\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003E, Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加ConfirmTarget。\n\t\t-如果需要在父页面弹出确认对话框,需要设置ConfirmTarget=\"_parent\"(类似Window控件的Target=\"_parent\")。\n\t+为ExtAspNet.Alert.Show增加点击确定的JavaScript回调函数。\n\t\t-\u003Cem\u003E一个\u003C\u002Fem\u003E典型应用,在Window控件\u003Cem\u003E中\u003C\u002Fem\u003E打开新页面,如果传递的参数不正确,则首先提示参数不对然后关闭此弹出窗口。\n\t\t-ExtAspNet.Alert.Show(\"参数错误!\", String.Empty, ExtAspNet.ActiveWindow.GetCloseReference());\n\t+TreeNode的前面的多选框可以自动回发了。\n\t\t-为TreeNode增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E,增加\u003Cem\u003E事件\u003C\u002Fem\u003E数据类TreeCheckEventArgs,为Tree增加\u003Cem\u003E事件\u003C\u002Fem\u003ENodeCheck。\n\t\t-示例在:http:\u002F\u002Fextasp.net\u002Fdata\u002Ftree_run.aspx\n\t-Grid增加GetNoSelectionAlertInParentReference函数,用来表示没有选\u003Cem\u003E中\u003C\u002Fem\u003E任何一项时在父页面弹出对话框的JS代码。\n\t-修正IE7下不能以下划线作为CSS\u003Cem\u003E中\u003C\u002Fem\u003E类名的前缀的BUG(feedback:Steve.Wei)。\n\t-添加定时器控件\u003Cem\u003ETimer\u003C\u002Fem\u003E,用来定时发起AJAX请求。\n\t\n\t\n\n+2009-09-06 v2.1.0\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E的Pressed\u003Cem\u003E属性\u003C\u002Fem\u003E值能够正确的反映客户端的变化。\n\t-优化Tree控件的AJAX实现。\n\t+为页面的\u003Cem\u003EForm\u003C\u002Fem\u003E添加autocomplete=\"off\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-参考http:\u002F\u002Fwww.cnblogs.com\u002Fsanshi\u002Farchive\u002F2009\u002F09\u002F04\u002F1560146.html#1635830\n\t+添加对extjs3.0\u003Cem\u003E中\u003C\u002Fem\u003E所有语言的支持。\n\t\t-ExtAspNet扩展的多语言包在js\\languages\\extaspnet目录下,目前只有en,zh_CN,zh_TW三种实现\n\t\t-你可以向其\u003Cem\u003E中\u003C\u002Fem\u003E添加自己的语言版本,并执行js\\languages下的pack.bat打包,最后编译工程。\n\t\n\t\n\t\n+2009-09-01 v2.0.9\n\t-为ExtAspNet.Alert添加两个静态方法ShowInParent和GetShowInParentReference,用于在父页面弹出窗口。\n\t+在aspx页面\u003Cem\u003E中\u003C\u002Fem\u003E必须显示的声明控件的集合\u003Cem\u003E属性\u003C\u002Fem\u003E(比如Tabs(TabStrip), Items(PanelBase), Nodes(TreeNode))。\n\t\t-这将会影响所有的aspx页面,所以要特别关注。\n\t-重命名AccordionPanel为AccordionPane (这也是在Asp.net AJAX\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用的名称).\n\t+所有的面板默认有两个集合\u003Cem\u003E属性\u003C\u002Fem\u003E(Toolbars和Items).\n\t\t-尽管TabStrip, From, Tree, Accordion继承了Items\u003Cem\u003E属性\u003C\u002Fem\u003E,但是你并不能对其设置(此时Items是只读的).\n\t\t-这将会影响所有的aspx页面,一定要将工具条(Toolbars)和Items区分开来。\n\t-祝你生日快乐 - 小师妹妹。\n\n\n\n+2009-08-29 v2.0.8\n\t-ExtAspNet支持多语言(en,zh_CN,zh_TW),可以在Web.config\u003Cem\u003E中\u003C\u002Fem\u003E修改。\n\t-将所有的示例转化为英语版本。\n\t-修正Tree控件的\u003Cem\u003E一个\u003C\u002Fem\u003EBUG(定义Mappings\u003Cem\u003E属性\u003C\u002Fem\u003E时)。\n\t+PageManager.Instance应该存在于HttpContext.Current,而不是\u003Cem\u003E一个\u003C\u002Fem\u003E全局变量。\n\t -这个BUG导致Asp.net compatibility\u003Cem\u003E中\u003C\u002Fem\u003E的示例无法完成,现在已经修正。\n\t+去除PageManager\u003Cem\u003E中\u003C\u002Fem\u003E方法AddAjaxAspnetControls,增加\u003Cem\u003E属性\u003C\u002Fem\u003EAjaxAspnetControls。\n\t -这个\u003Cem\u003E属性\u003C\u002Fem\u003E和\u003Cem\u003EButton\u003C\u002Fem\u003E得Validate\u003Cem\u003EForm\u003C\u002Fem\u003Es\u003Cem\u003E属性\u003C\u002Fem\u003E类似,可以查看Asp.net compatibility\u003Cem\u003E中\u003C\u002Fem\u003E的示例。\n\t\n\t\n\n+2009-08-25 v2.0.7\n -为按钮增加DisableControlBeforePostBack\u003Cem\u003E属性\u003C\u002Fem\u003E - 回发之前是否禁用按钮,防止重复提交 - 默认为true。\n -Grid的Values\u003Cem\u003E属性\u003C\u002Fem\u003E访问限制由internal改为public,这就意味这可以自由\u003Cem\u003E改变\u003C\u002Fem\u003EGrid\u003Cem\u003E中\u003C\u002Fem\u003E每个单元格的值了。\n -增加示例-如何将Grid控件导出为Excel(data\\grid_excel_run.aspx)(feedback:503684912)。\n -如果TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=\"false\",则此项变灰并且不会被选\u003Cem\u003E中\u003C\u002Fem\u003E(feedback:your568)。\n -修正TreeNode的\u003Cem\u003E属性\u003C\u002Fem\u003ENavigateUrl不接受服务器端URL(以~\u002F开头)的BUG。\n -增加Accordion和Tree配合使用的示例(other\\accordion_tree_run.aspx)。\n -修正Panel图标不能显示的BUG(CSS\u003Cem\u003E中\u003C\u002Fem\u003Eclass名不能有$字符)。\n +去除PageLayout控件,此控件可以使用BorderLayout和指定PageManager的AutoSizePanelID\u003Cem\u003E属性\u003C\u002Fem\u003E来代替。\n\t\t-这样所有需要占据全屏的Panel(不管你是Accordion,Panel,ContentPanel,\u003Cem\u003EForm\u003C\u002Fem\u003E,GroupPanel,Simple\u003Cem\u003EForm\u003C\u002Fem\u003E,Tree还是Grid,TabStrip)都可以通过这种方式全屏。\n\t\t-简单方便,示例可以参考 default.aspx 或者 other\\accordion_tree_run.aspx。\n \n \n\n+2009-08-14 v2.0.6\n\t-动态生成菜单实例(other\\menu_dynamic_run.aspx和other\\menu_dynamic2_run.aspx)(feedback:shguo)。\n\t-优化AJAX的内部实现,每个页面保存的ViewState现在减少1\u002F3左右(重要更新)。\n\t-优化Tree节点的NodeId自动生成,减少ViewState占用。\n\t\n\n\n+2009-08-09 v2.0 beta5\n\t+ExtAspNet和Asp.net的提交按钮兼容\u003Cem\u003E问题\u003C\u002Fem\u003E(feedback:千帆)。\n\t\t-在2009-03-03 v1.3.0曾经提到这个兼容\u003Cem\u003E问题\u003C\u002Fem\u003E,并有这样的规则,如果Asp.net的按钮AJAX提交,必须设置UseSubmitBehavior=\"false\"\n\t\t--也就是说生成的input的type不能是\"submit\",而这个限制在有些情况下是不可原谅的。\n\t\t--我们做了优化,现在要使\u003Cem\u003E一个\u003C\u002Fem\u003EAsp.net的按钮能够AJAX提交,你不需要做任何设置(PageManager的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax为true即可,这是默认\u003Cem\u003E属性\u003C\u002Fem\u003E)。\n\t+PageManager的实例方法AddAjaxUpdateControl改名为AddAjaxAspnetControls,现在可以在Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E设置需要在AJAX\u003Cem\u003E中\u003C\u002Fem\u003E需要更新的Asp.net控件了。\n\t\t-在Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E设置了哪些需要在AJAX\u003Cem\u003E中\u003C\u002Fem\u003E更新的Asp.net控件会在回发时保持状态,可以通过RemoveAjaxAspnetControls来去除不需要更新的控件。\n\t\t-示例在aspnet\\fckeditor_run.aspx和aspnet\\aspnet_run.aspx。\n\t\t-FCKEditor和上传控件兼容。示例在aspnet\\fileupload_run.aspx。\n\t-修正ToolbarText的文本在AJAX下更新的BUG。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E的Pressed\u003Cem\u003E属性\u003C\u002Fem\u003E在AJAX可更新(feedback:mgzhenhong)。\n\t-更新所有示例。在IE7.0,IE8.0,Firefox3.5,Chrome2.0下测试通过。\n\t\n\n\n+2009-08-02 v2.0 beta4\n\t+和Asp.Net的\u003Cem\u003EForm\u003C\u002Fem\u003Es Authentication兼容[feedback:mgzhenhong]。\n\t\t-采用和Asp.Net Ajax类似的处理方式,需要在配置文件Web.config增加\u003Cem\u003E一个\u003C\u002Fem\u003EhttpModules。\n\t\t-现在支持Response.Redirect,你可以选择Response.Redirect或者ExtAspNet.PageContext.Redirect重定向页面,两者效果一样。\n\t\t-支持\u003Cem\u003EForm\u003C\u002Fem\u003EsAuthentication.RedirectFromLoginPage(accountID, false);这样的方法。\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E增加Type\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003Ebutton\u003C\u002Fem\u003E,reset,submit)[feedback:mgzhenhong]。\n\t-修正Alert.Show方法不能指定文本前图片的BUG[feedback:xmq&mgzhenhong]。\n\t-修正IE下某些弹出窗口的IFrame第一次不能加载的BUG。\n\t-增加Menu和Accordion的示例。\n\t-修正Window控件的IconUrl有时不显示(Target=\"_parent\")的BUG[feedback:xmq&mgzhenhong]。\n\t\n\n\n+2009-07-22 v2.0 beta3\n\t-兼容FCKEditor。\n\t-在IE8.0,Firefox3.5下测试通过。以后ExtAspNet将不会对IE6.0提供支持。\n\t\n\n\n+2009-07-13 v2.0 beta2\n\t-集成extjs最新版本v3.0。\n\t+兼容IE6.0-7.0-8.0。\n\t\t-这应该是Extjs3.0的\u003Cem\u003E一个\u003C\u002Fem\u003EBUG,在IE6.0-7.0下面设置Ext.QuickTips.init();会导致\u003Cem\u003Ebutton\u003C\u002Fem\u003E的\u003Cem\u003Eclick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E无法响应(IE8下无此\u003Cem\u003E问题\u003C\u002Fem\u003E)。\n\t\t-目前先禁用IE6.0-7.0的QuickTips。\n\t-优化底层JavaScript。\n\t\n\t\n\t\n+2009-07-05 v2.0 beta1\n\t-更新extjs库到最新版本v3.0 RC2; 目前只有\u003Cem\u003E一个\u003C\u002Fem\u003E缺省皮肤(Theme)。\n\t-使用YUI Compressor压缩JavaScript和CSS文件。\n\t-Release版本每个页面只包含\u003Cem\u003E一个\u003C\u002Fem\u003EJavaScript文件(语言文件除外)和\u003Cem\u003E一个\u003C\u002Fem\u003ECSS文件。\n\t-ExtAspNet自身的CSS会紧挨着页面标签引入,这样在\u003Cem\u003E中\u003C\u002Fem\u003E自定义的样式可以覆盖ExtAspNet缺省样式。\n\t+Alert对话框会遮挡所有的Window窗口。\n\t\t-使用\u003Cem\u003E一个\u003C\u002Fem\u003E变通的方法解决,因为无法\u003Cem\u003E改变\u003C\u002Fem\u003EExt.Message的默认z-index(9000)所以将box.window_default_group的zseed调整为6000。\t\n\t-为所有按钮的左右增加5px的空白边距:.x-btn \u003Cem\u003Ebutton\u003C\u002Fem\u003E { margin: 0 5px !important; }。\n\t-因为下拉列表不可编辑,所以不能为空,如果不设置SelectedIndex或SelectedValue,则默认选\u003Cem\u003E中\u003C\u002Fem\u003E第一项。\n\t-重新绑定模拟树的下拉列表后,选\u003Cem\u003E中\u003C\u002Fem\u003E项的前面有图片的HTML标签的BUG。\n\t-更新自定义JavaScript组件Ext.ux.SimplePagingToolbar。\n\t-更新示例工程。\n\t\n\t\n\n+2009-03-25 v1.3.1\n\t-Tree在AJAX回发展开节点时JS错误[feedback:xlli]。[fixed]\n\t-Window\u003Cem\u003E中\u003C\u002Fem\u003E的\u003Cem\u003EEnable\u003C\u002Fem\u003EIFrame==false,则点击关闭按钮时报JS错误。[fixed]\n\t-页面包含FileUpload控件,需要点击按钮回发并上传文件,则不能采用原生AJAX方式。(参见示例aspnet\u002Ffileupload.aspx)[fixed]\n\t-HtmlEditor显示隐藏工具栏按钮不起作用,HtmlEditor目前不支持\u003Cem\u003EEnable\u003C\u002Fem\u003Ed和Readonly两个\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t\n\t\n\n+2009-03-03 v1.3.0\n\t-如果弹出的窗口(Ext-Window)含有ASP.NET控件FileUpload,则此弹出窗口在关闭时出现JS错误(http:\u002F\u002Fextjs.com\u002Fforum\u002Fshowthread.php?t=8129)[feedback:xlli]。[fixed]\n\t-如果页面\u003Cem\u003E中\u003C\u002Fem\u003E存在ASP.NET控件(TextBox),则第二次提交表单就会报错(视图状态不对,其实时没有更新EventValidation隐藏字段导致的\u003Cem\u003E问题\u003C\u002Fem\u003E)。[fixed]\n\t-页面上放置ExtAspNet-\u003Cem\u003EButton\u003C\u002Fem\u003E和ASP.NET-\u003Cem\u003EButton\u003C\u002Fem\u003E,则点击ExtAspNet-\u003Cem\u003EButton\u003C\u002Fem\u003E时激发的是ASP.NET-\u003Cem\u003EButton\u003C\u002Fem\u003E的\u003Cem\u003E事件\u003C\u002Fem\u003E,这个BUG和Extjs2.2.1\u003Cem\u003E中\u003C\u002Fem\u003EExt.Ajax.serialize\u003Cem\u003EForm\u003C\u002Fem\u003E的实现有关。[fixed]\n\t-ExtAspNet内部包含HtmlAgilityPack和Nii.JSON两个开源的第三方类库。[added]\n\t+如果以前你听过不要在ExtAspNet工程\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用ASP.NET标准控件的忠告,那么从v1.3.0版本开始,你可以忘掉这个说法,现在ExtAspNet控件和ASP.NET标准控件和平共处了。[fixed]\n\t\t-如果\u003Cem\u003E一个\u003C\u002Fem\u003EASP.NET按钮控件要使用ExtAspNet的原生AJAX,只需要设置\u003Cem\u003E属性\u003C\u002Fem\u003E UseSubmitBehavior=\"false\" 即可。\n\t\t-如果要在一次ExtAspNet的原生AJAX回发时更新ASP.NET控件的值,只需要调用PageManager的公共方法AddAjaxUpdateControl即可(示例:aspnet\u002Faspnet.aspx)。\n\n\n\n+2009-02-27 v1.2 beta9\n\t-网络连接出错时的“Ajax Error”改成更加友好的提示信息“本次连接失败!可能是网络连接出错,请刷新页面重试。”。[fixed]\n\t-自动测试功能会在以后版本\u003Cem\u003E中\u003C\u002Fem\u003E逐步完善。这个版本完成测试框架,采用Extjs\u003Cem\u003E中\u003C\u002Fem\u003EJS函数进行大部分的测试,对于一些难以测试的地方借助jQuery完成。[fixed]\n\t+系统底层代码优化(主要是Javascript的封装和BUG修复)。[fixed]\n\t\t-底层使用Javascript创建\u003Cem\u003E一个\u003C\u002Fem\u003EWindow控件的代码由原来的2000字符减少为500个字符。\t\n\t\t-PageContext静态类\u003Cem\u003E中\u003C\u002Fem\u003E的GetPageStateChangedFunction改名为GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedReference,底层代码优化。表示“获取当前页面\u003Cem\u003E中\u003C\u002Fem\u003E表单修改的确认提示框的脚本”。\n\t\t---[updated]删除PageContext\u003Cem\u003E中\u003C\u002Fem\u003E的GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedReference,使用CurrentActiveWindow\u003Cem\u003E中\u003C\u002Fem\u003E的GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference\u002FGetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseRefreshReference\u002FGetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedClosePostBackReference三个方法代替。\n\t\t-不会修改弹出页面的URL(Ext-Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame),以前为了实现功能为每个弹出页面添加box_parent_client_id查询字符串\n\t\t-去除PageManager的RegisterPageStateChangedScript\u003Cem\u003E属性\u003C\u002Fem\u003E,现在已经将这个功能实现为静态的JS方法。可以通过PageContext.Get\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedConfirmReference获取此方法的客户端脚本。\n\t\t---注意:以前的项目需要在所有的ASPX页面\u003Cem\u003E中\u003C\u002Fem\u003E查找RegisterPageStateChangedScript\u003Cem\u003E属性\u003C\u002Fem\u003E,并删除,否则会运行错误!\n\t\t-A页面有Ext-Window控件弹出B页面,B页面有Ext-Window控件弹出C页面,B页面的Ext-Window控件设置Target='_parent',则弹出的Ext-Window(C页面)会覆盖整个A页面,这是正确的。\n\t\t---当时如果用户直接访问B页面,就会报JS错误,因为此时找不到B页面的父页面A了。现在的版本修正为如果找不到父页面,则就在当前页面弹出窗口,这样用户直接访问B页面也不会出错了。\n\t\t-Window控件的GetIFramePageStateChangedFunction函数改名为GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference,表示“获取先确认IFrame的页面\u003Cem\u003E中\u003C\u002Fem\u003E表单\u003Cem\u003E改变\u003C\u002Fem\u003E,然后关闭弹出窗口的客户端脚本”。\n\t\t---为Window控件增加如下两个方法GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseRefreshReference和GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedClosePostBackReference,表示“先确认表单\u003Cem\u003E改变\u003C\u002Fem\u003E,然后关闭弹出Ext-Window,再然后刷新父页面或回发父页面”。\n\t\t---Window控件的OnClientClose\u003Cem\u003EButton\u003C\u002Fem\u003E\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E如果不设置,则默认采用GetConfirm\u003Cem\u003EForm\u003C\u002Fem\u003EModifiedCloseReference,也即是先判断表单是否更新,然后在关闭窗口。\n\t\t---现在可以很方便的为Window控件的关闭按钮添加关闭后刷新父页面或者关闭后回发父页面的行为。\n\t\t-如果弹出窗口(Window控件)\u003Cem\u003E中\u003C\u002Fem\u003EIFrame的页面不能正常加载(网络暂时出错或页面抛出异常),则此时点击右上角的关闭按钮会报JS错误,因为此时页面尚未加载完毕。\n\t\t---此版本修正了这个BUG,即时页面不能加载完全,也能通过右上角的关闭按钮关闭弹出含IFrame的窗体。\n\t\t-Window控件的IFrameName\u003Cem\u003E属性\u003C\u002Fem\u003E是自动生成的,只读\u003Cem\u003E属性\u003C\u002Fem\u003E。(因为有可能所有的Ext-Window最终都渲染到最外层的页面,为了保证这些IFrame的name不同,IFrameName使用的是GUID,内部处理)。\n\t\t-CurrentActiveWindow改名为ActiveWindow。\n\t\t-[特别注意]GetWriteBackValueReference(string controlClientIds, string value, params string[] values)函数现在的定义是GetWriteBackValueReference(params string[] values)\n\t\t---所有调用GetWriteBackValueReference的地方,需要删除第\u003Cem\u003E一个\u003C\u002Fem\u003E参数(一般是ActiveWindow.GetLoadStateReference())。\n\t\t\n\t\n\n+2009-02-23 v1.2 beta8\n\t-ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E内容不能自动扩展高度的BUG[feedback:huihuang]。[fixed]\n\t-DropDownList在Ajax回发时不能计算模拟树的数据[feedback:huihuang]。[fixed]\n\t-DropDownList在页面第一次加载时没有不可选择项,则回发时也不会有不可选择项的BUG。[fixed]\n\t-升级底层ExtJS类库为v2.2.1(此版本主要是Chrome的支持和部分内存泄漏\u003Cem\u003E问题\u003C\u002Fem\u003E的修正)。[fixed]\n\t-页面加载过程\u003Cem\u003E中\u003C\u002Fem\u003E的时间信息保存在Javascript变量window.box.timeInfo\u003Cem\u003E中\u003C\u002Fem\u003E。[added]\n\t+增加部分自动测试支持(使用WatiN和NUnit),下个版本将会提供完整的自动测试支持。[fixed]\n\t\n\t\n\n+2008-10-28 v1.2 beta7\n\t-DropDownList没有选\u003Cem\u003E中\u003C\u002Fem\u003E任何一项,回发时报错[feedback:huihuang]。[fixed]\n\t-Window显示位置不对,以及不能拖动的BUG[feedback:huihuang]。[fixed]\n\t+PageContext优化。[fixed]\n\t\t-去除RegisterExclusiveScript静态函数(这是没有原生ajax之前的产物),使用RegisterStartupScript替代。\n\t\t-去除RegisterStartupScript的重载函数,只保留最简单的PageContext.RegisterStartupScript(string script)函数。\n\t\t-Resirect增加重载函数Redirect(string url, string target),其\u003Cem\u003E中\u003C\u002Fem\u003Etarget可能的取值为_self,_parent,_top,分别表示在当前窗口,父窗口,顶级窗口重定向[feedback:jqpeng]。\n\t-Image控件增加ImageWidth\u002FImageHeight\u002FImageCssStyle\u002FImageCssClass\u002FImageAlt\u003Cem\u003E属性\u003C\u002Fem\u003E[feedback:jqpeng]。[fixed]\n\t-发布包\u003Cem\u003E中\u003C\u002Fem\u003E增加\u003Cem\u003E一个\u003C\u002Fem\u003EWeb.config.txt,这是\u003Cem\u003E一个\u003C\u002Fem\u003E空的Web.config文件,包含BOX基本的配置信息。[fixed]\n\t-ContentPanel的ShowHeader和ShowBorder\u003Cem\u003E属性\u003C\u002Fem\u003E默认也是true(注意更新以前的应用)。[fixed]\n\t-Row和Column布局时,修正IE下设置RowHeight=\"100%\"时显示不正确的BUG。[fixed]\n\t-AccordionLink当鼠标移上和移开时,有背景色的变化效果[feedback:huihuang]。[fixed]\n\t+TabStrip的Tab控件的\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E会在回发时保持(也即是说如果\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack=true,回发时没\u003Cem\u003E改变\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack的值,则每次切换到此Tab都会回发)。[fixed]\n\t\t-有这样\u003Cem\u003E一个\u003C\u002Fem\u003E效果,如果Tab1默认显示,Tab1的\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack=true,则页面加载完毕后会回发Tab1一次。\n\t\n\t\n\n+2008-10-20 v1.2 beta6\n\t+使用控件的站点必须建立虚拟目录,否则会报JS错误(即是脚本资源没有加载),却原来是HTTPCompress组件的\u003Cem\u003E问题\u003C\u002Fem\u003E。[fixed]\n\t\t-需要替换新的blowery.Web.HttpCompress.dll,解决方案见http:\u002F\u002Fpohee.com\u002Fit\u002Fhttp-compression-in-aspnet-20\u002F。\n\t+DropDownList优化。[fixed]\n\t\t-去除\u003Cem\u003EEnable\u003C\u002Fem\u003EFirstItem\u002FFirstItemText\u002FFirstItemValue,这个并不能带来很大的好处,反而容易让开发人员困惑。\n\t\t 现在可以方便的在后台DropDownList1.Items.Insert(0, new ExtAspNet.ListItem(\"全部\", \"-1\"));来达到同样的效果。\n\t\t+如果某项(ListItem)的Value为空字符串,则通过SelectedIndex和SelectedValue不能选\u003Cem\u003E中\u003C\u002Fem\u003E[feedback:jqpeng]。\n\t\t\t-和Asp.net\u003Cem\u003E中\u003C\u002Fem\u003E的保持一致,ListItem的Value值可以为空字符串。 也就是可以这样写DropDownList1.SelectedValue = \"\";\n\t\t-ListItemCollection增加重载函数Add(string text, string value),这样方便后台添加列表项。\n\t-处于布局内的容器控件(Layout!=LayoutType.Container),AutoHeight会自动设置为false(避免开发人员发生此类错误)。[fixed]\n\t-注意,控件的高度指的是整个控件的高度,包含BodyPadding(这和CSS\u003Cem\u003E中\u003C\u002Fem\u003E的height不同,CSS\u003Cem\u003E中\u003C\u002Fem\u003E的height是指内容的高度,除去padding\u002Fborder-width\u002Fmargin)。[fixed]\n\t+为所有控件\u003Cem\u003E属性\u003C\u002Fem\u003E增加在VS\u003Cem\u003E中\u003C\u002Fem\u003E的智能提示。[fixed]\n\t\t-需要将ExtAspNet.XML和ExtAspNet.dll放在一起,这样引用dll时xml会被拷贝到bin目录下,提供VS的智能提示。\n\t+控件的\u003Cem\u003E属性\u003C\u002Fem\u003E如果是枚举类型,如果此\u003Cem\u003E属性\u003C\u002Fem\u003E可以不取值,则默认为None。[fixed]\n\t\t-TriggerIconType.Default -\u003E TriggerIconType.None\n\t\t-SystemIconType.Empty -\u003E SystemIconType.None\n\t\t-RegexPattern.USER_DEFINED -\u003E RegexPattern.None\n\t-表单验证\u003Cem\u003E属性\u003C\u002Fem\u003E名称变化(ValueToCompare-\u003ECompareValue,ControlToCompare-\u003ECompareControl)。[fixed]\n\t+注意:\u003Cem\u003E一个\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E可以拥有多个值的情况。[fixed]\n\t\t-\u003Cem\u003E属性\u003C\u002Fem\u003E和CSS相关则用空格分隔(比如ColumnWidths,BodyPadding)。\n\t\t-其他的都是逗号分隔(比如Validate\u003Cem\u003EForm\u003C\u002Fem\u003Es,DataKeyNames,DataNavigateUrlFields)。\n\t+AccordionLink实现为控件。[fixed]\n\t\t-可以方便的在子页面(iframe)\u003Cem\u003E中\u003C\u002Fem\u003E通过js切换父页面\u003Cem\u003E中\u003C\u002Fem\u003E选\u003Cem\u003E中\u003C\u002Fem\u003E的菜单项(Accordion-\u003EAccordionLink)(示例在other\u002Faccordion_links_run.aspx,other\u002Faccordion_links_run_iframe_htm)[feedback:jima]。\n\t+确认:可以方便的动态添加控件,并且可以给控件添加服务器端\u003Cem\u003E事件\u003C\u002Fem\u003E(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic_run.aspx)。[fixed]\n\t\n\t\n\t\n+2008-10-15 v1.2 beta5\n\t-验证表单字段的ValueToCompare\u003Cem\u003E属性\u003C\u002Fem\u003E,为字符串时会出错的BUG。[fixed]\n\t+优化下拉列表。[fixed]\n\t\t-验证下拉列表时,应该取ListItem的Value\u003Cem\u003E属性\u003C\u002Fem\u003E进行验证,而不是Text\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-DropDownList的Items增加Insert方法(可方便的下拉列表选项添加“全部”)。\n\t\t-DropDownList不支持EmptyText\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-ListItem启用\u003Cem\u003EEnable\u003C\u002Fem\u003ESelect和SimulateTreeLevel\u003Cem\u003E属性\u003C\u002Fem\u003E,这样就可以直接在前台(ASPX)\u003Cem\u003E中\u003C\u002Fem\u003E设置哪些项不可选择,以及创建模拟下拉树。\n\t\t-DropDownList增加\u003Cem\u003EEnable\u003C\u002Fem\u003ESimulateTree\u003Cem\u003E属性\u003C\u002Fem\u003E(默认为false),如果设置了DataSimulateTreeLevelField,则自动将\u003Cem\u003EEnable\u003C\u002Fem\u003ESimulateTree设置为true。\n\t\n\t\n\n+2008-09-27 v1.2 beta4\n\t+\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader\u003Cem\u003E属性\u003C\u002Fem\u003E对所有容器的效果一样,Accordion的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader只会\u003Cem\u003E改变\u003C\u002Fem\u003EAccordion的标题大小,而不会对AccordionPanel起作用(示例见other\u002Faccordion_run.aspx)。[fixed]\n\t\t-Accordion去除\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E,AccordionPanel增加\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-影响以前使用Box的应用,需要将Accordion的\u003Cem\u003E属性\u003C\u002Fem\u003E去掉,然后为每个AccordionPanel增加\u003Cem\u003EEnable\u003C\u002Fem\u003ELargeHeader和\u003Cem\u003EEnable\u003C\u002Fem\u003EHightlight\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-AccordionPanel鼠标移上去的样式调整(现在没有下面的一条白线了)。[fixed]\n\t+AccordionPanel增加Links\u003Cem\u003E属性\u003C\u002Fem\u003E,可以绑定列表数据到AccordionPanel,呈现的是链接的列表(示例在other\u002Faccordion_links_run.aspx)。[fixed]\n\t\t-原来放置在AccordionPanel\u003Cem\u003E中\u003C\u002Fem\u003E的容器,比如ContentPanel需要在外层加上标签。\n\t\t-适当增大AccordionPanel\u003Cem\u003E中\u003C\u002Fem\u003E链接的高度20px-\u003E22px,同时对链接的样式也做了微调。\n\t\t-通过BodyPadding控制链接列表的边距。\n\t\t-这样能大大减少ASPX\u003Cem\u003E中\u003C\u002Fem\u003EHTML代码和Javascript代码的书写,可以在后台动态添加链接,效果很赞,此需求由马季提出。\n\t\n\t\n\t\n+2008-09-25 v1.2 beta3\n\t+代码优化与设计时支持(尚需要不断完善,目前可以在ASPX页切换到“设计时”,方便\u003Cem\u003E属性\u003C\u002Fem\u003E的更改和\u003Cem\u003E事件\u003C\u002Fem\u003E处理函数的添加)。[fixed]\n\t\t-Panel\u002FGroupPanel\u002FContentPanel\u002FTree\u002FHiddenField\u002FPageLoading\n\t\t-TabStrip\u002FToolbar\n\t-TabStrip去除Plain\u003Cem\u003E属性\u003C\u002Fem\u003E,增加\u003Cem\u003EEnable\u003C\u002Fem\u003ETitleBackgroundColor(默认为true)。[fixed]\n\t-向\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E动态添加控件的BUG,现在\u003Cem\u003Eform\u003C\u002Fem\u003E\u002F\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic_run.aspx示例已经能正确运行。[fixed]\n\t+大部分容器的子控件集合更正为Items(以前有些是Rows)。[fixed]\n\t\t-影响的控件包括Toolbar\u002FAccordion\u002FAccordionPanel\u002FGroupPanel\u002FPanel\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FWindow等。\n\t\t-保留\u003Cem\u003EForm\u003C\u002Fem\u003E的Rows(\u003Cem\u003EForm\u003C\u002Fem\u003ERowCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E和Grid的Rows\u003Cem\u003E属性\u003C\u002Fem\u003E(GridRowCollection)。\n\t\t-保留TabStrip的Tabs(TabCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-保留PageLayout\u002FBorderLayout的Regions(RegionCollection)\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-预祝今晚神七发射成功。\n\t\n\t\n\t\n+2008-09-22 v1.2 beta2\n\t+Grid选\u003Cem\u003E中\u003C\u002Fem\u003E项(SelectedRowIndexArray)在ajax回发过程\u003Cem\u003E中\u003C\u002Fem\u003E存在BUG [feedback:xmzhu]。[fixed]\n\t\t-表现为对Grid进行多次删除添加操作后,SelectedRowIndexArray选\u003Cem\u003E中\u003C\u002Fem\u003E项\u003Cem\u003E中\u003C\u002Fem\u003E会存在当前不存在的行序号,导致服务器端遍历选\u003Cem\u003E中\u003C\u002Fem\u003E项时数组越界。所有使用box控件的应用程序都受到此BUG的影响,需尽快更新到新版本。\n\t+代码优化与设计时支持(示例\u003Cem\u003E中\u003C\u002Fem\u003E表单控件都已支持设计)。[fixed]\n\t\t-PageManager\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FHyperLink\u002FLabel\u002FImage\u002FLink\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FTextBox\n\t\t-TriggerBox\u002FTwinTriggerBox\u002FWindow\u002FTextArea\u002FHtmlEditor\u002FDatePicker\u002FNumberBox\n\t\t-CheckBox\u002FRadio\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FRadio\u003Cem\u003EButton\u003C\u002Fem\u003EList\u002FDropDownList\n\t\t-Grid\n\n\n\n+2008-09-19 v1.2 beta1\n\t-Image\u002FLink\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FHyperLink增加一些Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t+隐藏的方式由HideMode\u003Cem\u003E属性\u003C\u002Fem\u003E控制Visibility\u002FOffsets\u002FDisplay。[fixed]\n\t\t-修正\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FSimple\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E隐藏\u003Cem\u003E一个\u003C\u002Fem\u003E表单字段(Hidden=false)会占据页面空间的BUG。\n\t-ToolbarText\u002FToolbarFill\u002FToolbarSeparator在ASPX\u003Cem\u003E中\u003C\u002Fem\u003E设置Hidden=true不起作用的BUG [feedback:jbzhang]。[fixed]\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E去除MarginRight\u003Cem\u003E属性\u003C\u002Fem\u003E(可以通过CssStyle=\"margin-right:5px;\"达到相同的效果)[fixed]\n\t\n\t\n\t\n+2008-09-09 v1.1\n\t+Toolbar去除IsPageMenu\u003Cem\u003E属性\u003C\u002Fem\u003E,在网报\u003Cem\u003E中\u003C\u002Fem\u003E可以用自定义样式实现,而不应该写在控件\u003Cem\u003E中\u003C\u002Fem\u003E。[fixed]\n\t\t-网报:CssClass=\"toolbar-pagemenu\" CssStyle=\"border:0px;\",同时定义样式:.toolbar-pagemenu{ background: rgb(208, 222, 240) url(..\u002Fimages\u002Fpagemenu_toolbar_background.gif) repeat-x left top;}。\n\t-Region去除默认的Layout=Fit,如果希望Region使用Fit\u002FAnchor\u002FColumn\u002FRow等布局的话,需要手工指定。[fixed]\n\t-ToolbarSeparator\u002FToolbarFill在Ajax更新Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E的BUG。[fixed]\n\t+布局整理。[fixed]\n\t\t-新增Column\u002FAbsolute\u002FRow三种布局,加上以前的Container\u002FFit\u002FAnchor\u002FAccordion\u002FBorder\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E六种布局,总共有9\u003Cem\u003E中\u003C\u002Fem\u003E布局可供使用。\n\t\t-其\u003Cem\u003E中\u003C\u002Fem\u003E一些控件默认使用一种布局:Simple\u003Cem\u003EForm\u003C\u002Fem\u003E(\u003Cem\u003EForm\u003C\u002Fem\u003E)\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E(\u003Cem\u003EForm\u003C\u002Fem\u003E)\u002FPanel-GroupPanel(Container)\u002FAccordion(Accordion)\u002FPageLayout(Border)\u002FBorderLayout(Border)\u002FTabStrip(Card),所有布局控件默认的布局是Container。\n\t\t-经常用到的布局控件:Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E\u002FAccordion\u002FTabStrip\u002FBorderLayout,经常用到的布局:Fit\u002FRow\u002FAnchor\n\t\n\t\n\t\n+2008-09-08 v1.1 beta7\n\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenuHyperLink增加HideOn\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E,如果\u003Cem\u003E一个\u003C\u002Fem\u003E菜单项的作用仅仅为了弹出下级菜单,点击没反应,则可以这样设置HideOn\u003Cem\u003EClick\u003C\u002Fem\u003E=\"false\" CssStyle=\"cursor:default;\" [feedback:huayu]。[fixed]\n\t-Menu\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenuHyperLink\u002FMenuSeparator\u002FMenuText增加Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E(此\u003Cem\u003E属性\u003C\u002Fem\u003E是Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E,如果需要在Ajax时显示隐藏菜单,请使用此\u003Cem\u003E属性\u003C\u002Fem\u003E而不是Visible\u003Cem\u003E属性\u003C\u002Fem\u003E)。[fixed]\n\t+大部分的ExtAspNet控件增加Hidden\u003Cem\u003E属性\u003C\u002Fem\u003E(少数几个控件没有此\u003Cem\u003E属性\u003C\u002Fem\u003E:Menu),这样在Ajax时可以显示隐藏控件。[fixed]\n\t\t-注意Visible和Hidden的区别:Visible=false的\u003Cem\u003E属性\u003C\u002Fem\u003E不会渲染到客户端,Hidden=true的控件渲染到客户端但是隐藏。\n\t\t-US的ExtAspNet改造强烈依赖于此\u003Cem\u003E属性\u003C\u002Fem\u003E,这个版本发布后可以继续。\n\t\t-网报\u003Cem\u003E中\u003C\u002Fem\u003E唯一没有用到ExtAspNetAjax的地方就是显示隐藏表单字段,现在也可以使用Ajax了。\n\n\n\n+2008-09-04 v1.1 beta6\n\t-PageContext.Redirect支持普通页面转向和ExtAspNetAjax下页面转向。[fixed]\n\t+模拟树的下拉列表的BUG(会使一些可选项变成不可选项)[feedback:xmzhu]。[fixed]\n\t\t-因为if(\"0,2,9,11,\".indexOf('1,')\u003E=0){ok},这显然是不对的,此BUG涉及很多控件(Grid,DropDownList,TabStrip)。\n\t\t-解决方法:testValue += '';if(domValue.split(',').indexOf(testValue) \u003E= 0){ok}。\n\t-DropDownList在Ajax时应该先更新数据再设置选定项 [feedback:xmzhu]。[fixed]\n\t-\u003Cem\u003EButton\u003C\u002Fem\u003E\u002FMenu\u003Cem\u003EButton\u003C\u002Fem\u003E增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EOnClient\u003Cem\u003EClick\u003C\u002Fem\u003E [feedback:xmzhu]。[fixed]\n\t-Tree的Ajax支持(尚需优化)。[fixed]\n\t\n\t\n\n+2008-09-02 v1.1 beta5\n\t-DropDownList如果第一次没有绑定值,应该绑定到[[]](二维数组),而不是[](一维数组)。[fixed]\n\t-模拟树的DropDownList,在Ajax重新绑定DataSource后,保持项是否可选状态是最新的(页面第一次加载时,即使没有数据也需要设置DataTextField\u002FDataValueField\u002FDataSimulateTreeLevelField\u002FData\u003Cem\u003EEnable\u003C\u002Fem\u003ESelectField等\u003Cem\u003E属性\u003C\u002Fem\u003E的值,否则Ajax回发时会出错)。[fixed]\n\t-UserControlConnector导致的Ajax错误,去除UpdatePanelConnector控件(以后不会用AspnetAjax,这个控件已经完成使命)。[fixed]\n\t-不要使用Asp.net的控件HiddenField,而是使用ExtAspNet的HiddenField,因为Asp.net的控件在Ajax不会被更新,所以会导致视图状态不一致的错误。[fixed]\n\t-网报Ajax整合基本完成(除了待审批-\u003E下一步[审核\u002F归档\u002F出纳]操作,由于需要显示隐藏表单字段,目前Ajax不支持,使用的还是普通的PostBack)。[fixed]\n\t-IE下,Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList\u003Cem\u003E中\u003C\u002Fem\u003E项如果存在汉字,则会换行的BUG。[fixed]\n\t-增加两个Theme[Slate\u002FBlack](样式尚需完善)。[fixed]\n\t\n\t\n\t\n+2008-09-01 v1.1 beta4\n\t-非当前Tab\u003Cem\u003E中\u003C\u002Fem\u003E如果有ContentPanel,则在页面上方会有空白(可以通过设置\u003Cem\u003EEnable\u003C\u002Fem\u003EDeferredRender=false解决,但会减慢页面的加载速度),现在已经解决这个\u003Cem\u003E问题\u003C\u002Fem\u003E。[fixed]\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList去除\u003Cem\u003EEnable\u003C\u002Fem\u003EBackgroundColor\u002F\u003Cem\u003EEnable\u003C\u002Fem\u003ELightBackgroundColor\u003Cem\u003E属性\u003C\u002Fem\u003E,背景色是透明的,也就是和父控件(Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E)的背景色一致。[fixed]\n\t-TwinTriggerBox的第\u003Cem\u003E一个\u003C\u002Fem\u003ETrigger图标不会先显示再隐藏,而是直接隐藏掉(如果用户设置ShowTrigger1=false)。[fixed]\n\t-Web.config\u003Cem\u003E中\u003C\u002Fem\u003E增加配置项\u003Cem\u003EForm\u003C\u002Fem\u003ELabelWidth=\"80\"(默认为80),同时PageManager增加\u003Cem\u003EForm\u003C\u002Fem\u003ELabelWidth\u003Cem\u003E属性\u003C\u002Fem\u003E用来控制页面上所有Simple\u003Cem\u003EForm\u003C\u002Fem\u003E\u002F\u003Cem\u003EForm\u003C\u002Fem\u003E的表单字段标题的宽度。[fixed]\n\t+完善Ajax。[fixed]\n\t\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003ESelectedIndex(SelectedValue\u002FSelectedItem)。\n\t\t-DropDownList增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003E\u002FSelectedIndex(SelectedValue\u002FSelectedItem)\u002FDataSource。\n\t\t-Grid增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EColumns(也就是说Grid列在回发时隐藏显示了一些,也能正确的Ajax)。\n\t\t-ToolbarText增加Ajax可更新\u003Cem\u003E属性\u003C\u002Fem\u003EText。\n\t\t\n\t\t\n\t\t\n+2008-08-31 v1.1 beta3\n\t-TabStrip增加\u003Cem\u003EEnable\u003C\u002Fem\u003EDeferredRender\u003Cem\u003E属性\u003C\u002Fem\u003E(是否启用延迟加载Tab,默认启用)。[fixed]\n\t-重定向页面,使用系统的方法 PageContext.Redirect(string url),使用Response.Redirect方法会出错。[fixed]\n\t+安全的Ajax设计。[fixed]\n\t\t-这个版本Ajax和上个版本(v1.1beta1)在设计思路上有很大区别,同时在速度上会有进一步的提升。\n\t\t-基本思想:安全的Ajax交互,明确Ajax回发时支持控件哪些\u003Cem\u003E属性\u003C\u002Fem\u003E的\u003Cem\u003E改变\u003C\u002Fem\u003E,这将适合90%的应用场景(并且具有极快的反应速度),对于需要UI大改动的可采用常规回发,系统提供控件级别的\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t\t-整理支持Ajax的控件\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E列表(所有被支持的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E都是安全的、快速的,所有不被支持的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E不会对UI起作用,同时是安全的,不会有js错误)。\n\t-网报Ajax整合(目前只支持所有的列表页面)(v0.8.1)。[fixed]\n\t\n\t\n\t\n+2008-08-29 v1.1 beta1\n\t+Window控件是否弹出的状态在回发时维持。[fixed]\n\t\t-控件设计的\u003Cem\u003E一个\u003C\u002Fem\u003E原则,凡是可以在客户端\u003Cem\u003E改变\u003C\u002Fem\u003E的\u003Cem\u003E属性\u003C\u002Fem\u003E都应该在回发时保持\u003Cem\u003E属性\u003C\u002Fem\u003E的状态。\n\t+完全抛弃Asp.NetAjax,ExtAspNet控件内置Ajax支持。[fixed]\n\t\t-这是\u003Cem\u003E一个\u003C\u002Fem\u003E值得骄傲的设计,可以明显提高页面回发的速度(相比普通的回发和Asp.netAjax的回发),对于IFrame框架的交互也起到很好的加速效果。\n\t\t-不需要做任何配置,所有的回发都是Ajax(在Web.config和PageManager\u003Cem\u003E中\u003C\u002Fem\u003E有设置启用Ajax回发的\u003Cem\u003E属性\u003C\u002Fem\u003E-\u003Cem\u003EEnable\u003C\u002Fem\u003EAjax-默认为true)。\n\t\t+在这种设计下,其实可以完全抛弃Javascript。\n\t\t\t-比如简单的点击\u003Cem\u003E一个\u003C\u002Fem\u003E按钮弹出窗口,可以在\u003Cem\u003EButton\u003C\u002Fem\u003E的On\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E设置Window1.Popup=true,也可以注册\u003Cem\u003EButton\u003C\u002Fem\u003E的OnClient\u003Cem\u003EClick\u003C\u002Fem\u003E=Window1.GetShowReference()。\n\t\t\t-第一种方法需要回发,但是我们内置的Ajax支持能很快的返回需要的结果并解析,在网络速度很快的情况下和第二种方法差别不是很大。\n\t\t\t-推荐的做法是尽量用客户端实现,客户端实现复杂的直接用服务器端实现。\n\t\t+目前ExtAspNetAjax的限制。\n\t\t\t-只对ExtAspNet控件起作用,对Asp.net控件不起作用。\n\t\t\t-对容器控件(有子控件的控件)不起作用,只对最底层的控件起作用。\n\t\t\t-对\u003Cem\u003E改变\u003C\u002Fem\u003E控件的Visible\u003Cem\u003E属性\u003C\u002Fem\u003E会有错误。\n\t\t\t-Window控件的\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003E改变\u003C\u002Fem\u003E只有少数几个起作用(Popup,IFrameUrl)。\n\t-PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003E\u003Cem\u003EEnable\u003C\u002Fem\u003EPageLoading和\u003Cem\u003EEnable\u003C\u002Fem\u003EAjaxLoading(启用页面第一次加载标示和Ajax加载标示,默认都为true),所以如果使用系统默认的加载标示就不必每个页面都添加PageLoading控件。[fixed]\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E的回发\u003Cem\u003E事件\u003C\u002Fem\u003E(主要是Link\u003Cem\u003EButton\u003C\u002Fem\u003EField和CheckBoxField(RenderAsStaticField=false))要延迟0ms执行,这样当前行被选\u003Cem\u003E中\u003C\u002Fem\u003E的状态在回发后会得到保持。[fixed]\n\t-Grid选\u003Cem\u003E中\u003C\u002Fem\u003E行的状态在第一次回发时不能保持的BUG。[fixed]\n\t\n\t\n\t\n+2008-08-26 v1.0\n\t+已知\u003Cem\u003E问题\u003C\u002Fem\u003E:IE的ActiveX插件IE Developer Toolbar会对IFrame的加载造成0.5m左右的延迟。\n\t\t-主要是父页面加载\u003Cem\u003E一个\u003C\u002Fem\u003E比较大的css文件(~100k),则每次打开iframe页面,onload\u003Cem\u003E事件\u003C\u002Fem\u003E的调用都会有500ms左右的延迟,在测试IE性能时要禁用此插件。\n\t+优化弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003EIFrame的显示速度。[fixed]\n\t\t-在当前页面弹出窗口需要~20ms,在父页面弹出窗口需要100~300ms。通过缓存弹出的窗口实例,从而第二次弹出窗口不再需要创建时间。\n\t-PageLayout的Region增加SplitColor\u003Cem\u003E属性\u003C\u002Fem\u003E,默认的背景色是透明的。(在网报\u003Cem\u003E中\u003C\u002Fem\u003E需要设置SplitColor=\"#CADDF7\",以便分隔符的颜色和Toolbar的颜色一致)[fixed]\n\t+PageManager增加\u003Cem\u003E属性\u003C\u002Fem\u003ETheme、Language、\u003Cem\u003EForm\u003C\u002Fem\u003EMessageTarget、\u003Cem\u003EForm\u003C\u002Fem\u003EOffsetRight等\u003Cem\u003E属性\u003C\u002Fem\u003E,这些\u003Cem\u003E属性\u003C\u002Fem\u003E可以在Web.config\u003Cem\u003E中\u003C\u002Fem\u003E设置(推荐方法),也可以为每个页面设置。[fixed]\n\t\t-\u003Cem\u003E一个\u003C\u002Fem\u003E典型的应用是为每个用户设置不同的皮肤(根据用户浏览器\u003Cem\u003E中\u003C\u002Fem\u003ECookie设置的值)(示例在default.aspx)。\n\t-TreeNode增加\u003Cem\u003E属性\u003C\u002Fem\u003ESingle\u003Cem\u003EClick\u003C\u002Fem\u003EExpand,表示点击可切换节点的折叠展开状态。[fixed]\n\t+TabStrip\u003Cem\u003E中\u003C\u002Fem\u003E非当前Tab会延迟渲染。[fixed]\n\t\t-这会明显加快页面的渲染速度,网报\u003Cem\u003E中\u003C\u002Fem\u003E\u003Cem\u003E一个\u003C\u002Fem\u003E典型的费用审批页面可以减少200ms的渲染时间。\n\t\t-由于非当前Tab不会在页面加载时渲染,所以那些Tab\u003Cem\u003E中\u003C\u002Fem\u003E的节点在页面加载后也是不可见的,需要将相关的脚本移动到控件的render\u003Cem\u003E事件\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E。\n\t-不能比较两个DataPicker大小的BUG。[fixed]\n\t-TabStrip延迟加载引起的BUG(非当前Tab\u003Cem\u003E中\u003C\u002Fem\u003E的ContentPanel会占据页面空间,已修正)。[fixed]\n\t-全新的ExtAspNet.Examples(基础知识\u002F表单控件\u002F数据绑定\u002F容器布局\u002FIFrame框架)。[fixed]\n\t\n\t\n\t\n+2008-08-19 v0.4 beta6\n\t+PageManager增加两个\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003EEnable\u003C\u002Fem\u003EInlineStyleJavascript\u002FApplyParentStyleJavascript),可以在IFrame页面\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用父页面的脚本和样式(示例在iframe\u002Fdefault.aspx和iframe\u002Fpage3.aspx)。[fixed]\n\t\t-测试发现,IFrame页面的加载速度并没有明显加快,可以先不使用此\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList放在在BorderLayout\u003Cem\u003E中\u003C\u002Fem\u003E显示不了的BUG [feedback:zgjiang2]。[fixed]\n\t+extjs的BUG,当页面\u003Cem\u003E中\u003C\u002Fem\u003E含有iframe时,Ext.onReady会被调用两次(IE6\u002FIE7)(http:\u002F\u002Fwww.extjs.net\u002Fforum\u002Fshowthread.php?t=43246)(示例在test.aspx)[fixed]\n\t\t-现在的解决方法是在初始化时:if(this.initialized){return;}this.initialized=true;\n\t+需要先回发页面再弹出IFrame窗口。[fixed]\n\t\t-在回发时设置窗口的Popup和IFrameUrl\u003Cem\u003E属性\u003C\u002Fem\u003E,因为这些\u003Cem\u003E属性\u003C\u002Fem\u003E是可以保持状态的,所以在关闭窗口时要注意设置Popup=false。\n\t\t-另一种做法(推荐):PageContext.RegisterStartupScript(Window99.GetShowReference(\".\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx\"));。\n\t\n\t\t\n\t\n+2008-08-15 v0.4 beta5\n\t-点击关闭窗口的按钮,在IE6下会有JS错误。[fixed]\n\t-增加BorderLayout控件,示例在iframe\u002Fborderlayout.aspx。[fixed]\n\t+Radio\u003Cem\u003Ebutton\u003C\u002Fem\u003Elist显示有重影(示例在radio.aspx)。[fixed]\n\t\t-全新的样式。\n\t\t-去除Horizontal\u003Cem\u003E属性\u003C\u002Fem\u003E,增加ColumnNumber(可以设置渲染成几列)。\n\t\t-GetValueReference取得的值不正确的BUG。\n\t-动态向\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E添加\u003Cem\u003EForm\u003C\u002Fem\u003ERow,并动态的向\u003Cem\u003EForm\u003C\u002Fem\u003ERow\u003Cem\u003E中\u003C\u002Fem\u003E添加表单字段,以及如何取得表单字段的值。(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_dynamic.aspx)[fixed]\n\t+IFrame弹出窗口关闭后回发父页面,则会多加载IFrame一次,再次打开窗口会重复加载IFrame2-3次[feedback:xmzhu]。[fixed]\n\t\t-这是\u003Cem\u003E一个\u003C\u002Fem\u003E重要的BUG,会严重影响页面的加载速度。原因是通过脚本\u003Cem\u003E改变\u003C\u002Fem\u003E的IFrameUrl会在回发时保持状态,从而回发父页面后Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame被添加到页面,而这是不需要的。\n\t\t-现在\"是否弹出窗口、窗口标题、IFrameUrl\"在客户端的\u003Cem\u003E改变\u003C\u002Fem\u003E,不会影响服务器端的\u003Cem\u003E属性\u003C\u002Fem\u003E,也即是不保持状态。此\u003Cem\u003E问题\u003C\u002Fem\u003E解决。(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx)\n\t\n\t\n\t\n+2008-08-13 v0.4 beta4\n\t-点击关闭窗口的按钮,在IE下会有JS错误。[fixed]\n\t-Window的右上角关闭图标增加提示,优化\u003Cem\u003E事件\u003C\u002Fem\u003E响应。[fixed]\t\n\t-Window的代码重构。[fixed]\t\n\t+修正\u003Cem\u003E一个\u003C\u002Fem\u003E的内存泄漏。[fixed]\n\t\t-IE7下测试,打开iframe\u002Fdefault.aspx页面,iexplorer占内存68.368M。\n\t\t-内存存在泄漏时,点击iframe\u002Fpage3.aspx页面8次后iexplorer占118.792M内存。\n\t\t-修正后,点击iframe\u002Fpage3.aspx页面8次后iexplorer占76.492M内存。\n\t\t-IE窗口最小化时,IE会自动进行垃圾回收。\n\t\n\t\n\t\n+2008-08-12 v0.4 beta3\n\t-底层的javascript框架Extjs升级为v2.2,Grid的渲染速度有很大提升。[fixed]\n\t-Grid的\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender默认为true(如果没有设置Grid的高度或通过布局间接设置高度,则行不可见,可以通过AutoHeight=\"true\"解决)。[fixed]\n\t+页面正在加载的提示尽早的显示出来。[fixed]\n\t\t-首先在执行js来完成页面渲染之前延迟5ms,以便浏览器把当前页面内容显示出来。\n\t\t-加载js脚本的script标签放置在页面的最后,放置加载js而阻塞PageLoading的显示。\n\t\n\t\n\t\n+2008-08-08 v0.4 beta2\n\t-TabStrip延时加载出错。[fixed]\n\t-Window的IFrameUrl处理的BUG,比如Pages_ExtAspNet目录下的页面应该为.\u002FFE_ApplyEditor.aspx或~\u002FPages_ExtAspNet\u002FFE_ApplyEditor.aspx。[fixed]\n\t-Window的WindowPosition=\"Center\"并且Target=\"_parent\",则会JS错误。[fixed]\n\t-实现网报首页下拉菜单和左侧菜单的导航功能。[fixed]\n\t-Window的创建在页面显示后进行,不计算在js渲染时间内。[fixed]\n\t-优化费用申请页面(尽量减少不必要的层次嵌套)。[fixed]\n\t-\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx默认会加载\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx页面(Window控件的BUG)。[fixed]\n\t-Window\u003Cem\u003E中\u003C\u002Fem\u003E的保存并关闭按钮和Asp.netAjax冲突。[fixed]\n\t-优化关闭Window的js脚本,减少写到页面的js大小。[fixed]\n\t-加快“保存并关闭”按钮关闭窗口的速度,使用PageContext.RegisterExclusiveScript(CurrentActiveWindow.GetClosePostBackReference());,示例在(simple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。[fixed]\n\t\n\t\n\t\n+2008-08-05 v0.4 beta1\n\t-DropDownList去除Traditional\u003Cem\u003E属性\u003C\u002Fem\u003E,和传统的Asp.net控件一样不可编辑。[fixed]\n\t-DropDownList增加SelectedText\u003Cem\u003E属性\u003C\u002Fem\u003E(去除了模拟树时通过SelectedItem.Text的多余html字符)。[fixed]\n\t-为了加快渲染速度,去掉一些特效(比如Panel的折叠效果,Grid的拖动列效果等)[feedback:dcding]。[fixed]\n\t-将生成的js对象的名称简单化,这样可以减少生成的js内容,加快页面加载速度(\u003Cem\u003E一个\u003C\u002Fem\u003E典型页面的js由原来的33.0k降低为21.4k)。[fixed]\n\t+弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003E,点击按钮回发然后点击关闭按钮,出现js错误 [feedback:xmzhu]。[fixed]\n\t\t-因为在页面的Page_Load\u003Cem\u003E中\u003C\u002Fem\u003E,if (!IsPostBack){PageContext.RegisterPageStateChangedStartupScript();}通过这样方法向页面注册了一段脚本,但是这段脚本在回发时没有注册到页面,因为js调用此脚本时报错。\n\t\t-一种解决方法是将向页面注册脚本的函数移动到if语句的外面,即每次都向页面注册此脚本。\n\t\t-另一种办法就是在PageManager控件\u003Cem\u003E中\u003C\u002Fem\u003E增加RegisterPageStateChangedScript(向页面注册监视页面\u003Cem\u003E中\u003C\u002Fem\u003E表单内容\u003Cem\u003E改变\u003C\u002Fem\u003E的脚本)的\u003Cem\u003E属性\u003C\u002Fem\u003E(会在每次页面回发(包含ajax回发)时注册脚本)(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_iframe.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。\n\t+PageManager控件增加ExecuteOnReadyWhenPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在onreadyscript.aspx)。[fixed]\n\t\t-这个手工添加onReady函数能够在每次页面回发时都注册脚本(包括Ajax局部回发),这就避免了手工去做的麻烦(已经在网报\u003Cem\u003E中\u003C\u002Fem\u003E遇到这种情况)。\n\t-每个页面必须添加\u003Cem\u003E一个\u003C\u002Fem\u003EPageManager控件,否则会出错,同时去除DesignTimeStyle控件(作为PageManager的\u003Cem\u003E属性\u003C\u002Fem\u003E出现)。[fixed]\n\t-TextField等表单字段增加Readonly\u003Cem\u003E属性\u003C\u002Fem\u003E。[fixed]\n\t+全新设计的IFrame的架构(尽可能和基于MasterPage的架构保持兼容,和Asp.net Ajax保持兼容)。[fixed]\n\t\t-最大的好处是可以减少页面下载完毕后Javascript渲染时间(可以节约一般的渲染时间)。(所有示例在iframe文件夹下)\n\t\t+示例1,通过点击按钮弹出IFrame窗口,可直接关闭父页面,也可在关闭后刷新或回发父页面。(default.aspx\u002Fpage2.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\n\t\t\t-虽然IFrame和Master两种架构差异迥然,或许你以为需要修改一堆代码来完成这种转换,起初我也是这么认为的,但是现在你所要做的仅仅是为Window控件增加\u003Cem\u003E一个\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E(Target=\"_parent\"),就完成了两种框架的转换,是不是很酷。\n\t\t\t-显然,控件本身封装了大量的代码,简单来看现在有三个页面(default.aspx(A)\u002Fpage2.aspx(B)\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx(C)),其\u003Cem\u003E中\u003C\u002Fem\u003EA包含B页面,当你在B\u003Cem\u003E中\u003C\u002Fem\u003E打开包含有页面C的窗口时,窗口不是在B\u003Cem\u003E中\u003C\u002Fem\u003E打开,而是在A\u003Cem\u003E中\u003C\u002Fem\u003E打开,这样才能保证窗口覆盖整个页面,当你从C\u003Cem\u003E中\u003C\u002Fem\u003E返回需要回发页面B时,却发现取得的是A页面,因为我们窗口是在A页面\u003Cem\u003E中\u003C\u002Fem\u003E创建的。我会通过一篇文章来揭示这一过程,敬请期待。\n\t\t-示例2,Grid\u003Cem\u003E中\u003C\u002Fem\u003E弹出窗口。(default.aspx\u002Fpage3.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\t\n\t\t+示例3,TriggerBox弹出窗口。(default.aspx\u002Ftriggerbox.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)\t\n\t\t\t-在整个页面弹出窗口或者在当前页面弹出窗口,仅仅设置Window的Target\u003Cem\u003E属性\u003C\u002Fem\u003E即可。\n\t\t-示例4,弹出窗口\u003Cem\u003E中\u003C\u002Fem\u003E的弹出窗口。\n\t-对整个Examples更新测试。[fixed]\n\t\n\t\n\t\n+2008-07-31 v0.3 beta12\n\t-IE下TabStrip在Ajax回发后不会去掉x-hide-display样式,导致Tab显示为空的BUG。[fixed]\n\t-对TabStrip\u002FPanel\u002FWindow\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame重新设计,如果设置IFrameUrl=\"#\"或者\"about:blank\",则不渲染iframe到页面节点,同时第二次打开Window\u003Cem\u003E中\u003C\u002Fem\u003E的IFrame不会有残影出现。[fixed]\n\t-如果TabStrip的Tab不是激活Tab并且设置了IFrameUrl,则会延迟加载(示例在tabstrip_iframe.aspx)。[fixed]\n\t-Tree控件,点击\u003Cem\u003E一个\u003C\u002Fem\u003E节点自动回发,则当前点击的那个节点的选\u003Cem\u003E中\u003C\u002Fem\u003E状态不会保持的BUG [feedback:zgjiang2]。[fixed]\n\t+规范关闭窗口时提示用户保存已经修改的内容提示的调用方式(包含iframe\u003Cem\u003E中\u003C\u002Fem\u003E关闭按钮和window右上角关闭图标的调用方式)(示例在grid_iframe.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)。[fixed]\n\t\t-内部实现上,点击“保存并关闭按钮”,可以将关闭窗口的脚本更早的执行(在simple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx,PageContext.RegisterStartupScript增加重载函数),而不是原来的先创建整个页面UI,再关闭窗口。\n\t-参照Yslow的评分规则,将JS文件引用由head移动到body\u003Cem\u003E中\u003C\u002Fem\u003E。[fixed]\n\t-Firefox下,如果页面太长会出滚动条,原来在ViewPort样式\u003Cem\u003E中\u003C\u002Fem\u003E有body{overflow:hidden;}。[fixed]\n\t+IFrame内的页面宽度和高度会自动设置(是不是还在为1px\u002F2px的白边而烦恼,现在不用了:-)(示例在iframe_autosize.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E2.aspx)[fixed]\n\t\t-增加PageManager控件(需要指定AutoSizePanelID,即需要设置宽度和高度为整个页面的宽度和高度的Panel),HideScrollbar\u003Cem\u003E属性\u003C\u002Fem\u003E用于隐藏滚动条(IE\u002FFirefox)。\n\t\n\t\n\t\n+2008-07-24 v0.3 beta11\n\t-web.config配置信息\u003Cem\u003E中\u003C\u002Fem\u003EMessageTarget改名为\u003Cem\u003EForm\u003C\u002Fem\u003EMessageTarget,增加\u003Cem\u003EForm\u003C\u002Fem\u003EOffsetRight配置项,用来定义全局表单字段距离右边界的宽度,同时每个表单字段都增加OffsetRight\u003Cem\u003E属性\u003C\u002Fem\u003E [feedback:jima]。[fixed]\n\t-Window在回发时设置的Title不起作用的BUG。[fixed]\n\t-增加Image控件 [feedback:jima]。[fixed]\n\t-Tree控件,如果\u003Cem\u003E一个\u003C\u002Fem\u003E节点不是叶子节点并且没有子节点,则应把它的Expanded设置为false,否则会引起页面死循环回发 [feedback:zgjiang2]。[fixed]\n\t-Image增加ToolTipTitle\u002FToolTipAutoHide两个\u003Cem\u003E属性\u003C\u002Fem\u003E,当提示信息特别长时,可以让用户阅读完毕之后手工关闭提示信息(示例在hyperlink.aspx)。[fixed]\n\t-去掉DropDownList控件的Text\u003Cem\u003E属性\u003C\u002Fem\u003E(强制性),可以通过设置SelectedValue来设置选\u003Cem\u003E中\u003C\u002Fem\u003E哪一项 [feedback:xmzhu]。[fixed]\n\t-过滤提示消息\u003Cem\u003E中\u003C\u002Fem\u003E的换行符(转换为),否则提示信息可能导致页面渲染错误 [feedback:dcding]。[fixed]\n\t\n\t\n\t\n+2008-07-23 v0.3 beta10\n\t+完善Tree控件。[fixed]\n\t\t-如何将数据库\u003Cem\u003E中\u003C\u002Fem\u003E的数据绑定到Tree(示例在tree2_bind_database.aspx)。\n\t\t-ajax加载树节点,放在UpdatePanel\u003Cem\u003E中\u003C\u002Fem\u003E才有ajax的效果(示例在tree2_ajax.aspx)。\n\t\t-更改TreeNode的ID为NodeId,否则两个树\u003Cem\u003E中\u003C\u002Fem\u003E不能有相同ID的TreeNode,这是不合理的。\n\t-Grid的GridColumn的ID改名成ColumnId,否则同\u003Cem\u003E一个\u003C\u002Fem\u003E页面放置两个Grid,它们的GridColumn的ID不能同名,这是不合理的。注意需要更新以前的代码![fixed]\n\t-Grid所有类型的列增加DataTooltipField\u002FDataTooltip\u003Cem\u003EForm\u003C\u002Fem\u003EatString两个字段,以显示ToolTip(示例在grid.aspx)。[fixed]\n\t\n\t\n\t\n+2008-07-22 v0.3 beta9\n\t+IE6下,左侧导航链接的选\u003Cem\u003E中\u003C\u002Fem\u003E样式,以及鼠标移上去和移开的样式不对。[fixed]\n\t\t-发现原来ie6不能正确解析li的高度,必须手工设置才行(style=\"height:20px;\")。\n\t+IE6\u002FIE7下,模拟树的下拉列表如果文字长度太长,则显示的文字会换行,导致错位。[fixed]\n\t\t-虽然最后未能解决##差旅交通费在IE和Firefox下显示的不同效果。\n\t\t-但是通过用来代替,从而实现FF和IE下样式的统一。\n\t\t-刚看到old9的解决方案:把“差旅交通费”改成“差旅交通费”,在IE下和FF下的都不换行,:-)\n\t-Link\u003Cem\u003EButton\u003C\u002Fem\u003E增加On\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E事件\u003C\u002Fem\u003E [feedback:huihuang]。[fixed]\n\t-Window通过设置IFrameUrl和Popup不起作用的BUG。[feedback:xmzhu]。[fixed]\n\t+增加树控件(Tree)(示例在tree2.aspx)。[fixed]\n\t\t-可以在回发时维持树的状态(选\u003Cem\u003E中\u003C\u002Fem\u003E行,折叠\u002F展开,CheckBox)。\n\t\t-可以通过Inline的方式添加树节点,也可以绑定到XmlDocument\u002FXmlDataSource\u002FSiteMap。\n\t\t-点击树节点可以链接到页面,也可以引发PostBack\u003Cem\u003E事件\u003C\u002Fem\u003E,可以添加自定义脚本。\n\t\n\t\n\t\n+2008-07-16 v0.3 beta8\n\t+ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置ExtAspNet控件,则渲染时会出现各种\u003Cem\u003E问题\u003C\u002Fem\u003E,比如下拉列表显示样式出错,Grid没了滚动条等等。[fixed]\n\t\t-隐蔽性非常强,原来在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E渲染ExtAspNet控件,如果容器的display='none',则会出现各种\u003Cem\u003E问题\u003C\u002Fem\u003E(主要是大小不对)。\n\t\t 必须设置容器为visibility='hidden',然后在渲染完成后显示容器。\n\t\t-现在Grid只要显示的设置高度和宽度,或者隐式的设定宽度高度(通过Anchor或Fit布局实现),只要超过Grid容器就会显示滚动条。\n\t+IE6下,在应用Asp.NetAjax后,\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E字段的宽度渲染不正确。[fixed]\n\t\t-调试相当困难,如果你有过在IE下通过alert发现\u003Cem\u003E问题\u003C\u002Fem\u003E的经历,你就能明白。\n\t\t-最后发现IE6下应用Asp.NetAjax后不仅\u003Cem\u003EForm\u003C\u002Fem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E列的宽度设置不正确,而且主内容区域的宽度设置也不正确,不过最终我们还是顽强的修复了IE6下的这个BUG:\n\t\t 在MasterPage的onReady函数\u003Cem\u003E中\u003C\u002Fem\u003E,首先修正内容区域的宽度(region3.setWidth(pageLayout1.getSize().width - region2.getSize().width - 5);region3.doLayout();),然后修正页面\u003Cem\u003E中\u003C\u002Fem\u003E所有表单的宽度(box_fix\u003Cem\u003EForm\u003C\u002Fem\u003EWidthInIE6();):\n\t\t 示例在 Site.Master 页面。\n\t+集成的AspNetAjax有\u003Cem\u003E一个\u003C\u002Fem\u003E很大的BUG,只要你在页面上进行过ajax操作,当\u003Cem\u003E改变\u003C\u002Fem\u003E窗口大小时你会惊讶的发现内容区域的内容全部为空了![fixed]\n\t\t-解决方法相当怪异,经过\u003Cem\u003E一个\u003C\u002Fem\u003E下午的不断尝试,终于用\u003Cem\u003E一个\u003C\u002Fem\u003E怪异的方法解决(box.{0}.setSize(box.{0}.getSize());box.{0}.doLayout();),\n\t\t 这样的代码让我想起刷新窗口时那个方法(window.location.href=window.location.href;),不管怎么说,我对能很好的解决这个重大的BUG很是欣喜。\n\t\n\t\n\t\n+2008-07-14 v0.3 beta6\n\t-增加FlashObject控件。[fixed]\n\t-PageLoading增加\u003Cem\u003EEnable\u003C\u002Fem\u003EFadeOut\u003Cem\u003E属性\u003C\u002Fem\u003E(默认false),可以启用淡出效果。[fixed]\n\t-Accordion选\u003Cem\u003E中\u003C\u002Fem\u003E样式微调。[fixed]\n\t-预加载\u003Cem\u003EForm\u003C\u002Fem\u003E表单出错时提示信息的背景图片。[fixed]\n\t+Grid增加\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender\u003Cem\u003E属性\u003C\u002Fem\u003E(默认false),可以加快页面的渲染速度(\u003Cem\u003E一个\u003C\u002Fem\u003E典型的20个记录的页面,可提前0.7s-1s显示出来)。[fixed]\n\t\t-因为延迟加载数据不会\u003Cem\u003E改变\u003C\u002Fem\u003EGrid的大小,所以对于非布局内或不设定高度宽度的Grid,需要设置\"\u003Cem\u003EEnable\u003C\u002Fem\u003EDelayRender=false\"。\n\t-\u003Cem\u003E改变\u003C\u002Fem\u003EGrid\u003Cem\u003E中\u003C\u002Fem\u003E静态的CheckBoxField图片。[fixed]\n\t-TabStrip增加TabIndexChanged\u003Cem\u003E事件\u003C\u002Fem\u003E,同时Tab增加\u003Cem\u003EEnable\u003C\u002Fem\u003EPostBack,可以在点击\u003Cem\u003E一个\u003C\u002Fem\u003ETab时引起回发\u003Cem\u003E事件\u003C\u002Fem\u003E。这在延迟加载Tab的内容非常有用。(示例在tabstrip.aspx)[fixed]\n\t\n\t\n\t\n+2008-07-12 v0.3 beta5\n\t-页面菜单Toolbar的分割符和背景不相融合。[fixed]\n\t-表单字段之间可以比较大小,比如NumberBox可以和Label比较大小,同时增加CompareType,来指定比较的类型(示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_compare.aspx)。[fixed]\n\t\t-如果是同种类型的表单字段,不需要指定CompareType,比如两个NumberBox比较值的大小不需要指定CompareType,而\u003Cem\u003E一个\u003C\u002Fem\u003ENumberBox和TextBox比较大小需要指定CompareType。\n\t+如果在编辑页面使用AspNetAjax,则不能在回发时关闭当前窗口[feedback:huihuang](示例在ajax_editor_main.aspx\u002Fajax_editor.aspx)。[fixed]\n\t\t-这是由于ajax后执行的javascript\u003Cem\u003E中\u003C\u002Fem\u003E不能有return false语句。\n\t+在文本框失去焦点时,执行一些Javascript脚本(示例在textbox_blur.aspx) [feedback:xmzhu]。[fixed]\n\t\t-在页面添加onReady函数(会被系统调用),然后用javascript监视文本框值的\u003Cem\u003E改变\u003C\u002Fem\u003E。\n\t-弹出Window默认显示的错误页面,解决方法在当前目录添加\u003Cem\u003E一个\u003C\u002Fem\u003E空的html页面,然后把Window控件的IFrameUrl指向这个页面而不是\"#\"。[fixed]\n\t+弹出的窗口\u003Cem\u003E中\u003C\u002Fem\u003E的弹出窗口的如果内容发生变化,则点击右上角的关闭按钮时会有提示用户先保存的对话框,但是这个对话框的被第二个弹出窗口覆盖了 [feedback:xmzhu]。[fixed]\n\t\t-原来的调用方法太麻烦(见示例\u003Cem\u003E中\u003C\u002Fem\u003Ealert\\alert_1.aspx和alert\\alert_2.aspx,总计 6 行代码),现在只需要 3 行代码就OK了。\n\t-点击提交按钮后变成灰色不可再次点击(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_\u003Cem\u003Eclick\u003C\u002Fem\u003E_gray.aspx)[feedback:jima]。[fixed]\n\t+增加Menu、MenuText、MenuSeparator、Menu\u003Cem\u003EButton\u003C\u002Fem\u003E、MenuHyperLink控件,用于按钮的下拉菜单(示例在\u003Cem\u003Ebutton\u003C\u002Fem\u003E_menu.aspx)。[fixed]\n\t-增加Split\u003Cem\u003EButton\u003C\u002Fem\u003E控件。[fixed]\n\t\n\t\n\t\n+2008-07-09 v0.3 beta4\n\t-DataPicker默认的日期格式为(yyyy-MM-dd)。[fixed]\n\t+\u003Cem\u003EForm\u003C\u002Fem\u003E表单字段(TextBox,DropDownList...)之间可以比较大小 [feedback:huihuang]。[fixed]\n\t\t-增加ControlToCompare\u002FValueToCompare\u002FCompareOperator\u002FCompareMessage四个\u003Cem\u003E属性\u003C\u002Fem\u003E,示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_compare.aspx。\n\t+TabStrip\u003Cem\u003E中\u003C\u002Fem\u003E放置IFrame会出现渲染错误 (示例在tabstrip_iframe.aspx)[feedback:jima]。[fixed]\n\t\t-特殊处理,拥有IFrame的Tab如果不是激活Tab,则不设置Url,只有在激活时才设置Url。\n\t-Radio\u003Cem\u003EButton\u003C\u002Fem\u003EList增加AutoPostBack\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在radio.aspx) [feedback:xmzhu]。[fixed]\n\t-\u003Cem\u003EForm\u003C\u002Fem\u003ERow可以设置各列的宽度百分比 (示例在\u003Cem\u003Eform\u003C\u002Fem\u003E_columnwidths.aspx)[feedback:jima]。[fixed]\n\t+表单字段\u003Cem\u003EEnable\u003C\u002Fem\u003E=false时显示颜色太浅 [feedback:jima]。[fixed]\n\t\t-覆盖缺省样式的.x-item-disabled,设置不透明。\n\t\n\t\n\t\n+2008-07-08 v0.3 beta3\n\t-Grid没有数据,向后翻页按钮可以点击的BUG [feedback:huihuang]。[fixed]\n\t+增加HiddenField控件。[fixed]\n\t\t-其实用TextBox也能模拟HiddenField的行为,只需要设置CssStyle=\"display:none;\"即可。\n\t+TriggerBox 如果 \u003Cem\u003EEnable\u003C\u002Fem\u003ETextBox = true,则不能将Text回发(这是html的限制)。[fixed]\n\t\t-最后的解决方案居然是设置 readonly=true,同时更改\u003Cem\u003E属性\u003C\u002Fem\u003E为 Readonly(示例在textbox2.aspx)。\n\t-模拟树的下拉列表在失去焦点后显示的文字不对的BUG。[fixed]\n\t+控制下拉列表某些项不可以选择(示例在dropdownlist2.aspx)。[fixed]\n\t\t-增加 Data\u003Cem\u003EEnable\u003C\u002Fem\u003ESelectField \u003Cem\u003E属性\u003C\u002Fem\u003E,不可选择的项变灰,并且鼠标经过时没有样式。\n\t-Link\u003Cem\u003EButton\u003C\u002Fem\u003E和Grid的Link\u003Cem\u003EButton\u003C\u002Fem\u003EField增加\u003Cem\u003EEnable\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在hyperlink.aspx和grid.aspx)。[fixed]\n\t\n\t\n\t\n+2008-07-07 v0.3 beta2\n\t+增加UpdatePanelConnector控件,支持在布局构建的页面使用Asp.net Ajax。[fixed]\n\t\t-使用UpdatePanelConnector有\u003Cem\u003E一个\u003C\u002Fem\u003E要求:ContentTemplate下只能有\u003Cem\u003E一个\u003C\u002Fem\u003E子节点,比如box:Panel。\n\t\t-示例在ajax3.aspx\u002Fcontent_page4.aspx。\n\t\t-示例content_page3.aspx\u003Cem\u003E中\u003C\u002Fem\u003E,点击“Ajax查询”按钮和关闭弹出的窗口(点击右上角的叉)都引发异步更新。\n\t \n\t \n\t\n+2008-07-03 v0.3 beta1\n\t+容器控件的AutoHeight\u002FAutoWidth默认为false。[fixed]\n\t\t-使用GroupPanel的地方需要手工添加AutoHeight=\"true\"\u003Cem\u003E属性\u003C\u002Fem\u003E。\n\t+增加UserControlConnector,可以在其\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件(示例在page_usercontrol.aspx)。[fixed]\n\t\t-也可以在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件,注意两者的区别。\n\t+增加ContentPlaceHolderConnector,替换原来Region的ContentPlaceHolderId\u003Cem\u003E属性\u003C\u002Fem\u003E(示例在Site.master)。[fixed]\n\t+支持Asp.net ajax异步加载。[fixed]\n\t\t-有很大局限性,只能在ContentPanel\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用,示例在ajax1.aspx\u002Fcontent_ajax2.aspx\u003Cem\u003E中\u003C\u002Fem\u003E。\n\t\t-对于使用布局构建的页面(比如content_page1.aspx)还不能使用Asp.net ajax,因为页面是整体渲染的,先放弃。\n\t\n\t\n\t\n+2008-07-02 v0.2 beta12\n\t+关闭前提示当前页面已经被修改(示例在content_page1.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)[fixed]\n\t\t-支持Iframe内按钮和window右上角关闭按钮。\n\t\t-删除CloseAction\u003Cem\u003E属性\u003C\u002Fem\u003E,可以在后台通过OnClientClose\u003Cem\u003EButton\u003C\u002Fem\u003E\u003Cem\u003EClick\u003C\u002Fem\u003E\u003Cem\u003E属性\u003C\u002Fem\u003E指定(为了和iframe\u003Cem\u003E中\u003C\u002Fem\u003E做法一致)。\n\t+iframe\u003Cem\u003E中\u003C\u002Fem\u003E的alert\u002Fconfirm要覆盖整个父页面,而不仅仅是iframe页面。[fixed]\n\t\t-在Firefox下还有\u003Cem\u003E问题\u003C\u002Fem\u003E。[fix pending]\n\t+排序时在标题栏显示排序箭头,可以排序的列标题光标为手形(示例在grid_sorting.aspx)。[fixed]\n\t\t-可以通过设置Grid1.CurrentSortColumnIndex = 0;来强制某列显示排序箭头。\n\t\t-可以通过 Grid1.Columns[Grid1.CurrentSortColumnIndex].SortExpression 的方式取得当前Grid的排序表达式。\n\t+HyperLinkField\u002FWindowField的链接地址支持服务器端格式(即是~\u002Falert.aspx)。[fixed]\n\t-TabStrip的Tab\u003Cem\u003E中\u003C\u002Fem\u003E如果放置ContentPanel,则内容渲染位置不正确。[fixed]\n\t-可以在ContentPanel\u003Cem\u003E中\u003C\u002Fem\u003E放置用户控件(示例在page_usercontrol.aspx)。[fixed]\n\t\t\n\t\n\t\n+2008-06-30 v0.2 beta11\n\t-增加TwinTriggerBox控件(示例在twintriggerbox.aspx)。[fixed]\n\t-Grid的数据库分页需要增加\u003Cem\u003E属性\u003C\u002Fem\u003EIsDatabasePaging=true,以便普通分页和数据库分页,否则在添加删除记录时总记录数不会变化 [feedback:zgjiang2]。[fixed]\n\t-关闭Window时PostBack\u003Cem\u003E事件\u003C\u002Fem\u003EOnClose可以指定参数,来区分是哪些操作引发的PostBack\u003Cem\u003E事件\u003C\u002Fem\u003E [feedback:zgjiang2](示例在window_postback.aspx)。[fixed]\n\t-如果表单验证不通过,则需要弹出对话框提示(第\u003Cem\u003E一个\u003C\u002Fem\u003E没通过验证的字段)(目前还不能切换到相应的tab)。[fixed]\n\t+页面\u003Cem\u003E中\u003C\u002Fem\u003E任意可输入表单字段发生变化,可提示先保存。(示例在content_page1.aspx\u002Fsimple\u003Cem\u003Eform\u003C\u002Fem\u003E.aspx)[fixed]\n\t\t-目前还不支持Window右上角关闭按钮的提示保存功能。\n\t-Master\u002FContent的内容页\u003Cem\u003E中\u003C\u002Fem\u003EGrid的Sort\u003Cem\u003E事件\u003C\u002Fem\u003E不起作用的BUG [feedback:zgjiang2]。[fixed]\n\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E的Link\u003Cem\u003EButton\u003C\u002Fem\u003EField设置ConfirmText会出错 [feedback:huihuang]。[fixed]\n\t-增加静态类Confirm。[fixed]\n\t\n\t\n\t\n+2008-06-27 v0.2 beta10\n\t+Grid完善。[fixed]\n\t\t-CheckBoxField在回发时不能保持状态的BUG (已经更新了grid_checkboxfield.aspx示例)。\n\t\t-Grid\u003Cem\u003E中\u003C\u002Fem\u003E模拟树显示,GridColumn增加DataSimulateTreeLevelField\u003Cem\u003E属性\u003C\u002Fem\u003E(\u003Cem\u003E一个\u003C\u002Fem\u003EGrid只能有\u003Cem\u003E一个\u003C\u002Fem\u003EColumn指定此\u003Cem\u003E属性\u003C\u002Fem\u003E),指定此列模拟树显示时的层次字段(0,1,2,...)(示例在grid_simulate_tree.aspx)。\n\t\t-切换分页时清空选\u003Cem\u003E中\u003C\u002Fem\u003E的值 [feedback:jqpeng]。\n\t\t-增加PreRowDataBound\u003Cem\u003E事件\u003C\u002Fem\u003E,可以在数据绑定之前设置某列的\u003Cem\u003E属性\u003C\u002Fem\u003E [feedback:xmzhu] (示例在grid_prerowdatabound.aspx)。\n\t-DropDownList模拟树的方式显示,增加DataSimulateTreeLevelField\u003Cem\u003E属性\u003C\u002Fem\u003E,使用方法和Grid的类似(示例在dropdownlist_simulate_tree.aspx)。\n\t\n\t\n\t\n+2008-06-25 v0.2 beta9\n\t+Window窗体\u003Cem\u003E中\u003C\u002Fem\u003E的","createTime":"2010-09-29 14:37:08","dataReportQuery":"spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default","dataReportClick":"{\"mod\":\"popu_645\",\"index\":\"2\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fwode2600\u002F2726130\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","dataReportView":"{\"mod\":\"popu_645\",\"index\":\"2\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fwode2600\u002F2726130\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-2-2726130-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","type":"download"},{"url":"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Ftianzhu131\u002F1785804","title":"API精灵源码(C#编)","desc":"\u002F*\n API精灵 FOR C# 开始设计日期 2004.03.06\n 设计目的:简单快速对C#\u003Cem\u003E\u003Cem\u003E中\u003C\u002Fem\u003E使\u003C\u002Fem\u003E用的API函数进行查询,并给出调用代码\n 设计进度:\n 2004.03.09 完成对的查询功能,包括 代码调用,\u003Cem\u003E中\u003C\u002Fem\u003E文注释,所需的DLL库,与C#\u003Cem\u003E中\u003C\u002Fem\u003E函数对应关系 \n 2004.03.10 0:48:52 完成了用StringBuilder数组对原ComboBox的替换,可以使程序不用从新读取数据库就可以刷新修改后的信息!\n 2004.03.10 18:00:00 完成了用ArrayList对StringBuilder数组的替换节省2M内存\n 2004.03.11 21:10:15 完成滚动字幕的设置,启用了\u003Cem\u003E一个\u003C\u002Fem\u003E\u003Cem\u003ETIMER\u003C\u002Fem\u003E控件,然后设置时间,删除字符串的第\u003Cem\u003E一个\u003C\u002Fem\u003E字母已达到滚动效果!\n 2004.03.11 22:02:00 改正更新时出现空值出错\u003Cem\u003E问题\u003C\u002Fem\u003E,新填函数isnull\n 2004.03.12 13:22:08 完成关键字高亮显示 高亮显示函数 mykeywords\n 2004.03.12 22:08:20 加强了高亮显示函数 mykeywords的功能,使其能识别不同的关键字并显示不同的颜色\n 2004.03.14 01:40:00 完成对CONST的查询,并且增加了 mykeywords1函数,使其关键字显示性能提高\n 2004.03.14 13:12:00 添加了提示信息,提示信息设置在函数 mytips() \u003Cem\u003E中\u003C\u002Fem\u003E\n 2004.03.15 21:51:20 更改数据库和WINAPI.TXT路径为程序运行路径\n 2004.03.15 22:31:50 添加了鼠标右键信息\n 2004.03.15 23.23:30 添加了数据库密码\n 2004.03.16 23:24:30 添加了版权信息以及相应提示\n *\u002F\nusing System;\nusing System.Drawing;\nusing System.Collections;\nusing System.ComponentModel;\nusing System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es;\nusing System.Data;\nusing System.Data.OleDb;\nusing System.Runtime.InteropServices;\nusing System.IO;\n\n\n\nnamespace API精灵\n{\n\t\u002F\u002F\u002F \n\t\u002F\u002F\u002F \u003Cem\u003EForm\u003C\u002Fem\u003E1 的摘要说明。\n\t\u002F\u002F\u002F 这个版本没有使用oleDbDataAdapter+DataSet对数据进行存取,而是使用的OleDbCommand +OleDbDataReader 的形式。\n\t\u002F\u002F\u002F 主要是想试验一下不用oleDbDataAdapter+DataSet的数据存取速度。\n\t\u002F\u002F\u002F \n\tpublic class \u003Cem\u003EForm\u003C\u002Fem\u003E1 : System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EForm\u003C\u002Fem\u003E\n\t{\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E \u003Cem\u003Ebutton\u003C\u002Fem\u003E1;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox groupBox1;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox groupBox2;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox groupBox3;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E \u003Cem\u003Ebutton\u003C\u002Fem\u003E4;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox mysearch;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ListBox tiplist;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ComboBox select_type;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox dlltext;\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 必需的设计器变量。\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F自定义变量\n\t\tprivate ArrayList fundll = new ArrayList();\u002F\u002F保存读取出来的DLL内容\n\t\tprivate ArrayList funtips = new ArrayList();\u002F\u002F保存读取出来的\u003Cem\u003E中\u003C\u002Fem\u003E文提示信息\n\t\tprivate ArrayList funcode = new ArrayList();\u002F\u002F保存读取出来的C#调用代码\t\t\n private ArrayList funmat = new ArrayList();\u002F\u002F保存读取出来的C#对应函数\n\t\tprivate ArrayList funwin9x = new ArrayList();\u002F\u002F保存读取出来的WIN9X\t\t\n\t\tprivate ArrayList funwin2k = new ArrayList();\u002F\u002F保存读取出来的WIN2K\n\n\t\tprivate int nowselect = 0;\n\t\tprivate string oldscoll_text;\n\t\tprivate int nowtypeselect = 0;\n\t\tprivate string nowpath = @System.Environment.CurrentDirectory+@\"\\\";\n\t\tprivate string dbpassword = \"ling_feng_work\";\n\n\t\tpublic string myConnstr;\n\t\tpublic OleDbConnection myconn ;\u002F\u002F创建\u003Cem\u003E一个\u003C\u002Fem\u003E新连接\n\t\tprivate string mysql ;\u002F\u002F查询语句\n\t\tprivate string sql_update;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.RichTextBox tipsmemo;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox mat_text;\n\t\tprivate OleDbCommand mycommand = new OleDbCommand();\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.RichTextBox codememo;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox groupBox4;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox win9x;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox groupBox5;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox win2k;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox e_add;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox e_modify;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E b_modify;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E b_add;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003ETimer\u003C\u002Fem\u003E \u003Cem\u003Etimer\u003C\u002Fem\u003E1;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ToolTip toolTip1;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ContextMenu mypop;\n\t\tprivate System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MenuItem menuItem1;\n\t\tprivate System.ComponentModel.IContainer components;\n\n\t\tpublic \u003Cem\u003EForm\u003C\u002Fem\u003E1()\n\t\t{\n\t\t\t\u002F\u002F\n\t\t\t\u002F\u002F Windows 窗体设计器支持所必需的\n\t\t\t\u002F\u002F\n\t\t\tInitializeComponent();\n\n\t\t\t\u002F\u002F\n\t\t\t\u002F\u002F TODO: 在 InitializeComponent 调用后添加任何构造函数代码\n\t\t\t\u002F\u002F\n\t\t}\n\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 清理所有正在使用的资源。\n\t\t\u002F\u002F\u002F \n\t\tprotected override void Dispose( bool disposing )\n\t\t{\n\t\t\tif( disposing )\n\t\t\t{\n\t\t\t\tif (components != null) \n\t\t\t\t{\n\t\t\t\t\tcomponents.Dispose();\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbase.Dispose( disposing );\n\t\t}\n\n\t\t#region Windows 窗体设计器生成的代码\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 设计器支持所需的方法 - 不要使用代码编辑器修改\n\t\t\u002F\u002F\u002F 此方法的内容。\n\t\t\u002F\u002F\u002F \n\t\tprivate void InitializeComponent()\n\t\t{\n\t\t\tthis.components = new System.ComponentModel.Container();\n\t\t\tSystem.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(\u003Cem\u003EForm\u003C\u002Fem\u003E1));\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E();\n\t\t\tthis.groupBox1 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox();\n\t\t\tthis.tiplist = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ListBox();\n\t\t\tthis.select_type = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ComboBox();\n\t\t\tthis.mat_text = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox();\n\t\t\tthis.mysearch = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox();\n\t\t\tthis.dlltext = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.TextBox();\n\t\t\tthis.groupBox2 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox();\n\t\t\tthis.tipsmemo = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.RichTextBox();\n\t\t\tthis.mypop = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ContextMenu();\n\t\t\tthis.menuItem1 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MenuItem();\n\t\t\tthis.groupBox3 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox();\n\t\t\tthis.codememo = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.RichTextBox();\n\t\t\tthis.b_modify = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E();\n\t\t\tthis.b_add = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E();\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EButton\u003C\u002Fem\u003E();\n\t\t\tthis.groupBox4 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox();\n\t\t\tthis.win2k = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox();\n\t\t\tthis.win9x = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox();\n\t\t\tthis.groupBox5 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.GroupBox();\n\t\t\tthis.e_add = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox();\n\t\t\tthis.e_modify = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.CheckBox();\n\t\t\tthis.\u003Cem\u003Etimer\u003C\u002Fem\u003E1 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003ETimer\u003C\u002Fem\u003E(this.components);\n\t\t\tthis.toolTip1 = new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ToolTip(this.components);\n\t\t\tthis.groupBox1.SuspendLayout();\n\t\t\tthis.groupBox2.SuspendLayout();\n\t\t\tthis.groupBox3.SuspendLayout();\n\t\t\tthis.groupBox4.SuspendLayout();\n\t\t\tthis.groupBox5.SuspendLayout();\n\t\t\tthis.SuspendLayout();\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F \u003Cem\u003Ebutton\u003C\u002Fem\u003E1\n\t\t\t\u002F\u002F \n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.FlatStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.FlatStyle.Flat;\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.Location = new System.Drawing.Point(224, 395);\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.Name = \"\u003Cem\u003Ebutton\u003C\u002Fem\u003E1\";\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.Size = new System.Drawing.Size(75, 24);\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.TabIndex = 10;\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.Text = \"关 于\";\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1.\u003Cem\u003EClick\u003C\u002Fem\u003E += new System.EventHandler(this.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1_\u003Cem\u003EClick\u003C\u002Fem\u003E);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F groupBox1\n\t\t\t\u002F\u002F \n\t\t\tthis.groupBox1.Controls.Add(this.tiplist);\n\t\t\tthis.groupBox1.Controls.Add(this.select_type);\n\t\t\tthis.groupBox1.Controls.Add(this.mat_text);\n\t\t\tthis.groupBox1.Controls.Add(this.mysearch);\n\t\t\tthis.groupBox1.Controls.Add(this.dlltext);\n\t\t\tthis.groupBox1.Location = new System.Drawing.Point(8, 8);\n\t\t\tthis.groupBox1.Name = \"groupBox1\";\n\t\t\tthis.groupBox1.Size = new System.Drawing.Size(200, 168);\n\t\t\tthis.groupBox1.TabIndex = 1;\n\t\t\tthis.groupBox1.TabStop = false;\n\t\t\tthis.groupBox1.Text = \"API查询\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F tiplist\n\t\t\t\u002F\u002F \n\t\t\tthis.tiplist.BorderStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.BorderStyle.FixedSingle;\n\t\t\tthis.tiplist.ItemHeight = 12;\n\t\t\tthis.tiplist.Location = new System.Drawing.Point(8, 43);\n\t\t\tthis.tiplist.Name = \"tiplist\";\n\t\t\tthis.tiplist.Size = new System.Drawing.Size(184, 110);\n\t\t\tthis.tiplist.TabIndex = 1;\n\t\t\tthis.tiplist.Visible = false;\n\t\t\tthis.tiplist.KeyDown += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyEventHandler(this.tiplist_KeyDown);\n\t\t\tthis.tiplist.KeyPress += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyPressEventHandler(this.tiplist_KeyPress);\n\t\t\tthis.tiplist.Double\u003Cem\u003EClick\u003C\u002Fem\u003E += new System.EventHandler(this.tiplist_Double\u003Cem\u003EClick\u003C\u002Fem\u003E);\n\t\t\tthis.tiplist.MouseUp += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventHandler(this.tiplist_MouseUp);\n\t\t\tthis.tiplist.MouseLeave += new System.EventHandler(this.tiplist_MouseLeave);\n\t\t\tthis.tiplist.SelectedIndexChanged += new System.EventHandler(this.tiplist_SelectedIndexChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F select_type\n\t\t\t\u002F\u002F \n\t\t\tthis.select_type.DropDownStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.ComboBoxStyle.DropDownList;\n\t\t\tthis.select_type.Items.AddRange(new object[] {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \"API函数查询\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \"常量定义查询\"});\n\t\t\tthis.select_type.Location = new System.Drawing.Point(8, 61);\n\t\t\tthis.select_type.Name = \"select_type\";\n\t\t\tthis.select_type.Size = new System.Drawing.Size(184, 20);\n\t\t\tthis.select_type.TabIndex = 2;\n\t\t\tthis.select_type.SelectedIndexChanged += new System.EventHandler(this.select_type_SelectedIndexChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F mat_text\n\t\t\t\u002F\u002F \n\t\t\tthis.mat_text.BorderStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.BorderStyle.FixedSingle;\n\t\t\tthis.mat_text.Location = new System.Drawing.Point(8, 134);\n\t\t\tthis.mat_text.Name = \"mat_text\";\n\t\t\tthis.mat_text.Size = new System.Drawing.Size(184, 21);\n\t\t\tthis.mat_text.TabIndex = 4;\n\t\t\tthis.mat_text.Text = \"C#对应函数:\";\n\t\t\tthis.mat_text.MouseDown += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventHandler(this.mat_text_MouseDown);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F mysearch\n\t\t\t\u002F\u002F \n\t\t\tthis.mysearch.BorderStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.BorderStyle.FixedSingle;\n\t\t\tthis.mysearch.Location = new System.Drawing.Point(8, 24);\n\t\t\tthis.mysearch.Name = \"mysearch\";\n\t\t\tthis.mysearch.Size = new System.Drawing.Size(184, 21);\n\t\t\tthis.mysearch.TabIndex = 0;\n\t\t\tthis.mysearch.Text = \"\";\n\t\t\tthis.mysearch.KeyDown += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyEventHandler(this.mysearch_KeyDown);\n\t\t\tthis.mysearch.MouseDown += new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventHandler(this.mysearch_MouseDown);\n\t\t\tthis.mysearch.TextChanged += new System.EventHandler(this.mysearch_TextChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F dlltext\n\t\t\t\u002F\u002F \n\t\t\tthis.dlltext.BorderStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.BorderStyle.FixedSingle;\n\t\t\tthis.dlltext.Location = new System.Drawing.Point(8, 97);\n\t\t\tthis.dlltext.Name = \"dlltext\";\n\t\t\tthis.dlltext.Size = new System.Drawing.Size(184, 21);\n\t\t\tthis.dlltext.TabIndex = 3;\n\t\t\tthis.dlltext.Text = \"\";\n\t\t\tthis.dlltext.TextChanged += new System.EventHandler(this.dlltext_TextChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F groupBox2\n\t\t\t\u002F\u002F \n\t\t\tthis.groupBox2.Controls.Add(this.tipsmemo);\n\t\t\tthis.groupBox2.Location = new System.Drawing.Point(216, 8);\n\t\t\tthis.groupBox2.Name = \"groupBox2\";\n\t\t\tthis.groupBox2.Size = new System.Drawing.Size(200, 168);\n\t\t\tthis.groupBox2.TabIndex = 2;\n\t\t\tthis.groupBox2.TabStop = false;\n\t\t\tthis.groupBox2.Text = \"函数注释\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F tipsmemo\n\t\t\t\u002F\u002F \n\t\t\tthis.tipsmemo.BorderStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.BorderStyle.FixedSingle;\n\t\t\tthis.tipsmemo.ContextMenu = this.mypop;\n\t\t\tthis.tipsmemo.Location = new System.Drawing.Point(8, 16);\n\t\t\tthis.tipsmemo.Name = \"tipsmemo\";\n\t\t\tthis.tipsmemo.Size = new System.Drawing.Size(184, 144);\n\t\t\tthis.tipsmemo.TabIndex = 0;\n\t\t\tthis.tipsmemo.Text = \"\";\n\t\t\tthis.tipsmemo.MouseEnter += new System.EventHandler(this.richTextBox1_MouseEnter);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F mypop\n\t\t\t\u002F\u002F \n\t\t\tthis.mypop.MenuItems.AddRange(new System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MenuItem[] {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t this.menuItem1});\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F menuItem1\n\t\t\t\u002F\u002F \n\t\t\tthis.menuItem1.Index = 0;\n\t\t\tthis.menuItem1.Text = \"复制信息\";\n\t\t\tthis.menuItem1.\u003Cem\u003EClick\u003C\u002Fem\u003E += new System.EventHandler(this.menuItem1_\u003Cem\u003EClick\u003C\u002Fem\u003E);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F groupBox3\n\t\t\t\u002F\u002F \n\t\t\tthis.groupBox3.Controls.Add(this.codememo);\n\t\t\tthis.groupBox3.Location = new System.Drawing.Point(8, 221);\n\t\t\tthis.groupBox3.Name = \"groupBox3\";\n\t\t\tthis.groupBox3.Size = new System.Drawing.Size(408, 168);\n\t\t\tthis.groupBox3.TabIndex = 3;\n\t\t\tthis.groupBox3.TabStop = false;\n\t\t\tthis.groupBox3.Text = \"代码调用\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F codememo\n\t\t\t\u002F\u002F \n\t\t\tthis.codememo.ContextMenu = this.mypop;\n\t\t\tthis.codememo.Location = new System.Drawing.Point(8, 16);\n\t\t\tthis.codememo.Name = \"codememo\";\n\t\t\tthis.codememo.Size = new System.Drawing.Size(392, 144);\n\t\t\tthis.codememo.TabIndex = 0;\n\t\t\tthis.codememo.Text = \"\";\n\t\t\tthis.codememo.TextChanged += new System.EventHandler(this.codememo_TextChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F b_modify\n\t\t\t\u002F\u002F \n\t\t\tthis.b_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false;\n\t\t\tthis.b_modify.FlatStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.FlatStyle.Flat;\n\t\t\tthis.b_modify.Location = new System.Drawing.Point(120, 395);\n\t\t\tthis.b_modify.Name = \"b_modify\";\n\t\t\tthis.b_modify.Size = new System.Drawing.Size(75, 24);\n\t\t\tthis.b_modify.TabIndex = 4;\n\t\t\tthis.b_modify.Text = \"修改信息\";\n\t\t\tthis.b_modify.\u003Cem\u003EClick\u003C\u002Fem\u003E += new System.EventHandler(this.\u003Cem\u003Ebutton\u003C\u002Fem\u003E2_\u003Cem\u003EClick\u003C\u002Fem\u003E);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F b_add\n\t\t\t\u002F\u002F \n\t\t\tthis.b_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false;\n\t\t\tthis.b_add.FlatStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.FlatStyle.Flat;\n\t\t\tthis.b_add.Location = new System.Drawing.Point(16, 395);\n\t\t\tthis.b_add.Name = \"b_add\";\n\t\t\tthis.b_add.Size = new System.Drawing.Size(75, 24);\n\t\t\tthis.b_add.TabIndex = 5;\n\t\t\tthis.b_add.Text = \"添加新项\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F \u003Cem\u003Ebutton\u003C\u002Fem\u003E4\n\t\t\t\u002F\u002F \n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.FlatStyle = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.FlatStyle.Flat;\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.Location = new System.Drawing.Point(328, 395);\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.Name = \"\u003Cem\u003Ebutton\u003C\u002Fem\u003E4\";\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.Size = new System.Drawing.Size(75, 24);\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.TabIndex = 6;\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.Text = \"退 出\";\n\t\t\tthis.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4.\u003Cem\u003EClick\u003C\u002Fem\u003E += new System.EventHandler(this.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4_\u003Cem\u003EClick\u003C\u002Fem\u003E);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F groupBox4\n\t\t\t\u002F\u002F \n\t\t\tthis.groupBox4.Controls.Add(this.win2k);\n\t\t\tthis.groupBox4.Controls.Add(this.win9x);\n\t\t\tthis.groupBox4.Location = new System.Drawing.Point(8, 176);\n\t\t\tthis.groupBox4.Name = \"groupBox4\";\n\t\t\tthis.groupBox4.Size = new System.Drawing.Size(200, 40);\n\t\t\tthis.groupBox4.TabIndex = 11;\n\t\t\tthis.groupBox4.TabStop = false;\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F win2k\n\t\t\t\u002F\u002F \n\t\t\tthis.win2k.Location = new System.Drawing.Point(104, 11);\n\t\t\tthis.win2k.Name = \"win2k\";\n\t\t\tthis.win2k.Size = new System.Drawing.Size(80, 24);\n\t\t\tthis.win2k.TabIndex = 1;\n\t\t\tthis.win2k.Text = \"支持win2k\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F win9x\n\t\t\t\u002F\u002F \n\t\t\tthis.win9x.Location = new System.Drawing.Point(16, 11);\n\t\t\tthis.win9x.Name = \"win9x\";\n\t\t\tthis.win9x.TabIndex = 0;\n\t\t\tthis.win9x.Text = \"支持win9x\";\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F groupBox5\n\t\t\t\u002F\u002F \n\t\t\tthis.groupBox5.Controls.Add(this.e_add);\n\t\t\tthis.groupBox5.Controls.Add(this.e_modify);\n\t\t\tthis.groupBox5.Location = new System.Drawing.Point(216, 176);\n\t\t\tthis.groupBox5.Name = \"groupBox5\";\n\t\t\tthis.groupBox5.Size = new System.Drawing.Size(200, 40);\n\t\t\tthis.groupBox5.TabIndex = 12;\n\t\t\tthis.groupBox5.TabStop = false;\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F e_add\n\t\t\t\u002F\u002F \n\t\t\tthis.e_add.Location = new System.Drawing.Point(112, 10);\n\t\t\tthis.e_add.Name = \"e_add\";\n\t\t\tthis.e_add.Size = new System.Drawing.Size(80, 24);\n\t\t\tthis.e_add.TabIndex = 5;\n\t\t\tthis.e_add.Text = \"允许添加\";\n\t\t\tthis.e_add.CheckedChanged += new System.EventHandler(this.e_add_CheckedChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F e_modify\n\t\t\t\u002F\u002F \n\t\t\tthis.e_modify.Location = new System.Drawing.Point(16, 10);\n\t\t\tthis.e_modify.Name = \"e_modify\";\n\t\t\tthis.e_modify.Size = new System.Drawing.Size(76, 24);\n\t\t\tthis.e_modify.TabIndex = 4;\n\t\t\tthis.e_modify.Text = \"允许修改\";\n\t\t\tthis.e_modify.CheckedChanged += new System.EventHandler(this.e_modify_CheckedChanged);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F \u003Cem\u003Etimer\u003C\u002Fem\u003E1\n\t\t\t\u002F\u002F \n\t\t\tthis.\u003Cem\u003Etimer\u003C\u002Fem\u003E1.Interval = 500;\n\t\t\tthis.\u003Cem\u003Etimer\u003C\u002Fem\u003E1.Tick += new System.EventHandler(this.\u003Cem\u003Etimer\u003C\u002Fem\u003E1_Tick);\n\t\t\t\u002F\u002F \n\t\t\t\u002F\u002F \u003Cem\u003EForm\u003C\u002Fem\u003E1\n\t\t\t\u002F\u002F \n\t\t\tthis.AutoScaleBaseSize = new System.Drawing.Size(6, 14);\n\t\t\tthis.ClientSize = new System.Drawing.Size(424, 429);\n\t\t\tthis.Controls.Add(this.groupBox5);\n\t\t\tthis.Controls.Add(this.groupBox4);\n\t\t\tthis.Controls.Add(this.\u003Cem\u003Ebutton\u003C\u002Fem\u003E4);\n\t\t\tthis.Controls.Add(this.b_add);\n\t\t\tthis.Controls.Add(this.b_modify);\n\t\t\tthis.Controls.Add(this.groupBox3);\n\t\t\tthis.Controls.Add(this.groupBox1);\n\t\t\tthis.Controls.Add(this.\u003Cem\u003Ebutton\u003C\u002Fem\u003E1);\n\t\t\tthis.Controls.Add(this.groupBox2);\n\t\t\tthis.Icon = ((System.Drawing.Icon)(resources.GetObject(\"$this.Icon\")));\n\t\t\tthis.MaximizeBox = false;\n\t\t\tthis.Name = \"\u003Cem\u003EForm\u003C\u002Fem\u003E1\";\n\t\t\tthis.StartPosition = System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.\u003Cem\u003EForm\u003C\u002Fem\u003EStartPosition.CenterScreen;\n\t\t\tthis.Text = \"API精灵FOR C#\";\n\t\t\tthis.Load += new System.EventHandler(this.\u003Cem\u003EForm\u003C\u002Fem\u003E1_Load);\n\t\t\tthis.groupBox1.ResumeLayout(false);\n\t\t\tthis.groupBox2.ResumeLayout(false);\n\t\t\tthis.groupBox3.ResumeLayout(false);\n\t\t\tthis.groupBox4.ResumeLayout(false);\n\t\t\tthis.groupBox5.ResumeLayout(false);\n\t\t\tthis.ResumeLayout(false);\n\n\t\t}\n\t\t#endregion\n\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 应用程序的主入口点。\n\t\t\u002F\u002F\u002F \n\t\t[STAThread]\n\t\t\t\n\t\tstatic void Main() \n\t\t{\n\t\t\tApplication.Run(new \u003Cem\u003EForm\u003C\u002Fem\u003E1());\n\t\t}\n\t\t[DllImport(\"user32.dll\", EntryPoint=\"ShowWindow\")]\n\t\tpublic static extern int ShowWindow (\n\t\t\tint hwnd,\n\t\t\tint nCmdShow\n\t\t\t);\n\t\tprivate void \u003Cem\u003Ebutton\u003C\u002Fem\u003E1_\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{\n\t\t\tAbout\u003Cem\u003EForm\u003C\u002Fem\u003E myabout = new About\u003Cem\u003EForm\u003C\u002Fem\u003E();\n\t\t\tmyabout.ShowDialog();\n\t\t}\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 填写mysearch\u003Cem\u003E中\u003C\u002Fem\u003E的内容。\n\t\t\u002F\u002F\u002F \n\t\tprivate void search_comp()\t\t\n\t\t{\n\t\t\tif (tiplist.SelectedIndex\u003E-1)\n\t\t\tmysearch.Text = tiplist.SelectedItem.ToString();\n\t\t\ttiplist.Visible = false ;\n\t\t\tmysearch.Select();\n\t\t}\n\t\t\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 自动填写提示内容。\n\t\t\u002F\u002F\u002F \n\t\tprivate void autocomp()\n\t\t{\n\t\t\tif (tiplist.SelectedIndex\u003E-1)\n\t\t\ttry\n\t\t\t{\n \n\t\t\t\tif (this.nowtypeselect==0)\n\t\t\t\t\t\u002F\u002F================查询函数\n\t\t\t\t{\n\t\t\t\t\tthis.nowselect = tiplist.SelectedIndex;\n\t\t\t\t\tdlltext.Text = fundll[tiplist.SelectedIndex].ToString();\u002F\u002Felse \n\t\t\t\t\ttipsmemo.Text = funtips[tiplist.SelectedIndex].ToString();\n\t\t\t\t\tcodememo.Text = funcode[tiplist.SelectedIndex].ToString();\n\t\t\t\t\tmat_text.Text = funmat[tiplist.SelectedIndex].ToString();\n\n\t\t\t\t\t\n\n\t\t\t\t\tthis.oldscoll_text = mat_text.Text;\n\t\t\t\t\tif (funwin9x[tiplist.SelectedIndex].ToString()==(\"Yes\")) win9x.Checked=true; \n\t\t\t\t\telse win9x.Checked=false;\n\t\t\t\t\tif (funwin2k[tiplist.SelectedIndex].ToString()==(\"Yes\")) win2k.Checked=true; \n\t\t\t\t\telse win2k.Checked=false;\n\t\t\t\t\t\u002F\u002F滚动文字\n\t\t\t\t\tif (mat_text.TextLength\u003E30) \u003Cem\u003Etimer\u003C\u002Fem\u003E1.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = true; else \u003Cem\u003Etimer\u003C\u002Fem\u003E1.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false;\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\t \n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tdlltext.Text = \"\";\n\t\t\t\t\ttipsmemo.Text = \"\";\n\t\t\t\t\tcodememo.Text = \"\";\t\n\t\t\t\t\twin9x.Checked = false;\n\t\t\t\t\twin2k.Checked = false;\n\t\t\t\t} \n\t\t\t\t \t\t\t\n\t\t \u002F\u002F********************\n\t\t\t\tif (this.nowtypeselect==1)\t \t\t\t\t\n\t\t\t\t{\n\t\t\t\t\tthis.nowselect = tiplist.SelectedIndex;\t\t\t\t\n\t\t\t\t\tcodememo.Text = funcode[tiplist.SelectedIndex].ToString();\t\t\t\t\n\t\t\t\t} \t\t\t\t\n\t\t\t\n\t\t\t\u002F\u002F********************\n\t\t\t\u002F\u002F=================\t\n\n\t\t\n\n\n\n\t\t\t}\t\n\t\t\tcatch\n\t\t\t{\n\t\t\t\tdlltext.Text = \"没有找到相应连接库\";\n\t\t\t\ttipsmemo.Text = \"没有找到相应提示\";\n\t\t\t\tcodememo.Text = \"没有找到相应调用代码\";\n\t\t\t\tmat_text.Text = \"没有找到相应C#函数\";\n\t\t\t}\n\t\t}\n\t\t\u002F\u002F\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 手动释放一些内存。\n\t\t\u002F\u002F\u002F \n\t\tprivate void mydisp()\n\t\t{\n\t\t tipsmemo.Clear();\n\t\t codememo.Clear();\n\t tiplist.Items.Clear();\n\t\t\u002F\u002F\t=====\n\t\tfundll.Clear();\u002F\u002F保存读取出来的DLL内容\n\t\tfuntips.Clear();\u002F\u002F保存读取出来的\u003Cem\u003E中\u003C\u002Fem\u003E文提示信息\n\t\tfuncode.Clear();\u002F\u002F保存读取出来的C#调用代码\t\t\n funmat.Clear();\u002F\u002F保存读取出来的C#对应函数\n\t\tfunwin9x.Clear();\u002F\u002F保存读取出来的WIN9X\t\t\n\t\tfunwin2k.Clear();\u002F\u002F保存读取出来的WIN2K\t\t\n\n\t\t}\n\n\t\t\n\n\t\tprivate void mysearch_TextChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\ttiplist.Visible = true ;\t\t \n\t\t\t\u002F\u002F自动完成功能。\n\t\t\ttiplist.SelectedIndex = (tiplist.FindString(mysearch.Text,-1)) ;\u002F\u002F加上这句,保证TIPLIST跟着自动变化\n\t\t\tnowselect = tiplist.SelectedIndex;\n\t\t autocomp();\t\t\n\t\t\t\u002F\u002F设置提示信息\n\t\t\tmytips();\n\t\t \n\t\t}\n\n\t\tprivate void mysearch_KeyDown(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyEventArgs e)\n\t\t{\n\t\t\tif ((e.KeyCode == Keys.Down) || (e.KeyCode == Keys.Up)) tiplist.Focus();\n\t\t\n\t\t\tif (e.KeyCode == Keys.Enter) \n\t\t\t{\n\t\t\t\tsearch_comp();\n\t\t\t\tif (this.nowtypeselect==0)\n\t\t\t\tmykeyword();\n\t\t\t\tif (this.nowtypeselect==1)\n mykeyword1();\n\n\t\t\t}\t\n\n\n\t\t\tif (e.KeyCode == Keys.Escape)\n\t\t\t{\n\t\t\t\ttiplist.Visible = false ;\n\n\t\t\t\n\t\t\t}\n\t\t}\n\n\t\tprivate void tiplist_MouseLeave(object sender, System.EventArgs e)\n\t\t{\n\t\t\t\n\t\t}\n\n\t\tprivate void tiplist_KeyPress(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyPressEventArgs e)\n\t\t{\n\t\t\t\n\t\t}\n\n\t\tprivate void tiplist_KeyDown(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.KeyEventArgs e)\n\t\t{\n\t\t\tif (e.KeyCode == Keys.Enter) \n\t\t\t{\t\t\t\n\t\t\t\tthis.search_comp();\n\t\t\t\tif (this.nowtypeselect==0)\n\t\t\t\tmykeyword(); else mykeyword1();\n\t\t\t}\n\t\t\tif (e.KeyCode == Keys.Escape)\n\t\t\t{\n\t\t\t tiplist.Visible = false ;\n\t\t\t\n\t\t\t}\n\t\t}\n\n\t\tprivate void tiplist_Double\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{\n\t\t\tthis.search_comp();\n\t\t\tif (this.nowtypeselect==0)\n\t\t\t\tmykeyword(); else mykeyword1();\n\n\t\t}\n\n\t\tprivate void \u003Cem\u003EForm\u003C\u002Fem\u003E1_Load(object sender, System.EventArgs e)\n\t\t{\n\t\t\t\u002F\u002F初始化数据库\n\t\t\tinitdatabase();\n\t\t\t\u002F\u002FMessageBox.Show(this,\"欢迎使用 共享版\\n 本版对使用功能上略有限制\\n 且不提供数据库更新!\\n 如想获得更多信息请与我联系。\\n dong_teng@tom.com\",\"提示\",MessageBox\u003Cem\u003EButton\u003C\u002Fem\u003Es.OK,MessageBoxIcon.In\u003Cem\u003Eform\u003C\u002Fem\u003Eation);\n\t\t\tselect_type.SelectedIndex = 0;\t\t\t\n About\u003Cem\u003EForm\u003C\u002Fem\u003E myabout = new About\u003Cem\u003EForm\u003C\u002Fem\u003E();\n\t\t\tmyabout.ShowDialog();\n\n\t\t}\n\t\t\u002F\u002F\n\t\tprivate void mytips()\n\t\t{\n\t\t\t\u002F\u002F设置提示信息\n\t\t\tif ((this.nowselect\u003E-1)&(this.nowtypeselect==0))\n\t\t\t{\n\t\t\t\ttoolTip1.SetToolTip(this.dlltext,\"所在动态连接库: \"+this.fundll[this.nowselect].ToString());\n\t\t\t\ttoolTip1.SetToolTip(this.mat_text,\"在C#\u003Cem\u003E中\u003C\u002Fem\u003E对应的函数: \"+this.funmat[this.nowselect].ToString());\n\t\t\t\ttoolTip1.SetToolTip(this.codememo,\"函数 \"+this.tiplist.SelectedItem.ToString()+\" 在C#\u003Cem\u003E中\u003C\u002Fem\u003E的调用代码,可以手动修改\");\n\t\t\t\ttoolTip1.SetToolTip(this.tipsmemo,\"函数 \"+this.tiplist.SelectedItem.ToString()+\" 的注释信息,可以手动修改\");\n\t\t\t} else if ((this.nowselect\u003E-1)&(this.nowtypeselect==1))\n\t\t\t{\t\t\t\t\n\t\t\t\ttoolTip1.SetToolTip(this.codememo,\"常量 \"+this.tiplist.SelectedItem.ToString()+\" 在C#\u003Cem\u003E中\u003C\u002Fem\u003E的调用代码\");\n\t\t\t\ttoolTip1.SetToolTip(this.dlltext,\"没有相关信息\");\n\t\t\t\ttoolTip1.SetToolTip(this.mat_text,\"没有相关信息\");\n\t\t\t\ttoolTip1.SetToolTip(this.tipsmemo,\"没有相关信息\");\n\t\t\t\t\n\t\t\t} \n\t\t}\n\t\t\u002F\u002F\n\t\tprivate void initdatabase()\n\t\t{\n\t string dbpath = @nowpath+\"winapi.mdb\";\t\t\t\n\t\t\ttiplist.Items.Clear();\t\n\t\t\n \n \u002F\u002F@\"Provider=Microsoft.Jet.OleDB.4.0;Data Source=\"+dbpath+\";User Id=admin;Password=\"+this.dbpassword ;\n\n\t\t\t\u002F\u002F\"Provider=Microsoft.Jet.OleDB.4.0;Data Source=your mdb filename;Jet OLEDB:Database Password='pass'\" ;\t\t\t\n\n\t\t\tthis.myConnstr = @\"Provider=Microsoft.Jet.OleDB.4.0;Data Source=\"+dbpath+\";User Id=admin;Jet OLEDB:Database Password=\"+this.dbpassword ;\t\t\t\n\t\t\tthis.myconn= new OleDbConnection(myConnstr);\t\t\t\n \t\t mysql= @\"select Fun_name,Fun_dll,Fun_tips,Fun_code,Fun_com,win9x,win2k from winapi\";\n\n\t\t\t\n\t\t\t\n\t\tusing(myconn)\n\t\t\t{\n\t\t\t\tmyconn.Open();\n\t\t\t\u002F\u002F if (myconn.State.ToString() == \"Open\") MessageBox.Show(\"打开成功!\");\n\t\t\t\u002F\u002F数据处理\n\t\t\t \u002F\u002F OleDbCommand mycommand = new OleDbCommand(mysql,myconn);\n\t\t\t \n\t\t\t mycommand.CommandText = mysql;\n\t\t\t mycommand.Connection = myconn; \n\t\t\t OleDbDataReader myreader = mycommand.ExecuteReader();\n\t\t\tint i=0;\n\t\t\twhile (myreader.Read())\n\t\t\t{\n\t\t\t tiplist.Items.Add(myreader[\"Fun_name\"]);\n \n\t\t\t fundll.Add(myreader[\"fun_dll\"].ToString());\n\t\t\t\tfuntips.Add(myreader[\"fun_tips\"].ToString());\n\n\t\t\t\tfuncode.Add(myreader[\"fun_code\"].ToString());\n\t\t\t\tfunmat.Add(myreader[\"fun_com\"].ToString());\n\n\t\t\t\tfunwin9x.Add(myreader[\"win9x\"].ToString());\n\t\t\t\tfunwin2k.Add(myreader[\"win2k\"].ToString());\n\t\t\t\ti++;\n\t\t\t}\n\t\t\t myconn.Close();\n\t\t\t myreader.Close();\n\t\t\t}\n \n\t\t\t }\n\t\t\u002F\u002F更新缓存\n\t\tprivate void memo_update()\n\t\t{\t\t \n\t\t fundll[nowselect] = dlltext.Text;\n\t\t funtips[nowselect] = this.tipsmemo.Text;\n funcode[nowselect] = this.codememo.Text;\n funmat[nowselect] = this.mat_text.Text;\n\n\t\t\tif (win9x.Checked) funwin9x[nowselect]=\"Yes\" ;else funwin9x[nowselect]=\"No\"; \n\t\t\tif (win2k.Checked) funwin2k[nowselect]=\"Yes\" ;else funwin2k[nowselect]=\"No\"; \n\t\t}\n\t\t\u002F\u002F\n\n\t\tprivate void oleDbConnection1_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e)\n\t\t{\n\t\t\n\t\t}\n\u002F\u002F==============从WINAPI.TXT读取CONST并拆分\n\t\tprivate void mysplip()\n\t\t{\t\t\n\t\t\t\u002F\u002Fstring dbpath = @System.Environment.CurrentDirectory+@\"\\winapi.mdb\";\n\t\t\tstring filename =@nowpath +\"winapi.txt\";\n\t\t\tstring nextline;\n\t\t\ttiplist.Items.Clear();\t\t \n StreamReader sr = new StreamReader(filename);\t\t\t\n\t\t\twhile ((nextline = sr.ReadLine())!=null)\n\t\t\t{\n\t\t\t\tif (nextline.StartsWith(\"public const\"))\n\t\t\t\t{\n\t\t\t\t\tstring[] ss = nextline.Split('=');\t\t\t\t\t\n\t\t\t\t\ttiplist.Items.Add(ss[0].Substring(16).Trim());\t\t\n\t\t\t\t\tfuncode.Add(nextline);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsr.Close();\n\t\t\t\n\t\t}\n\u002F\u002F==============================\n\t\tprivate void select_type_SelectedIndexChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\tif (select_type.SelectedIndex != this.nowtypeselect)\n\t\t\t{\n\t\t\t\tthis.mydisp();\t\t\t\t\n\t\t\t\tswitch (select_type.SelectedIndex)\n\t\t\t\t{\n\t\t\t\t\tcase 0:initdatabase();this.nowtypeselect=select_type.SelectedIndex;break;\n\t\t \tcase 1:mysplip();this.nowtypeselect=select_type.SelectedIndex;this.dlltext.Clear();this.mat_text.Clear();break;\n\t\t\t\t}\n\t\t\t\tis\u003Cem\u003Eenable\u003C\u002Fem\u003E(this.nowtypeselect);\n\t\t\t \n\t\t\t}\n\t\t}\n\n\t\tprivate void dlltext_TextChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\t\n\t\t}\n\n\t\tprivate void richTextBox1_MouseEnter(object sender, System.EventArgs e)\n\t\t{\n\t\t\ttiplist.Visible = false ;\n\t\t\t\n\t\t}\n\n\t\tprivate void mysearch_MouseDown(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventArgs e)\n\t\t{\n\t\t\ttiplist.Visible = false ;\n\t\t\tmysearch.Focus();\n\t\t}\n\n\t\tprivate void tiplist_SelectedIndexChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\tautocomp();\n\t\t}\n\t\t\u002F\u002F\u002F \n\t\t\u002F\u002F\u002F 修改内容。\n\t\t\u002F\u002F\u002F \n\t\tprivate void fun_update()\n\t\t{\n\t\t\tusing(myconn)\n\t\t\t{\n\t\t\t\tmyconn.ConnectionString = myConnstr;\n\t\t\t\tmyconn.Open();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\t\u002F\u002Fif (myconn.State.ToString() == \"Open\") MessageBox.Show(\"打开成功!\");\n\t\t\t\t\tisnull();\u002F\u002F判断是否有无效值\n\t\t\t\t\tstring str_win9x,str_win2k;\n\t\t\t\t\tif (win9x.Checked) str_win9x = \"Yes\" ; else str_win9x = \"No\"; \n\t\t\t\t\tif (win2k.Checked) str_win2k = \"Yes\" ; else str_win2k = \"No\";\n\t\t\t\t\tsql_update = \"update winapi set Fun_dll = '\"+dlltext.Text+\"'\"+\" , Fun_tips = '\"+tipsmemo.Text+\"'\"+\" , Fun_code = '\"+codememo.Text+\"'\"+\" , Fun_com ='\"+mat_text.Text+\"' \";\n\t\t\t\t\tsql_update +=\" , win9x = '\" + str_win9x +\"' \" + \", win2k = '\" + str_win2k+\"' \"; \n\t\t\t\t\tsql_update +=\" where Fun_name ='\"+ mysearch.Text+\"'\";\n\t\t\t\t\tmycommand.Connection = myconn;\n\t\t\t\t\tmycommand.CommandText = sql_update;\n\t\t\t\t\tmycommand.ExecuteNonQuery();\t\t\t\t\n\t\t\t\t\tmyconn.Close();\n\t\t\t\t\tmemo_update();\n MessageBox.Show(this,\"恭喜!更新成功!\",\"提示\",MessageBox\u003Cem\u003EButton\u003C\u002Fem\u003Es.OK,MessageBoxIcon.In\u003Cem\u003Eform\u003C\u002Fem\u003Eation);\n\t\t\t\t}\n\t\t\t\tcatch\n\t\t\t\t{\n\t\t\t\t\u002F\u002F\ttipsmemo.Text = sql_update;\n\t\t\t\tMessageBox.Show(\"没有找到相应记录,更新失败!\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t\u002F\u002F判断是更新的部分是否有效(不能为空)\n\t\tprivate void isnull()\n\t\t{\n\t\t if (this.mat_text.Text==\"\") this.mat_text.Text=\"没有相关信息\";\n\t\t\tif (this.codememo.Text==\"\") this.codememo.Text=\"没有相关信息\";\n\t\t\tif (this.tipsmemo.Text==\"\") this.tipsmemo.Text=\"没有相关信息\";\n\t\t\tif (this.dlltext.Text==\"\") this.dlltext.Text=\"没有相关信息\";\t\t\t\n\t\t}\n\t\t\u002F\u002F关键字高亮显示\n\t\tprivate void mykeyword()\n\t\t{\t\t\t\t\t\n\t\tstring[] keywords = new string[5];\t\n\t\t\t keywords[0]=mysearch.Text;\n\t\t\t\tkeywords[1]=\"string\";\n\t\t\t\tkeywords[2]=\"ref\";\n\t\t\t\tkeywords[3]=\"int\";\t\n\t\t\t\tkeywords[4]=\"static extern\";\t\t\n\t\t\tfor(int i=0;i0)\n\t\t\t\t{\n\t\t\t\t\tindex++;\n\t\t\t\t\tswitch(i)\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 0: codememo.SelectionColor = Color.Red;break;\n\t\t\t\t\t\tcase 1: codememo.SelectionColor = Color.Green;break;\n\t\t\t\t\t\tcase 2: codememo.SelectionColor = Color.Brown;break;\n\t\t\t\t\t\tcase 3: codememo.SelectionColor = Color.Blue;break;\n\t\t\t\t\t\tcase 4: codememo.SelectionColor = Color.Green;break;\t\t\t\t\t\t \n\t\t\t\t\t\t\u002F\u002Fdefault:codememo.SelectionColor = Color.Blue;break;\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n \n\t\t}\n\t\t\u002F\u002F\n\t\t\u002F\u002FCONST\u003Cem\u003E中\u003C\u002Fem\u003E关键字高亮显示\n\t\tprivate void mykeyword1()\n\t\t{\t\t\t\t\t\n\t\t\tstring[] keywords = new string[5];\t\n\t\t\tkeywords[0]=mysearch.Text;\n\t\t\tkeywords[1]=\"=\";\n\t\t\tkeywords[2]=\"0\";\n\t\t\tkeywords[3]=\"int\";\t\n\t\t\tkeywords[4]=\"const\";\t\t\n\t\t\tfor(int i=0;i0)\n\t\t\t\t{\n\t\t\t\t index++;\n\t\t\t\t\tswitch(i)\n\t\t\t\t\t{\n\t\t\t\t\t\tcase 0: codememo.SelectionColor = Color.Red;break;\n\t\t\t\t\t\tcase 1: codememo.SelectionColor = Color.Blue;break;\n\t\t\t\t\t\tcase 2: codememo.SelectionColor = Color.Green;break;\n\t\t\t\t\t\tcase 3: codememo.SelectionColor = Color.Blue;break;\n\t\t\t\t\t\tcase 4: codememo.SelectionColor = Color.Green;break;\t\t\t\t\t\t \n\t\t\t\t\t\t\t\u002F\u002Fdefault:codememo.SelectionColor = Color.Blue;break;\t\t\t\t\t\t\t\n\t\t\t\t\t}\n if (index\u003Ecodememo.TextLength) break;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n \n\t\t}\n\t\t\u002F\u002F\n\n\t\tprivate void \u003Cem\u003Ebutton\u003C\u002Fem\u003E2_\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{ \n\t\t\t\n\t\t\tthis.fun_update();\n\t\t}\n\n\t\tprivate void is\u003Cem\u003Eenable\u003C\u002Fem\u003E(int i_temp)\n\t\t{\n\t\t\tif (i_temp==0)\n\t\t\t{\nwin9x.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\nwin2k.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\ne_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\ne_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\nb_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\nb_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=true;\n\t\t\t} else\n\t\t\t{\n\t\t\t\twin9x.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t\twin2k.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t\te_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t\te_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t\tb_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t\tb_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed=false;\n\t\t\t}\n\t\t\t\n\n\t\t}\n\n\t\tprivate void \u003Cem\u003Ebutton\u003C\u002Fem\u003E4_\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{\n\t\t\tApplication.Exit();\n\t\t}\n\n\t\tprivate void e_modify_CheckedChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\tif (e_modify.Checked) b_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = true; else b_modify.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false;\n\t\t}\n\n\t\tprivate void e_add_CheckedChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\tif (e_add.Checked) b_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = true; else b_add.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false;\n\t\t}\n\n\t\tprivate void \u003Cem\u003Etimer\u003C\u002Fem\u003E1_Tick(object sender, System.EventArgs e)\n\t\t{\n\t\t\t\n\t\t\tif (this.mat_text.TextLength\u003E0) \n\t\t\t\tmat_text.Text = mat_text.Text.Remove(0,1); else \n\t\t\t\tmat_text.Text = oldscoll_text;\n\t\t}\n\n\t\tprivate void mat_text_MouseDown(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventArgs e)\n\t\t{\n\t\t\t\u003Cem\u003Etimer\u003C\u002Fem\u003E1.\u003Cem\u003EEnable\u003C\u002Fem\u003Ed = false ;\n\t\t\tmat_text.Text = oldscoll_text;\n\t\t}\n\n\t\tprivate void codememo_TextChanged(object sender, System.EventArgs e)\n\t\t{\n\t\t\t \n\t\t}\n\n\t\tprivate void tiplist_MouseUp(object sender, System.Windows.\u003Cem\u003EForm\u003C\u002Fem\u003Es.MouseEventArgs e)\n\t\t{\n\t\t\t\n\t\t}\n\n\t\tprivate void menuItem1_\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{\n\t\t\tControl ct = this.ActiveControl;\n\t\t\tstring temp = ct.Text;\n\t\t\tClipboard.SetDataObject(temp);\n\n\n\t\t}\n\n\t\tprivate void menuItem2_\u003Cem\u003EClick\u003C\u002Fem\u003E(object sender, System.EventArgs e)\n\t\t{\n\t\t\t\n\t\t}\n\n\t}\n}","createTime":"2009-11-01 08:37:02","dataReportQuery":"spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default","dataReportClick":"{\"mod\":\"popu_645\",\"index\":\"3\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Ftianzhu131\u002F1785804\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","dataReportView":"{\"mod\":\"popu_645\",\"index\":\"3\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Ftianzhu131\u002F1785804\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-3-1785804-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","type":"download"},{"url":"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fweixin_43568216\u002F10889912","title":"CE\u003Cem\u003E中\u003C\u002Fem\u003E文版-启点CE过NP\u003Cem\u003E中\u003C\u002Fem\u003E文.exe","desc":"启点CE过NP\u003Cem\u003E中\u003C\u002Fem\u003E文December 24 2018:Cheat Engine 6.8.2 Released:\n\nHere's a new version for the hollidays. Mainly minor improvements and some small bugfixes, but also a new 'ultimap like' feature called Code Filter for which you don't need any special hardware for. (Just an extensive list of addresses) Download: Cheat Engine 6.8.2 \n\nFixes:\nDisassembler: Several disassembler instructions had a comma too many or too few ,fixed those\nDisassembler: Fixed the description for ret #\nDisassembler\u002FDebug: Fixed the address that is being edited when a breakpoint hits while editing an instruction\nAssembler: Fixed assembling reg*2\u002F4\u002F8+unquotedsymbol\nPlugin: Fixed the SDK for C plugins that use the disassembler callback\nHotkeys: Fixed the attach to foreground hotkey\nMemory Scan: Fixed the percentage scan\nMemory Scan: Fixed a rare situation that could cause an error\nMemory Scan: Simple values now works with groupscan\nMemory Scan Lua: Scanfiles now also get deleted if the memory scan object is freed before the scan is fully done\nFill Memory: Now allows 64-bit addresses\nStructure Dissect: Fixed the popupmenu \"change type\" so it now affects all selected entries instead of just the first\nPointerOrPointee window: Fix the debug pointer or pointee window \u003Cem\u003Ebutton\u003C\u002Fem\u003E text when using access instead of writes\nGUI: Fixed and restored the DPI Aware option in setting\nGUI: Some DPI fixes\u002Fadjustments here and there\nGraphical Memory view: Fixed DPI issues\nSymbolhandler: When the symbolhandler now waits till it's done, it won't wait for the structures to be parsed anymore\n\nAdditions and Changes:\n\nLua Engine: Added autocomplete\nDLL injection: On DLL injection failure CE tries to fall back on forced injection methods\nAssembler: Added multibyte NOP\nPlugins: Plugins can now have side dll's that are statically linked in their own folder (Windows 7 with updates and later)\nDebugging: Improved the FPU window editing when single stepping, allowing you to change the FPU registers\nDebugging: Threadview now updates when single stepping and cnanges made there will affect the currently debugged thread (before it didn't)\nDebugging: Added Code Filter. This lets you filter out code based on if it has been executed or not (Uses software breakpoints)\nDebugging: Added an option to chose if you wish to break on unexpected breakpoints, and if CE should break on unexpected breakpoints, or only on specified regions (like AA scripts)\nDisassembler: The comments now show multiple parameters\nPointerscan: Add option to allow negative offset scanning\nPointerscan: Add extra types to the display\nAdvanced Options\u002FCodeList: Now uses symbolnames\nTutorial Game: Added a levelskip option when you've solved a step\nTutorial Game: Added a secondary test\nCompare memory: Added a limit to the number of address values shown per row (can be changed)\nAddress List: When the option to deactivate children is set, the children will get deactivated first\nMemory Scan: Add a lua script in autorun that lets you specify which module to scan\n\nLua:\nExecuteCodeEx(Let's you execute code in the target and pass parameters)\nAdded 2 new parameters to getNameFromAddress (ModuleNames and Symbols)\nAdded addModule and deleteModule to the symbollist class\nAdded the ModuleLoader class which can force load dll's\nFixed endUpdate for the listview\n\n\nThanks go out to SER[G]ANT for updating the russion translation files already\nJune 23 2018:Cheat Engine 6.8.1 Released:\n\nApparently 6.8 contained a couple of annoying bugs, so here's an update that should hopefully resolve most issues.\nAlso a few new features that can come handy\nDownload: Cheat Engine 6.8.1 \n\nFixes:\nFixed several issues with the structure compare\nFixed the commonality scanner from picking up unrelated registers for comparison\nFixed speedhack hotkeys\nFixed ultimap 1\nFixed a bunch of random access violations\nFixed Lua dissectCode.getStringReferences now also returns the string\nFixed Lua breakpoints that specify a specific function\nFixed Lua toAddress when the 2nd parameter is an address\nFixed assembling xmm,m32\nFixed issue when disassembling AVX instructions\nFixed right\u003Cem\u003Eclick\u003C\u002Fem\u003Eing r8-r9 in the registers window\nFixed the plugin system for DBVM\nFixed DBVM memory allocations when smaller than 4KB\n\nAdditions and changes:\nAdded translation strings for the all type settings\nYou can now drop files into the auto assembler\nauto assembler commands allocnx (allocate no execute) and allocxo (allocate execute only)\nThe memoryview windows's hexadecimalview now shows the allocationbase as well, and can be double\u003Cem\u003Eclick\u003C\u002Fem\u003Eed to go there\nAdded support for mono dll's that do not export g_free\nChanged \"make page writable\" to multiple options\nImproved DBVM speed slightly\n\nLua:\nadded RemoteThread class object\n\n\nJune 8 2018:Cheat Engine 6.8 Released:\n\nCheat Engine 6.8 has been released. Lots of new features like structure compare, AVX disassembling support, lua functions, etc...\nDownload: \nIf you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker or by e-mail.\nAnd if you have questions, don't hesitate to ask them in the forum\n\nFixes:\nFixed some more high dpi issues\nFixed issues with the dropdown list in memory records\nFixed pointer offset symbols not calculating properly\nFixed registered binutils\nFixed graphical issues with the tablist\nFixed issue where memory blocks would get cut of before the page end\nFixed some memory leaks\nFixed some graphical issues in the addresslist\nFixed right\u003Cem\u003Eclick\u003C\u002Fem\u003E on r8 and r9 in memoryview\nFixed disassembling some instructions\nFixed DBVM so it works on windows 1709 and later (tested on 1803)\nFixed several DBVM offload crashes\nFixed freeze with allow increase\u002Fdecrease for 8 byte long values\nFixed several issues where minimizing a window and then close it would hang CE\nFixed file scanning\nFixed crashes when editing memory in some some emulators\n\nAdditions and changes:\nText editor improvements\nAdded hundreds of new cpu instructions\nMono now has some new features like instancing of objects\nMono instances window is now a treeview where you can see the fields and values\n\"find what addresses this code accesses\" can also be used on RET instructions now (useful to find callers)\nThe graphical memory view now has a lot more options to set it just the way you need\nCodepage support in hexview\nstructure data from PDB files can now be used, and are stored in a database for lookup later\ndissect structures \u003Cem\u003Eform\u003C\u002Fem\u003E can now show a list of known structures (pdb, mono, ...)\nAdded a \"revert to saved scan\" option (lets you undo changes)\nAdded a \"forgot scan\" option (in case you forgot what you're doing)\nPointerscan limit nodes is default on in a new ce install (remembers your choice when you disable it)\nAutoattach now happens using a thread instead of a gui blocking \u003Cem\u003Etimer\u003C\u002Fem\u003E\nSome colorscheme enhancements\nAdded a DBVM based \"Find what writes\u002Faccesses\" feature. (For pro users, \u003Cem\u003Eenable\u003C\u002Fem\u003E kernelmode options for it to show)\nChanged the dissect data setup from seperate yes\u002Fno\u002Fvalue dialogs to a single window\nAdded a bypass option for ultimap2 on windows 1709. When using ranges, do not use interrupts, or use DBVM\nAdded find what writes\u002Faccess to the foundlist\nAutoassembler scriptblocks are now grouped when written to memory\nAdded {$try}\u002F{$except} to auto assembler scripts\nAdded an extra tutorial\u002Fpractice target\nAdded cut\u002Fcopy\u002Fpaste context menu items to pointer offset fields in add\u002Fchange address, and added a context menu to the pointer destination\nAdded an automated structure compare for two groups of addresses to find ways to distinguish between them\n\nlua:\nadded automatic garbage collection and settings to configure it\nadded new functions:\ngc_setPassive\ngc_setActive\nreinitializeSelfSymbolhandler\nregisterStructureAndElementListCallback\nshowSelectionList\nchanged the getWindowlist output\nMain\u003Cem\u003EForm\u003C\u002Fem\u003E.OnProcessOpened (better use this instead of onOpenProcess)\nenumStructure\u003Cem\u003EForm\u003C\u002Fem\u003Es\ncpuid\ngetHotkeyHandlerThread\nbunch of dbvm_ functions (needs dbvm capable cpu, and intel only atm)\nand more, including class methods and fields (read celua.txt)\n\nMinor patches:\n 06\u002F08\u002F2018: 6.8.0.4 - Fixed speedhack hotkey speed asignments and some commonalityscanner issues 06\u002F09\u002F2018: 6.8.0.5 - Fixed only when down speedhack option 06\u002F10\u002F2018: 6.8.0.6 - Fixed ultimap1 - Fixed ultimap2 on some systems - Fixed \u003Cem\u003Eenable\u003C\u002Fem\u003EDRM() from crashing - Fixed one disassembler instruction \n\nRussian translation has been updated\nNovember 13 2017:Can't run Cheat Engine\n\nThere is apparently some malware going around that blocks execution of Cheat Engine (Saying file missing, check filename, etc...) If you have been a victim of this then try this windows repair tool to fix your windows install:\nDownload Repair Tool\n\nNovember 9 2017:Spanish(Latin) translation added\n\nManuel Ibacache M. from Chile has provided us with spanish(Latin) translation files for Cheat Engine. \nThey can be downloaded from the download section where you can find the other translation files, or right here\nJune 7 2017:Cheat Engine 6.7 Released:\n\nCheat Engine 6.7 has been released. New lua functions, GUI improvements, codepage scanning, several bugfixes and more(See below). \nDownload: Cheat Engine 6.7\n\nIf you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail.\nAnd if you have questions, don't hesitate to ask them in the forum , irc\n\nFixes:\nFixed some DPI issues at some spots\nFixed the \"Not\" scan for ALL\n\"simple values\" now also applies to the All type\nFixed not adding the 0-terminator to strings when the option was set to add it\nFixed ultimap hotkeys\nFixed ultimap2 filtering\nChanging pointers in the change address dialog won't set\u002Foverride global memrec and address anymore (local now)\nFixed show as signed not working for custom types\nFixed several issues with the structure spider\nFixed 64-bit registers in the tracer getting truncated on double\u003Cem\u003Eclick\u003C\u002Fem\u003E, and fix r8 to r15\nFixed copy\u002Fpaste in the scanvalue\nFixed kernelmode QueryMemoryRegions for windows build 1607\nFixed some disassembler errors\nFixed lua command fullAccess\nFixed text to speech if launched from a different thread\nFixed \u003Cem\u003Eclick\u003C\u002Fem\u003Eing on checkboxes when the dpi is different\nFixed the found code dialog count size\nFixed mono freezing Cheat Engine when it crashes\u002Ffreezes\n\nAdditions and changes:\nChanged the processlist and added an Applications view similar to the taskmanager\nSmall change to the tutorial first step wording\nStructure Dissect: Added RLE compression (by mgr.inz.player) and other things to improve filesize\nStructure Dissect: If setting a name, it will also be shown in the header\nThe symbolhandler can now deal with complex pointer notations\nAdded support for single-ToPA systems for ultimap2\nAdded some more spots where the history will be remebered in memoryview\nMemoryrecords with auto assembler scripts can now execute their code asynchronous (right\u003Cem\u003Eclick\u003C\u002Fem\u003E and set \"Execute asynchronous\")\nKernelmode memory reading\u002Fwriting is safer now\nAdded an option to filter out readable paths in the pointerscan rescan\nAdded \"codePage\" support\nAdded font\u002Fdisplay options to several places in CE\nAdded a search\u002Freplace to the script editors\nYou can now delete addresses and reset the count from \"Find what addresses this code accesses\"\nAdded a statusbar to the hexview in memoryview\nPointerscan for value scans now add the results to the overflow queue\nOpening a file and changing bytes do not change them to the file anymore (you need to explicitly save now)\nAdded an option to the processlist to filter out system processes\nAdded a system to let users sign their tables so you know you can trust their tables.\nMemory record dropdown lists can now reference those of others. USe as entry text: (memoryrecorddescription)\nAdded an option to notify users of new versions of Cheat Engine\n\nlua:\nCustom Types can now be referenced from Lua\nAuto assembler lua sections now have access to \"memrec\" which is the memory record they get executed from. Can be nil\nstringToMD5String now support strings with a 0 byte in them\nautoAssemble() now also returns a disableInfo object as 2nd parameter. You can use this to disable a script\nadded Action and Value properties to MemoryRecordHotkey objects\nadded screenToClient and clientToScreen for Control objects\nadded readSmallInteger and writeSmallInteger\nadded \u003Cem\u003Eenable\u003C\u002Fem\u003EDRM()\nadded openFileAsProcess\u002FsaveOpenedFile\nadded saveCurrentStateAsDesign for CE\u003Cem\u003EForm\u003C\u002Fem\u003E objects\nadded disableWithoutExecute and disableAllWithoutExecute\nadded OnCustomDraw* events to the listview\nadded being\u002FendUpdate for the Strings class\nadded SQL support\nadded color overrides to the disassembler text\nadded OnPaint to the CustomControl class\nadded autoAssembleCheck to syntax check an AA script\nfixed the addresslist returning nil for PopupMenu (while popupMenu did work)\nadded an timeout option for pipes\nadded some graphical options\nadded some low level system functions\n\n\nRussian translation has been updated\nChinese translation has been updated\nMay 15 2017:Korean language files\n\nThanks to Petrus Kim there are now Korean language files for Cheat Engine. You can get them here\nJust extract it to the language folder in the Cheat Engine installation folder and you'll be able to use it\n\n\nApril 13 2017:Cheat Engine for Macintosh download\n\nFor the Mac users under us there is now a mac version available for download. It's based on Cheat engine 6.2 but I will be upgrading it to 6.6 and later based on the feedback I get.\nTip:if you have trouble opening processes: Reboot your Mac and hold CMD+R during boot to enter the recovery console. There open the terminal (using the top menu) and enter \"csrutil disable\" . Then reboot and you'll be able to open most processes (Youtube video by NewAgeSoldier in case it's not clear)\n\nOctober 6 2016:Cheat Engine 6.6 Released:\n\nCheat Engine 6.6 has been released. It has several fixes, new scan functionality, gui changes\u002Fimprovements, Ultimap 2, better hotkeys, more programming options, and more(See below). \nDownload: Cheat Engine 6.6\n\nIf you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail.\nAnd if you have questions, don't hesitate to ask them in the forum or irc\n\nFixes:\nFixed saving of hotkey sounds\nFixed the CF flag in the disassembler stepping mode\nFixed Kernelmode VirtualQueryEx for Windows 10 build 14393\nFixed DBVM for Windows 10 build 14393\nFixed the shortest assembler instruction picking for some instructions\nFixed a few bugs in the break and trace routine when you'd stop it while the thread still had a single step set\nFixed several ansi to UTF8 incompatbilities that poped up between 6.5 and 6.5.1\nFixed the stackview not properly setting the color, and giving an error when trying to change a color\nFixed the exe generator not adding both .sys files or the .sig files when using kernel functions\nFixed some places of the disassembler where it helps guessing if something is a float or not\nWhen using the code finder, it won't show the previous instruction anymore if it's on a REP MOVS* instruction\nFixed an issue when editing memoryrecords with strings, where wordwrap would add newline characters\nFixed D3D alpha channel for textures and fontmaps\nFixed the helpfile not being searchable\nThe installer will now mark the CE destination folder as accessible by APPS. (fixes speedhack for some APPS)\nFixed the \u003Cem\u003Eform\u003C\u002Fem\u003E designed crashing is resized 'wrong'\n\nAdditions and changes:\nUltimap 2 for Intel CPU's of generation 6 and later (no DBVM needed for those)\nLanguage select if you have multiple language files for CE\nMemoryrecord pointer offsets can use calculations, symbols and lua code now\nWhile stepping in the debugger you can now easily change the EIP\u002FRIP register by pressing ctrl+f4\nchanged the way CE is brought to front when a hotkey is pressed\nMade the GUI more adaptive to different fontsizes and DPI\nSeveral font and minor GUI changes\nAdded DPIAware and a font override to the settings window. (DPI aware is on by default, but can be turned of if experiencing issues)\nAdded option to \u003Cem\u003Eenable\u003C\u002Fem\u003E pause by default\nDisassembling mega jumps\u002Fcalls now show the code in one line\nThe standalone auto assembler window will now give an option to go to the first allocated memory address\nChanged the point where the settings are loaded in CE's startup sequence\nThe \u003Cem\u003Eform\u003C\u002Fem\u003Edesigner now allows copy and paste of multiple objects, and uses text\nAdded scrollbox and radiogroup to the \u003Cem\u003Eform\u003C\u002Fem\u003Edesigner\nAdded Middle, MB4 and MB5 as allowable hotkeys\nAdded controller keys as hotkeys\nSingle stepping now shows an indication if an condition jump will be taken\nAdded a watchlist to the debugger\nAdded the 'align' assembler pseudo command (allocates memory so the next line is aligned on a block of the required size)\nAdded the 'Not' option for scans, which causes all addresses that match the given entry as invalid\nChanged the Unicode text to UTF-16. Text scans are now UTF8\u002FUTF16 (no codepage)\nHexview can now show and edit values in 3 different textencodings. (Ascii, UTF-8 and UTF-16)\nRescan pointerscans on pointerscans that where done on a range can now change the offset\n\nlua:\nspeak(): Text to speech\nhookWndProc: a function that lets you hook the windows message handler of a window\nregisterEXETrainerFeature: Lets you add extra files to the exe trainer file packer\ngetFileVersion(): A function to get version in\u003Cem\u003Eform\u003C\u002Fem\u003Eation from a file\nmouse_event() : Lets you send mouse events to windows. (move, \u003Cem\u003Eclick\u003C\u002Fem\u003E, etc...)\nloadFontFromStream() : Lets you load a font from a memory stream. (Useful for trainers that use a custom font)\nadded several thread synchronization objects\ncontrol class: added bringToFront and sendToBack\n\nlua changes:\ndbk_writesIgnoreWriteProtection() now also disables virtualprotectex calls from CE\nloadTable() can now also load from a Stream object.\nthe addresslist has some Color properties published for better customization\nthe LUA server has had some new commands added so hooked code can do more efficient calls. (LUAClient dll has been updated to use them in a basic way)\n\n\nRussian translation has been updated\nFrench tutorial only translation has been updated as well\n\n10\u002F10\u002F2016:6.6.0.1: Fixed align\nMay 19 2016:Cheat Engine 6.5.1 Released:\n\n6.5.1 has been released. It's mainly a bugfix version to replace 6.5 which had a few minor bugs that needed solving.\nDownload: Cheat Engine 6.5.1\nFixes:\nFixed increased value by\u002Fdecreased value by for float values\nFixed disassembling\u002Fassembling some instructions (64-bit)\nFixed the autoassembler tokenizing wrong words\nFixed several bugs related to the structure dissect window (mainly shown when autodestroy was on)\nFixed a small saving issue\nGroupscans now deal with alignment issues better\nFixed java support for 32-bit\n\nAdditions and changes:\nSigned with a sha256 signature as well (for OS'es that support it)\nChanged Ultimap to use an official way to get the perfmon interrupt instead of IDT hooking (less BSOD on win10 and 8)\nIndividual hotkeys can now play sounds\nNow compiled with fpc 3.0\u002Flazarus 1.6 (Previously 2.7\u002F1.1)\nYou can now search in the string list\nPEInfo now has a copy to clipboard\nSome places can now deal better with mistakes\nLazarus .LFM files can now be loaded and saved\n\nlua:\nFixed several incompatibilities between lua that popped up in 6.5 (due to the lua 5.1 to 5.3 change)\nFixed the OnSelectionChange callback property in the memoryview object\nMemoryRecords now have an Collapsed property\nAdded TCanResizeEvent to the splitter\nFixed setBreakpoint not setting a proper trigger if not provided\nFixed executeCode* parameter passing\nFixed several memory leaks where unregistering hooks\u002Faddons didn't free the internal call object\nSome tableFile additions\nFixed registerAssemble assembler commands\nAdded kernelmode alloc and (un)mapping functionality\nAdded an easy way to add auto assembler templates\nAdded window related functions including sendMessage\nAdded Xbox360 controller support functions\nAdded more thread functions\n\nPost release fixes:\nDealt with several gui issues like the main\u003Cem\u003Eform\u003C\u002Fem\u003E to front on modal dialogs, header resizing stuck with the cursor, treeview item selection\u002Fdeletion being weird, etc...\nAdded a disconnect to the client in pointerscans\nFixed pointerscan issue with 32-bit aligned pointers in a 64-bit process\nFixed a deadlock in threads when lua custom types where used\n\n\nPost release fixes:\nDealt with several gui issues like the main\u003Cem\u003Eform\u003C\u002Fem\u003E to front on modal dialogs, header resizing stuck with the cursor, treeview item selection\u002Fdeletion being weird, etc...\nAdded a disconnect to the client in pointerscans\nfixed pointerscan issue with 32-bit aligned pointers in a 64-bit process\nFixed a deadlock in threads when lua custom types where used\nFixed pointerscan resume\n\n6\u002F1\u002F2016: (major bugfix) properly fixed resume of pointerscans and alignment fix\nDecember 31 2015:Cheat Engine 6.5 Released:\n\nI'd like to announce the release of Cheat Engine 6.5\n\nIf you encounter bugs or have suggestions, please do not hesitate to report them in the forum, bugtracker, irc or by e-mail.\nAnd if you have questions, don't hesitate to ask them in the forum or irc\n\nFixes:\nFixed page exception breakpoints from not working\nFixed the save as \u003Cem\u003Ebutton\u003C\u002Fem\u003E in the lua script assigned to the table\nFixed the dotnetdatacollector from not fetching parent fields\nFixed disassembling of some instructions\nFixed assembling some instructions\nFixed assembling instructions that referenced address 80000000 to ffffffff in 64-bit targets\nFixed dealing with unexpected breakpoints\nFixed several issues with the network scanner. (symbols, scanspeed, threads, etc...)\nFixed \"going to\" 64-bit registers.\nFixed pointerstrings for 64-bit\nFixed the addressparser in memview's hexview not handing static 64-bit addresses\nFixed r8 and r9 looking broken in the memoryview window\nFixed hotkeys that set a value as hexadecimal and the value is smaller than 0x10\nFixed multiline string editing for memory records\nFixed dragging cheat tables into CE\nFixed VEH debug for 'Modern' apps\nFixed several translation issues\nlua:\nfixed getStructureCount, writeRegionToFile, readRegionFromFile, readInteger, ListColum.GetCount\nfixed memoryleak in MemoryStream\n\nSeveral fixes to DBVM:\nadded support for Windows 10\nsupport for more than 8 cpu's\nsupport for newer cpu's\nfixed issue where calling CPUID right after setting the TF flag wouldn't trigger a breakpoint after it\n\n\nAdditions and changes:\nArray of Byte's can now deal with nibble's. (e.g: 9* *0 90 is now a valid input- and scanstring)\nThe auto assembler can now deal with some mistakes like forgetting to declare a label\nAdded support to use binutils as assembler and disassembler, and a special scripting language for it\nAdded support for 64-bit mono, and script support for cases where mono.dll isn't called mono.dll\nAdded an option to get a list of all recently accessed memory regions. This is useful for the pointerscanner\nThe pointerscanner can now use multiple snapshots (pointermaps) to do a scan. This basically lets you do a rescan during the first scan, saving your harddisk\nMade the pointerscan network scanner a bit easier to use. You can now join and leave a pointerscan session\nYou can now stop pointerscans and resume them at a later time\nPointerscan files can get converted to and from sqlite database files\nThe pointerscan configuration window now has an advanced and basic mode display\nThe all type now has a setting that lets you define what under \"all\" falls\nCustom types now also have access to the address they're being used on\nSplit up the \"(de)activating this (de)activates children\" into two seperate options (one for activate, one for deactivate)\nAdded some basic Thumb disassembling\nThe xmplayer has been replaced with mikmod which supports many different module types (in lua you still call it xmplayer)\nRightlicking on \"your system supports dbvm\" will let you manually load DBVM for each cpu. This is usefull if for some reason your system crashes when it's done too quickly\nIn \"Find what addresses this instruction accesses\" you can now open the structure dissect window of your choice in case there are others. It will also fill in the base address, so no need to recalculate yourself\nAA command GlobalAlloc now has an optional 3th parameter that lets you specify the prefered region\nAdded an option to record and undo writes. (Off by default, can be \u003Cem\u003Eenable\u003C\u002Fem\u003Ed in settings. Memview ctrl+z will undo the last edit)\nAdded aobscanregion(name,startaddress,stopaddress,aob)\n\nlua:\nswitched from Lua 5.1 to 5.3\ndebug_setBreakpoint can now take an OnBreakpoint parameter that lets you set a specific function just for that breakpoint\nadded dbk_getPhysicalAddress(int)\nadded dbk_writesIgnoreWriteProtection(bool)\nadded getWindowList()\nAnd a bunch of other lua functions. (check out main.lua)\n\nPost release fixes (max 7 days after initial release *or 30 if a HUGE bug):\n1\u002F6\u002F2016:Fixed structure dissect from crashing when autodestroy is on\n1\u002F6\u002F2016:Fixed window position loading on multi monitor systems\n1\u002F6\u002F2016:Fixed the lua customtype and\n1\u002F6\u002F2016:Several minor gui fixe","createTime":"2019-01-02 09:42:23","dataReportQuery":"spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default","dataReportClick":"{\"mod\":\"popu_645\",\"index\":\"4\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fweixin_43568216\u002F10889912\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","dataReportView":"{\"mod\":\"popu_645\",\"index\":\"4\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fweixin_43568216\u002F10889912\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-4-10889912-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","type":"download"},{"url":"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fjingcuo\u002F6013689","title":"WPTools.v6.29.1.Pro","desc":"*******************************************\n************ WPTOOLS 6 History ************\n********** http:\u002F\u002Fwww.wpcubed.com *********\n**** Copyright (C) 2012 J. Ziersch and ****\n**** WPCubed GmbH, Munich, Germany ********\n*******************************************\n* - = bug fix\n* + = new feature\n* * = changed, expanded feature\n*******************************************\n* IMPORTANT: Please edit file WPINC.INC to\n* activate WPREPORTER, WPSPELL, wPDF, TBX \n* and GraphicEx \u002F PNGImage support!\n* Delphi 2009 and later as inbuilt PNGImage \n*******************************************\n* THE MANUAL (PDF) AND REFERENCE (HLP,CHM)\n* ARE PROVIDED AS SEPERATE DOWNLOADS!\n*******************************************\n\n~~~~~~~~~~ Important Notes ~~~~~~~~~~~~\n- With Delphi XE2 or XE3 it is possible to compile WPTools into a 64 bit applications. \n You need WPTools 6 PRO or WPTools 6 Premium for this.\n- Localization and Inch\u002FCM selection see \n http:\u002F\u002Fwww.wpcubed.com\u002Fmanuals\u002Fwp5man\u002Findex.html?localization.htm\n Also see demo\\tasks\\localization. There are the required XML files.\n- if flag wpDontAddExternalFontLeading is active in property \u003Cem\u003EForm\u003C\u002Fem\u003EatOptionsEx \n the text will be \u003Cem\u003Eform\u003C\u002Fem\u003Eatted more like WPTools4\u002FMS-Word. You can alternatively \n set global variable WPDoNotAddExternalFontLeading := TRUE and \n select the Printer WYSIWYG mode: TWPRichText1.HeaderFooter.UpdateRe\u003Cem\u003Eform\u003C\u002Fem\u003EatMode(true)\n- The \u003Cem\u003EForm\u003C\u002Fem\u003EatOption wpDisableAutosizeTables can be required for good \n display of tables. wpNoMinimumCellPadding for narrow layout, too.\n- If you plan to use DBWPRichText please check \n http:\u002F\u002Fwww.wpcubed.com\u002Fforum\u002Fviewtopic.php?p=3456\n- The reader\u002Fwriter receive their options through \"\u003Cem\u003EForm\u003C\u002Fem\u003EatStrings\" \n please see list at http:\u002F\u002Fwww.wpcubed.com\u002Fmanuals\u002F\u003Cem\u003Eform\u003C\u002Fem\u003Eatstrings.htm\n- WPTools is configured using the file WPINC.INC, \n here WPREPORTER is activated and the optional WPShared, WPSPell and wPDF \n can be selected to be compiled into main WPTools package.\n- also see FAQ: http:\u002F\u002Fwww.wpcubed.com\u002Fforum\u002Fviewforum.php?f=15\n- and support forum: http:\u002F\u002Fwww.wpcubed.com\u002Fforum\u002F\n- WPTools 6 PRO and PREMIUM will be compiled as Version 5 if $define \"WP6\" is not set\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nWe recommend to use TMS components to create modern user interfaces, toolbars and ribbons.\n\n19.2.2013 - WPTools 6.29.1\n- fix in rtf writing code to solve problem with merged cells\n- fix possible rangecheck error \n- fix problem with TextObject.LoadFromFile and Delphi XE3\n* RTF reader now handles UNC file links which use \"\\\\\" in the path\n* the cursor was not painted if DoubleBuffered was set to true for the parent of the editor\n+ WPTools Premium: Saves and loads \\column \n* improved theming of TWPToolbar and TWPToolPanel\n+ new event: OnPaintDesktopBackground. It can be used to draw the parent of the editor, for example \n if it is a TMS panel or pager control.\n Example:\n \n procedure T\u003Cem\u003EForm\u003C\u002Fem\u003E1.WPRichText1PaintDesktopBackground(Sender: TObject; Canvas: TCanvas; R: TRect);\n begin\n \u002F\u002F This would paint the TWPRichText, too - but TWPRichText is locked for repaint during this event\n AdvOfficePager1.PaintTo(Canvas, -WPRichText1.Left, -WPRichText1.Top); \n end; \n- HighlightTextColor can now also be used if 2Pass Painting is used\n\n\n21.12.2012 - WPTools 6.29\n- images in RTF label were not painted when label was moved\n+ added support for XE3 to WPTools STD edition\n* stream RTFvariables were not loaded from WPT \u003Cem\u003Eform\u003C\u002Fem\u003Eat. They are loaded now.\n\n\n9.11.2012 - WPTools 6.28\n- Update to RTF reader to load landscape flag for sections better\n- when page mirror was used, after a page break the text indentation was sometimes wrong\n- hyphenation code was broken\n- workaround for word files which have space characters in table definitions\n\n16.10.2012 - WPTools 6.27''\n* some additions to the PRO edition for XE3\n\n\n26.9.2012 - WPTools 6.27'\n* The PRO Version now supports Delphi XE3\n\n\n3.8.2012 - WPTools 6.27\n- fix for wrong display of tables with header and footer rows. Sometimes both were painted without any data. \n+ to load old Hiedit templates as RTF code use the \u003Cem\u003Eform\u003C\u002Fem\u003Eatstring -HiEditFields. This will create merge fields for ALL fields.\n- NL sign was not shown right after CTRL+ENTER was pressed (requires ShowNL)\n- fix for rangecheck exception with paintpages array\n- fix for footer and page mirror\n- double\u003Cem\u003Eclick\u003C\u002Fem\u003E word selection now stops at NL\n- Workaround for Windows Spooler problems - some images would get lost\n- sections use footer and header of previous section, not general\n- ASetBorder did change all border types\n\n\n12.3.2012 - WPTools 6.25.4\n* allows changing of column width in redonly editors. Can be switchoed off in EditOptions or set \n compiler define TOTALREADONLY\n+ wpDisableSelectAll in EditOptionsEx2\n* changed re\u003Cem\u003Eform\u003C\u002Fem\u003Eat\u002Frepaint after Undo\u002FRedo\n- pro and premium: Due to a problem with precompiler cursoir selection did not work correctly\n\n\n8.3.2012 - WPTools 6.25.3'\n- borders for paragraphs with multiple lines were not drawn correctly\n- change in DBWPRich.pas to use LoadFromString instead of Text\n- fix possible range check error\n- change in WPTbar.pas to use different default for BevelOuter\n- change in WPIOHTML to use default charattr of paragraph is a paragraph is empty\n\n\n9.2.2012 - WPTools 6.25.2\n* new 2-pass painting triggers CustomPaint event only on second loop (when the text is painted)\n* changed protection of empty paragraph to WPTools 5 way\n+ inside of the OnPrepareImageForSaving event it is now possible to set Writer.CurrentImageName\n to the name of the file which should be saved. This is only useful if ObjRef = nil and so no ObjRef.Filename can be set. \n+ TParagraph.GetSubText now has optional parameter to disable the object reference char codes #1, #2 and #3\n* HTML writer ignores #13 codes when writing the text.\n* additional savety code in HTML writer\n* HTML reader sets image width and height to contents, (if possible) \n* HTML reader: changes UTF8 handling for UTF8Sequence=1\n* HTML reader does not stop on \\0 anymore\n* HTML writer writes img tag also for empty images IF a name is provided in event PrepareImageforSaving\n* HTML reader does not add space at end anymore\n- the UNICODE reader uses attribute of current paragraph. This is important for consistent \n behaviour between ANSI and UNICODE version\n- when writing HTML background color is not set to white when shading is 0. 0 is treated as default value.\n- image align center and right now works in HTML\n- fix an endless loop when image was too large\n- improvement of table border drawing\n- improvement for right align in table cells\n+ numbering will be used when wp\u003Cem\u003EForm\u003C\u002Fem\u003EatAsWebpage was set in AsWebpage\n\n\n10.1.2012 - WPTools 6.25\n+ HTML reader reads cell heighs\n- RTF writer writes background color easier to understand by Word\n* improved XML reader\u002Fwriter (unit WPIOXml1)\n* improved word wise cursor movement when fields are used\n+ new \"paint attributes\" mode. \n Use WPRichText1.BrushStart to select this mode.\n- dashes were not painted using the current font color\n- some stability improvements\n\n\n7.11.2011 - WPTools 6.22\n+ procedure TParagraph.CellSelectionAdd;\n+ procedure CellSelectionRemove;\n+ EditOptionsEx2: wpCellMultiSelect - allows multiselection in tables when CTRL is pressed\n+ improved XML import\u002Fexport (unit WPIOXML1.PAS)\n- some smaller bugs fixed\n\n\n3.11.2011 - WPTools 6.21.2\n- fix problem with TWPTool\u003Cem\u003EButton\u003C\u002Fem\u003E\n- improved HTML writer to write parameters in \"\"\n- improved display of arabic text\n\n\n24.10.2011 - WPTools 6.21.1\n- fix problem when painting insertpoints after tab stops. They were painted two times.\n- fix in XML and HTML writer. Close tags when extracting text from fields\n\n\n19.10.2011 - WPTools 6.21\n+ CodeLocate can now also accessed in non-visual TWPRTFDataCollection and not just TWPCustomRtfEdit\n+ CodeSelect can now also accessed in non-visual TWPRTFDataCollection and not just TWPCustomRtfEdit\n+ TWPRTFDataCollection.CodeLocatePair( \u003Cem\u003EForm\u003C\u002Fem\u003EatName : String; var spar, epar : TParagraph; var spos, epos, : Integer ) :Integer;\n- solves problem with integrated Bin64 decoder\n+ DeleteField now has optional \"Contents\" parameter to delete a certain field with contents\n+ the text writer now understand the option -softlinebreaks to create a \\n at the end of \n every line. In fact all soft line breaks will be handled like the #10 code.\n+ CodeLoadSaveEmbeddedText - load or save text in fields, bookmarks, hyperlinks\n+ the regular save and load methods (LoadFromFile, SaveToFile) can now access text wrapped by paired objects. \n specify the fieldname in the \u003Cem\u003Eform\u003C\u002Fem\u003Eat string, i.e. \"f:name=RTF\" to save or load the contents of the field \"name\".\n+ There is an overloaded LoadFromString which expects a WideString as parameter (Delphi 6+)\n- The Setup named the Delphi 2009 files \"Delphi 2005\" due to a typo. (Delphi 2005 units are not included anymore)\n- fix probable range check error in WPRTEDEFS\n\n\n13.10.2011 - WPTools 6.20\n+ completely new setup procedure. The PRO and Premium releases don't include object files which makes them much smaller.\n* compiled new WPTools 6 Reference (CHM file)\n* Delphi XE2: several small changes to improve theming support\n* Delphi XE2: several small changes to provide compatibilty to 64bit compiler (requires WPTools PRO)\n+ new demo developed with Delphi XE2, showcases actions, splitscreen, simulated MDI and property dialogs (Demos\\XE2\\WPWord)\n+ wpDeleteAtEOFRemovesSpaceAfter in EditOptionsEx2\n- TextObjectsGetList did not work\n* WPRuler uses Delphi XE2 VCL Theme plus \n* added defaults to properties TWPRichText\n- change in RTF reader to let section inherit the default layout, not the current page layout \n- fix of problem with table borders when also PageMirror was used.\n* change to DeleteMarkedChar. It now has additional parameter DeleteEmptyParAndTables : Boolean\n* change in unit WPWordConv to handle RTF as DOC files if they do not start with \"{\\rtf\"\n* updated border dialog TWPParagraphBorderDlgEx\n* updated border drawing code - now supports dotted lines with wider lines.\n* modified method DeleteColumn \n* modified WPT reading code to repair table width which were negative\n+ improved image rendering code for transparent (PNG) images. They will be drawn transparently \n also when scaled and also in high resolution rendering mode.\n+ new code to draw dotted lines which also supports wider lines\n+ new function WPReplaceTokens (unit WPUtils.PAS). It is a ReplaceTokens function to be used \n on a TWPRTFDataCollection, not TWPRichText\n- WPPremium - fix problem when there were too columns\n* MergeText now restores before Merge Cursor position and selection (except for cell selection)\n* resizing a table column does not move the cursor to the nearby cell anymore\n* different frame line when resizing columns and rows\n+ InsertColumn now also works if wpAllowSplitOfCombinedCellsOnly was used in EditOptionsEx\n+ new event OnPaintTextFrameRect let you paint background and borders for text frames, \n i.e. the text body or, with WPTools Premium, custom frames. \n+ WPPREMIUM: In OnMeasureTextPage it is possible to set columns for certain pages. \n Using PageInfo.colflags=1 it is possible to activate a line between the columns\n It is also possible to add custom frames using PageInfo.rtfpage.AddFrameRect. \n+ new ViewOptionEx: wpHideParBordersBeforAndAfterPageBreaks\n+ improved paint routine now avoids clipping of characters which were overlapping their bounding box, \n such as italic letters or \"f\". \n The improvement is especially visible when selecting text or using character background colors\n+ WPPREMIUM: it is now possible to print a line between columns using wpShowColumnCenterLine in ViewOptionsEx\n+ With WPTools Premium it is now possible to print a line between certain colums - \n use par.ASet(WPAT_COLFLAGS, WPCOLUM_LINE);\n+ paragraph styles can now contain border definion for paragraphs\n+ TWPTextObjList now has a IndexOfSource function and a Source[] string array to access the objects\n* revised code to draw double borders - always draws twou lines on screen even when zoomed\n* improved saving of numbering attributes with styles\n* style dialog can now apply number level even if style does not have numbering yet.\n* revised wpNoEditOutsideTable - was not checked for keyboard input\n* fix problem with - - - - - at end of line\n- fix problem with spell-as-you go after hyperlinks\n- fix problem with page numbers in sections when tables were spanning pages\n- fix problem with right aligned negative numbers in merge fields\n* automatic text attribute was not inherited to tables inserted in fields\n* images with mode \"under text \" can now be also \u003Cem\u003Eclick\u003C\u002Fem\u003Eed at positiones where there is no text.\n- WPLngCtr now defines DONT_OVERRIDE_COM, that fixes the IDE problem with DevExpress Toolbar controls\n\n\n18.7.2011 - WPTools 6.16.2\n* ObjectMode wpobjPositionAtCenter can be used to aligh character based images to the center line. (Other RTF reader will not understand this feature)\n* some changes to prepare 64bit compatibility (requires WPTools 6 PRO)\n\n7.7.2011 - WPTools 6.16.1\n* change to avoid flickering when doing auto scroll\n* message strings are now loaded from resource strings\n- modified DBCS support for RTF reader\n* outerborder action now works for sinle cells and paragraphs\n\n\n15.6.2011 - WPTools 6.16\n+ Many improvements to new Border Dialog. \n It is now possible to apply borders and colors to odd and even rows only.\n* RTF reader defines symbol IGNORE_AUTOWIDTH_TBL. This disable the Word2010 auto width columns which are not read \n correctly. Reason: Word 2010 seem to always add an empty column to the end.\n+ using WPRichText1.Caret.Blink:=true it is possible to activate the blinking caret (0.5sec interval).\n* updated actions to apply inner and outer borders to selected cells\n* update to ExSymbolDialog, Tab and Table dialog\n- improved WPTOOLS reader to read and apply outline properties to current outline setting (unless wpLoadDoesNotOverride is used)\n- wpsec_ResetPageNumber flag is now saved in WPTOOLS \u003Cem\u003Eform\u003C\u002Fem\u003Eat\n* tripple \u003Cem\u003Eclick\u003C\u002Fem\u003E in margin selects paragraph\n+ double \u003Cem\u003Eclick\u003C\u002Fem\u003E in margin selects current cell\n+ tripple \u003Cem\u003Eclick\u003C\u002Fem\u003E in margin selects current row\n- change for PaintEngine and TWPRichTextLabel to not shrink tables which are small enough to fit the page\n This solves a problem with dissapearing text in WPRichTextLabel\n- fix selection problem when several images were linked to same paragraph \n- when moving images the Z order will not be reset\n- HTML Writer: A style with name \"DIV\" will be added to the style sheet to save the default font \n- HTML Writer: BaseFont tag will now be written with font size (requires -writebasefont option)\n- improved display of character background color for fields and other special code \n- Saving a style sheet did not work with Unicode Compiler\n\n\n8.5.2011 - WPTools 6.15\n* updated border painting\n* updated Inner\u002FOuter Border Action\n* new object sizing routine lets the user make the size larger than the page\n- update in WPTools reader to overwrite outline styles when loading tzhe same group\n\n\n9.3.2011 - WPTools 6.14.6\n* change in \u003Cem\u003Eform\u003C\u002Fem\u003Eat routine to fix problem when a nested table cell caused a page break.\n\n\n14.12.2010 - WPTools 6.14\n* fix for SetAsString code (Unicode Delphi)\n* several fixes and updates in editor\n* WPTools Premium: $define DONT_AUTOENTER_TEXTBOXES in WPINC.INC to switch of the behavior, \n that when editing a textbox the user can \u003Cem\u003Eclick\u003C\u002Fem\u003E on any other and edit that.\n\n\n22.9.2010 - WPTools 6.13.3\n* WPCtrMemo.PAS now defines TEXT_IS_UNICODE fro Delphi 2009 and later. Now the property Text and SelText reads and writes unicode strigs\n* change in RTF reader to read ANSI characters in the range 128..255\n* Tables and rows can now be hidden. (TParagraph.Hidden)\n* The Lines property now supports unicode strings (Delphi 2009 and later)\n+ HTML reader and writer now use the entitly ­ as soft hyphen\n\n\n27.8.2010 - WPTools 6.13.2a\n+ new ViewOptionEx wpUnderlineWebLinks. If active links like http:\u002F\u002Fwww.wptools.de will be drawn using the attributes for hyperlinks\n The HyperlinkCursor will be selected and the hyperlink event will be triggered \n* other fixes in RTF engine\n- Memo._OverrideCharset was not set to -1\n\n27.7.2010 - WPTools 6.13.1\n+ WPRichText1.Memo.ColorGridLines can be used to change the color of the grid lines (ViewOptions)\n\n\n23.7.2010 - WPTools 6.13\n* several improvements of editor\n* improvement to RTF writer to when writing table cells\n* improved right aligned text\n* fixed problem with line heights of lines which are empty except for new line character\n\n\n22.6.2010 - WPTools 6.12.1b\n- fix for problem when pressing Accent + Backspace\n- fix for WPReporter to assign default attribute to destination\n- fix for WPReporter to move images when converting templates\n\n\n18.6.2010 - WPTools 6.12.1a\n* the new border dialog now reads the current border attributes from table cells, tables or selections\n- Premium: fix problem when loading columns which started on first line\n- fix in wpfUseKerning mode (\u003Cem\u003EForm\u003C\u002Fem\u003EatOptionsEx2) - it did not work as expected with some texts\n (We recommend to use wpfUseKerning - it produces better print quality on screen)\n* Pasting of HTML now works better\n- fix for right tabs when also borders were used\n\n\n13.6.2010 - WPTools 6.12\n+ all new, powerful yet intuitive Border dialog. \n The border dialog can modify a range of selected cells, columns, rows, tables and also only \n modify certain properties while leaving the others unchanged. \n You need to activate the compiler symbol NEWBORDER to use it by default\n+ new method: procedure SetBorderProperties(Inner, Outer: TWPTextStyle;\n ApplyMode : TWPParagraphBordApply;\n Mode : TWPUpdateBorderProperties =\n [wpSetBorderFlags, wpSetBorderType, wpSetBorderWidth, wpSetBorderColor, wpSetParColor, wpSetParShading]);\n This method is mainly used by the new border dialog.\n+ new flags in ViewOptionsEx: \n wpShowCurrentCellAsSelected, \u002F\u002F Displays current cell to be selected. Disables current selection\n wpShowCurrentRowAsSelected, \u002F\u002F Displays current table row to be selected. Disables current selection\n wpShowCurrentTableAsSelected \u002F\u002F Displays current table to be selected. Disables current selection\n+ new property YOffsetNormal to defined an upper border for normal and wordwrap view. \n* feature Header.MarginMirror changed to work like MS Word \n new flag: wpMarginMirrorBookPrint in \u003Cem\u003EForm\u003C\u002Fem\u003EatOptionsEx2 to \u003Cem\u003Eenable\u003C\u002Fem\u003E the previous logic\n* workaround for MouseWheel UP beeing triggered too often (10 mms check)\n+ ClipboardOption wpcoDontPasteHTML to disable HTML pasting completely (avoid problems with firefox)\n+ it is now possible to load base64 embedded JPEGs from HTML\n* it is now possible to change width of tables which exceed right margin\n- fix bug in HTML writer for lists in table cells\n- fix in RTF writer to write character colors also for text which is using a character style\n- fix: numbering was not always updated\n- fix: better use fonts in certain RTF files written by MS Word\n+ Update to WPLanguageControl to make Localization easier to use. Only\u003C this code is not required:\n\n procedure T\u003Cem\u003EForm\u003C\u002Fem\u003E1.WPLanguageControl1Loaded(Sender: TObject);\n begin\n WPLangInterface := TWPLocalizationInterface.Create(WPLanguageControl1);\n WPLocalizeAllStrings;\n end;\n\n\n6.5.2010 - WPTools 6.11.2\n* improvement to border rendering\n* improvement to XML unit WPIOXML1 (Premium)\n\n5.5.2010 - WPTools 6.11.1\n+ ConvertTableToText now supports option to also handle soft line breaks\n- fix problems with underlines at end of line\n- fix problem when loading hyperlinks in RTF\n- fix problem when saving attributes to XML (WPTools Premium)\n- fix problem with text rendering\n- fix problem with tables which habe header row and pages with different header margin\n\n\n19.4.2010 - WPTools 6.11\n+ EditOptionEx: wpRowMultiSelect\n+ new event: OnInternPaintPar\n+ new event: RTFDataCollection AfterApplyUndoObject \n\n\n14.4.2010 - WPTools 6.10.6\n* fields are now passed as unicode strings to PDF exporter\n* Delphi 2010\u002F2009 import has been improved to load unicode values which are stroed in fields.\n\n\n5.4.2010 - WPTools 6.10.5\n+ flag: wpDontExtendSelectionToRightMargin. Do not extend selection to end of line\n+ wpInvertActiveRow in ViewOptionsEx\n- some fixes for Delphi 2009 and Delphi 2010\n- fix for section support\n- WPTools premium: Fix for images in text boxes\n- workwaround to load RTF which use emfblib for pngblib\n\n\n\n28.2.2010 - WPTools 6.10\n- improve word left\u002Fright movement to skip hidden text\n- improve http load of images\n- improve support for numbering \n- improve saving of character style attributes\n\n\n11.2.2010 - WPTools 6.09.1\n+ LoadFromString now has a \"WithClear\" parameter\n- fix in RTF reader to better load files which do not define codepage\n- fix in paint routine to solve a rare lockup\n- fix in \u003Cem\u003Eform\u003C\u002Fem\u003Eat routine to improve section support\n\n\n6.2.2010 - WPTools 6.09.1\n- fix of problem in save routine when footnotes were used (WPTools premium)\n- fix in HTML writer\n- Image optiions now have a Rotation property which allows 90, 180 and 270 setting.\n- HTML reader and writer now support different colors for left,right,top, bottom lines\n\n1.2.2010 - WPTools 6.09\n- HTML writer will write 8 hard spaces for TAB stops at the start of a paragraph\n- HTML writer will write page in\u003Cem\u003Eform\u003C\u002Fem\u003Eation only if -PageInfo was used in \u003Cem\u003Eform\u003C\u002Fem\u003Eat string\n- fix problem with left aligned text and image wrap around (wrong alignment)\n- fix problem with sometimes duplicated images in PDF export\n- fix problem with black rectangle in first line under Windows 7, 64 bit\n- Improvment to RTF reader to ignore section properties which are not followed by \\sect\n\n\n14.12.2009 - WPTools 6.08\n- graphics are resized to fill text area\n- fixed problems in numbering\n- fixed problem with one word paragraphs in justified paragraphs\n- other improvements in editor\n\n27.10.2009 - WPTools 6.07\n- fixed one leaking TList per TWPRichText\n* improved layout of most important dialogs\n* improved extended insert symbol dialog\n- fix in RTF reader to load sections and header+footer written by Word 2003\n- don't add unwanted cell padding when loading table cells\n- fix in WPTools reader to read custom number styles\n- if paragraph styles use number styles the indent defined in the style has priority over numberstyle\n- LabelDef now also works for one row and one column\n- better handling of mousewheel event\n- fix for tabs in tables\n+ GIF animation (requires GifImage) library (not threaded)\n to use it You need to set ViewOption wpUseOwnDoubleBuffer and call \n the method RefreshAniImages using a \u003Cem\u003Etimer\u003C\u002Fem\u003E object.\n- fix problem when sections were used with LabeDef.Active = true\n* change in HTML writer to close tags before paragraph end\n\n\n4.10.2009 - WPTools 6.06\n- fix problem with Delphi 2010 support (language control)\n- fix problem with PDF export to reduce PDF size\n- improve support for IME\n* improve AsWebPage \u003Cem\u003Eform\u003C\u002Fem\u003Eat mode. Now WordWrap propery is supported.\n- fix searching text upwards with \"Whole Word\" selected\n+ RTF writer now can use \u003Cem\u003Eform\u003C\u002Fem\u003Eat option \"-writehighlight\" to writh \\highlight instead of \\cb \n\n\n14.9.2009 - WPTools 6.05.9\n+ added Delphi 2010 Support\n- problem when pasting from \"The Bat\"\n- fix problem in Delphi 2009 (Assign Method)\n\n3.8.2009 - WPTools 6.05.8'\n* when using \"Delete All\" in the tabstop dialog, all tabs will be cleared \n added to manual: Tabstop Category\n- fixed problem when deleting text in a paragraph. The alignment was cleared unexpectedly. \n- fix problem with installer, WPMangeHeaderFooter.DFM was not included\n- fix for IPara in mail merge field objects\n- improved handling of hoover effect for hyperlinks\n- improved text rendering for wPDF output (CID Mode)\n- add correct WPManHeadFoot.dfm\n\n\n23.7.2009 - WPTools 6.05.7\n+ WRITE_PROP_WPTOOLSOBJ $define in WPIOWriteRTF. Avoid problems when saving RTF and opting in Word\n In case of special objects, such as SPAN codes, \\*\\wpfldinst is beeing written what is ignored by WOrd\n+ Dialog HeaderFooter can optionally create and manage header&footer for the current section\n+ new KeepN Handling. This is by default activated in \u003Cem\u003EForm\u003C\u002Fem\u003EatOptionsEx2\n+ new wpfHideParagraphWithHiddenText in \u003Cem\u003EForm\u003C\u002Fem\u003EatOptionsEx2. \n Now paragraphs will be hidden if empty or only contain hidden text.\n+ new \u003Cem\u003Eform\u003C\u002Fem\u003Eat option -zap1 will remove the every first byte to convert a two byte stream into singly byte\n -zap2 will remove every second byte. Usie this option when loading data from unicode data sets\n- bugfix for table loading in RTF\n\n \n15.7.2009 - WPTools 6.05\n+ TParagraph.Trim method to remove white spaces at start and end\n+ Vertical Scrolling by pressing the middle mouse \u003Cem\u003Ebutton\u003C\u002Fem\u003E now works.\n+ improved auto thumbnail mode \n* enhancement to HTML reader \u002F writer to handle embedded SPAN objects\n+ new method: ApplySPANStyles(and_remove : Boolean=false; ignore_charattr : Boolean = false);\n can be used to apply SPAN styles to the text which it embeds\n+ The function InputSpanObjects( Attributes : TWPAbstractCharAttrInterface ) : TWPTextObj; \n can be used to wrap the selected text into SPAN objects \n+ method LoadCSSheet can be used to load paragraph styles in CSS \u003Cem\u003Eform\u003C\u002Fem\u003Eat from a string\n- fix problem with Wordrwap and centered text\n+ new even OnTextObjectMovePosition (move event) - OnTextObjectMove is still used for resize (unchanged)\n\n\n28.6.2009 - WPTools 6.04\n+ WPTools Premium: Column Balancing\n* many improvements in RTF reader. Word documents are now understood better\n* Improvement in check for protected text (ppMergedText)\n+ new ViewOptionsEx property\n- auto hyperlinks were not working \n+ TWPComboBox has an event OnUpdateItems which will be triggered after the items had been automatically assigned.\n\n24.6.2009 - WPTools 6.03.6\n* thinner page borders in thumbnail mode.\n ViewOptionsEx: wpAutoThumbnailMode will show pagenumbers only when in thubmbnail mode (= wpShowPageNRinGap in ViewOptions)\n+ property ColorDesktop and DeskGradientHorizontal to render the background with a gradient fill\n* fix for protected text handling (CR after a field)\n* fix for text alignment near a movable image\n- EditOption AutoDetectHyperlinks was not working anymore\n* WPReporter: SuperMerge.Stack.PageBreakAFterGroup := true was ot working when footers were used\n\n\n1.6.2009 - WPTools 6.03.5\n- fix problem with display of character attributes when attributes were inherited from paragraph styles\n- fix problems with selection deletion in single column, single row tables\n- improvement of RTF writer when writing sections\n\n11.5.2009 - WPTools 6.03.3\n- improved report band dialog, new ShowOptions property\n- fix in RTF reader to load header\u002Ffooter\n- change in HTML writer to save SPAN instead of FONT tag\n- several fixes in editor\n* WPTools Premium: better column support. Fixed column height now splits correctly on 2 pages.\n\n\n28.4.2009 - WPTools 6.03.2\n- fix problem with justified text in PDF\n\n21.4.2009 - WPTools 6.03.1\n- fix problem with images when used in Delphi 2009\n- better support for header\u002Ffooter in RTF files created by word. (Ignore bogus header\u002Ffooter)\n- soome stability fixes\n\n\n25.3.2009 - WPTools 6.03\n+ improved text rendering - optimation for character distances on screen to provide better display\n+ improvement on ShowMergeFieldNames to improve cursor movement and drag and drop\n+ automatic disable dragging of fields inside of fields\n+ improved merge field selection. TextObject.SelectedObject now returns the mergefield if it was completely selected\n+ change in HTML saving code to save src in after width adn height (for outlook)\n* various bugfixes\n\n17.1.2009 - WPTools 6.02\n- WPPREMIUM: Text after Columns initialized with WPAT_COLUMNS_Y is now allowed\n+ TWPToolBar FontName drop down now lists fonts used by document first\n- fix for tables which use a fixed row height and are splitted on different pages\n+ improvements necessary for Delphi 2009 - the Locaization demo now works\n+ EditOptionEx wpDontPreserveObjectsAgainstDeletion\n- fix problem in ImageObject LoadFromStream when GraphicEx is used\n- fix problem with Delphi 2009 when loading WPReporter templates\n- fix problem with HTML reader with paragraph style of first paragraph\n+ GetFontUnicodeRanges dynamically linked to avoid Win98 problem\n\n\n26.10.2008 - WPTools 6.01\n* updated HTTP Demo, now with \"Source View\"\n+ DELETE\u002FBACKSPC at start of line removes right\u002Fcenter alignment\n+ loads background images for paragraphs, tables and styles\n* improvement to text protection (empty lines)\n- improvements to HTML and CSS reader\n- improved HTML \u003Cem\u003Eform\u003C\u002Fem\u003Eat routine\n- improved MIME loading - now supports binary data despite Synapse does not)\n+ MIME reader capturesHTML body for SourceVIew\n* DataProvider now uses MergeText('',true) instead of MergeText\n+ boolean wphttp_Disable to disconnect HTTP temporarily\n* several changes to improve compatibility with Delphi 2009\n\n17.10.2008 - WPTools 6.00.1\n- several changes to fix problems which occured with use of Delphi 2009\n* update to WPIO_MIME to also load binary encoded GIFS and JPEGS from EML files\n\n\n16.10.2008 - WPTools 6.00\n* new installer\n+ VCL demo\n* fixed problem with TWPComboBox and default attributes\n* updated \"Tasks\\Mini\" demo project \n- fix in default actions\n\n3.10.2008 - WPTools 6 Beta c\n- remove not required unit reference \u003Cem\u003Eform\u003C\u002Fem\u003E WPRTEReport\n* update to manual\n\n\n2.10.2008 - WPTools 6 Beta b\n- fix in Installation script\n\n30.9.2008 - WPTools 6 Beta a\n\n\n1) Application-Server-Mode\n\nWPTools 6 introduces a feature which is called \"Application-Server-Mode\". This is only available when you have the PREMIUM version. This mode is activated when true is assigned to the global boolean variable WPAppServerMode. When this mode is activated the editor does not use the double buffered output anymore. While this can cause some flickering the network traffic is reduced when the application runs on an application server, such as Citrix.\n\nPlease note, effective with WPTools 6, software which was written for application servers (such as clinic software) may only be distributed when a TEAM or SITE license of WPTools was acquired.END\n\n2) Integrated Label Printing\n\nWhen activated the integrated label printing shows multiple labels on one virtual sheet of paper. The cursor can move from label to label freely. The user can so edit the labels, add new or delete unwanted labels before the complete sheet is printed. This is a very unique and versatile feature.\n\n3) Additions to the PDF export with wPDF V3\n\nCreate embedded data objects\nCreate edit \u002F memo fields\nCreate a check box field\n\nAlso the creation of PDF tags was enhanced. So now hints to paragraph styles will be also exported. \n\n4) Additional Control over Clipboard Actions\n\na) properties to select the \u003Cem\u003Eform\u003C\u002Fem\u003Eat\nb) added security\n\n5) Added Section API\n+ WPRichText1.ActiveSection\n+ WPRichText1.InputSection\n+ TWPPagePropDlg has new method ExecuteEx. Use it to change current page size or Section\n WPPagePropDlg1.ExecuteEx(WPRichText1.ActiveSection);\n\n6) Load over HTTP connections (requires Synapse)\n\n7) Load and save MIME encoded HTML with embedded images (requires Synapse)\n\n\n8) Integrated XML syntax highlighting (non destructive)\n\n9) WPReporter: Token to Template conversion with syntax highlighting\n\n10) Additions to paragraph API\n\n11) Special mode to \u003Cem\u003Eform\u003C\u002Fem\u003Eat HTML documents","createTime":"2013-08-26 15:33:51","dataReportQuery":"spm=1035.2023.3001.6557&utm_medium=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default&depth_1-utm_source=distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default","dataReportClick":"{\"mod\":\"popu_645\",\"index\":\"5\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fjingcuo\u002F6013689\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","dataReportView":"{\"mod\":\"popu_645\",\"index\":\"5\",\"dest\":\"https:\u002F\u002Fdownload.csdn.net\u002Fdownload\u002Fjingcuo\u002F6013689\",\"strategy\":\"2~default~OPENSEARCH~Rate\",\"extra\":\"{\\\"utm_medium\\\":\\\"distribute.pc_relevant_bbs_down_v2.none-task-download-2~default~OPENSEARCH~Rate-5-6013689-bbs-80160221.264^v3^pc_relevant_bbs_down_v2_default\\\",\\\"dist_request_id\\\":\\\"1764952878120_93905\\\"}\",\"spm\":\"1035.2023.3001.6557\"}","type":"download"}],"staffDOList":[{"id":null,"communityId":227,"username":"community_109","userNickname":"C#","roleCode":1,"status":1,"createUsername":"","updateUsername":"","avatarUrl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002Fdefault.jpg!1","createTime":"2021-05-12 18:07:21","updateTime":"2021-05-12 18:07:21","lastLoginTime":"2021-05-12 18:07:21"},{"id":null,"communityId":227,"username":"sunhui","userNickname":"AIGC Browser","roleCode":2,"status":1,"createUsername":"bbs_assistant","updateUsername":"","avatarUrl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002F4da5553c0cca498aa6129165b431f71b_sunhui.jpg!1","createTime":"2021-07-29 12:01:41","updateTime":"2021-07-29 12:01:41","lastLoginTime":"2021-07-29 12:01:41"},{"id":null,"communityId":227,"username":"diaodiaop","userNickname":"by_封爱","roleCode":2,"status":1,"createUsername":"bbs_assistant","updateUsername":"","avatarUrl":"https:\u002F\u002Fprofile-avatar.csdnimg.cn\u002F1bbdb34c745a495686ef96bd81e655c3_diaodiaop.jpg!1","createTime":"2021-07-13 16:47:41","updateTime":"2021-07-13 16:47:41","lastLoginTime":"2021-07-13 16:47:41"}],"communityConfig":{"scoreType":0,"scoreItems":{"0":"给本帖投票","1":"锋芒小试,眼前一亮","2":"潜力巨大,未来可期","3":"持续贡献,值得关注","4":"成绩优异,大力学习","5":"贡献巨大,全力支持"}},"shouldApply":false,"subscribeAble":false,"operatorAble":false,"commentNeedJoinCommunity":false},"default2014LiveRoom":[{"itemType":"","description":"高峰论坛","title":"2022 技术英雄会","url":"https:\u002F\u002Flive.csdn.net\u002Froom\u002Fiframe\u002Fcsdnnews\u002FfsNR5NWp?chat=1&title=1&footer=1","images":["https:\u002F\u002Fimg-home.csdnimg.cn\u002Fimages\u002F20221016050009.png"],"ext":{"time":"9:00","liveRoomUrl":"https:\u002F\u002Flive.csdn.net\u002Froom\u002Fcsdnnews\u002FfsNR5NWp"}}]},"isGooglebot":false,"canonical":"https:\u002F\u002Fwww.csdn.net\u002Ftopics\u002F80160221","openUrl":"","isApp":false,"localUrl":"https:\u002F\u002Fbbs.csdn.net\u002Ftopics\u002F80160221","typeId":"index","hasIndex":false,"hasHeader":true},"CFG":{"ALIPLAYER_VERSION":"v4","ALIPLAYER_H5_VERSION":"mobile_v1","ENV":"prod","ROOT_URL":"https:\u002F\u002Fcms-mall.csdn.net\u002F","VUE_APP_API_URL_SERVER":"http:\u002F\u002Fcms-community-api.internal.csdn.net\u002F","VUE_APP_API_URL":"https:\u002F\u002Fcms-api.csdn.net\u002F","LOGIN_URL":"https:\u002F\u002Fpassport.csdn.net\u002Faccount\u002Flogin","VUE_APP_DOMAIN_SKILL":"https:\u002F\u002Fedu.csdn.net\u002F","VUE_APP_DOMAIN_PATH":"https:\u002F\u002Fedu.csdn.net\u002F","VUE_APP_COMMUNITY_API_URL":"https:\u002F\u002Fcommunity-api.csdn.net\u002F","VUE_APP_CCLOUD_API_URL":"https:\u002F\u002Fbizapi.csdn.net\u002Fcommunity-cloud\u002Fv1\u002F","VUE_APP_SKILL_API_URL":"https:\u002F\u002Fbizapi.csdn.net\u002Fskilltree\u002Fapi\u002F","VUE_APP_SEARCH_PLUGIN_API_URL":"https:\u002F\u002Fbizapi.csdn.net\u002Fsearchplugin\u002F","VUE_APP_COMMUNITY_ASK_API_URL":"https:\u002F\u002Fmp-ask.csdn.net\u002F","VUE_APP_ME_URL":"https:\u002F\u002Fme.csdn.net\u002F","VUE_APP_CCLOUD_RESUME":"https:\u002F\u002Fbizapi.csdn.net\u002Fjob-api\u002F","VUE_APP_CCLOUD_MAIN":"https:\u002F\u002Fwww.csdn.net\u002F","VUE_APP_CCLOUD_UC":"https:\u002F\u002Fwww.csdn.net\u002F","VUE_APP_CCLOUD_BZP_API_URL":"https:\u002F\u002Fbizapi.csdn.net\u002F","VUE_APP_CCLOUD_START_API_URL":"https:\u002F\u002Fmp-action.csdn.net\u002F","VUE_APP_PRACTIVE":"https:\u002F\u002Fbizapi.csdn.net\u002Fdaily-practice\u002F","VUE_APP_CCLOUD_HOSTPATH":"https:\u002F\u002Fbbs.csdn.net\u002F"},"queries":{"pageId":[],"domain":["ccloud.csdn.net\u002Fccloud\u002Fdetail1"],"id":["80160221"],"deviceType":"pc","isSpider":"","hostname":["bbs.csdn.net"]},"basePath":"bbs.csdn.net\u002Fccloud\u002Ftopics\u002F80160221","hrefUrl":"https:\u002F\u002Fbbs.csdn.net\u002Ftopics\u002F80160221","active":0,"navBarFixed":false,"title":"急问一个小问题:请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???","isLive":false,"contentType":{"text":"text","picture":"picture","link":"link","video":"video","vote":"vote","live":"live","blog":"blog","long_text":"long_text","task_text":"task_text"},"liveUrl":"https:\u002F\u002Flive.csdn.net\u002Froom\u002Fiframe\u002F","spmExtra":{"id":227,"topicId":80160221},"keywords":"","description":"以下内容是CSDN社区关于急问一个小问题:请问如何在Form1 的 button1_click事件中使Form2 中的 Timer1 的 Enable 属性改变啊???相关内容,如果想了解更多关于C#社区其他内容,请访问CSDN社区。","mounted":false,"infoNoticeData":{"src":"","href":"","spm":"","delay":5},"showDialogInfoNotice":false};</script><script type="text/javascript" src="https://csdnimg.cn/release/cmsfe/public/js/runtime.1f189195.js"></script><script type="text/javascript" src="https://csdnimg.cn/release/cmsfe/public/js/chunk/common.eb0d0573.js"></script><script type="text/javascript" src="https://csdnimg.cn/release/cmsfe/public/js/chunk/tpl/ccloud-detail/index.72f5d410.js"></script></body> <!----> <script> window.csdn.sideToolbar = { options: { qr: { isShow: true, data: [ { imgSrc: 'https://csdnimg.cn/release/cmsfe/public/img/ewm.9010d6e5.png', desc: "关注公众号" }, ] }, help: { isShow: false, }, contentEl: document.getElementsByClassName("cloud-maintainer")[0] }, }; </script> <script src="https://g.csdnimg.cn/side-toolbar/2.9/side-toolbar.js" ></script> <!----> <!----> <!----> <script src="https://csdnimg.cn/release/blog_editor_html/release1.7.5/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> <script src="https://g.csdnimg.cn/lib/editor-page-detail/v2.2.0/js/runDetail.min.js"></script> <!----> <!----> <!----> <!----> <!----> <!----> <script src="https://g.csdnimg.cn/collection-box/2.1.0/collection-box.js"></script> <!----> <!----> <!----> <!----> <script src="https://g.csdnimg.cn/common/csdn-cert/csdn-cert.js"></script> <!----></html>