Ext.Net 1.x_Ext.Net.Combox选择触发事件
2012-05-24 08:34
435 查看
事件: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的代码触发事件,函数
- Ext.Net 1.x_Ext.Net.综合布局案列-易飞综合信息查询分析-选择行事件(多值)
- Ext.Net 1.x_Ext.Net.综合布局案列-易飞综合信息查询分析-选择行事件(多值)
- ext.net gridpanel 事件
- 客户端触发Asp.net中服务端控件事件
- Asp.net中服务端控件事件是如何触发的(笔记)
- (copy)Asp.net中服务端控件事件是如何触发的
- ABAP--如何使选择屏幕的初始化事件再次触发
- Asp.net中服务端控件事件是如何触发的
- Ext.data.Store load 后触发事件
- ASP.NET页面回车键触发Button按钮事件问题
- 在asp.net中,如何回车触发指定按钮的事件?
- js:单选框选择触发事件
- [Ext.Net]GridPanel行选择右键菜单
- asp.net的TextBox回车触发指定的按钮事件