Ext.Net 1.x_Ext.Net.Combox选择触发事件
2012-05-24 08:34
337 查看
事件:ChangeCurrency
cs代码:
<DirectEvents> <Select OnEvent="ChangeCurrency"></Select> </DirectEvents>
cs代码:
protected void ChangeCurrency(object sender, DirectEventArgs e) { if (this.cbxCurrency.SelectedItem.Value.Trim() == "RMB") { this.txtRate.Text = "1.000000"; } else { ZMQuotation zmq = new ZMQuotation(); zmq.Currency=this.cbxCurrency.SelectedItem.Value.Trim(); ZMQuotationManager zmqm=new ZMQuotationManager (); this.txtRate.Text =zmqm .GetRate(zmq); } }
相关文章推荐
- Ext.Net 1.x_Ext.Net.Combox选择触发事件
- Ext.Net 1.x_Ext.Net.Combox动态加载与删除所选择项
- [EXTNET]GridPanel行选择事件
- Ext.Net 1.x_Ext.Net.Combox动态加载与删除所选择项
- [EXTNET]GridPanel行选择事件
- Ext.Net 1.x_Ext.Net.综合布局案列-易飞综合信息查询分析-选择行事件(多值)
- Ext.Net 1.x_Ext.Net.综合布局案列-易飞综合信息查询分析-选择行事件(多值)
- EXT.NET的代码触发事件,函数
- js触发asp.net的Button的Onclick事件
- EXT中键盘触发事件的处理
- select重复选择同一项,还可以触发onchange事件
- [转]asp.net 页面回车触发button按钮事件
- Ext.Net 使用总结之GridPanel的删除事件
- BootStrap中关于Select下拉框选择触发事件及扩展
- [Phonegap+Sencha Touch] 移动开发26 Android下的sencha touch程序,转屏时,Ext.Viewport不能触发orientationchange事件的解决的方法
- Asp.net gridview中asp:CheckBox触发事件全选
- Asp.net中服务端控件事件是如何触发的
- 【BootStrap】关于Select下拉框选择触发事件以及扩展
- 【转】ASP.NET之 关于触发Global.asax Session_End事件的经验
- [习题]如何触发 GridView 身体里面的「子控件」的事件 (ASP.NET案例精编 / 清华大学出版社 Ch.10/11两章的补充)