using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; //自定义web服务器控件-下拉列表 namespace MyControls { [DefaultProperty("Tex…
现在界面上添加下拉列表的控件DropDownByKey 在context中创建新的node,和属性DP 返回界面,绑定DP到控件DropDownByKey的SelectedKey 初始方法中代码如下: *下拉菜单 DATA lo_nd_drop TYPE REF TO if_wd_context_node. DATA lo_el_drop TYPE REF TO if_wd_context_element. DATA ls_drop TYPE wd_this->Element_drop. dat…