为什么我在page_Load里面动态添加dropdownlist并且进行selectedindexchanged事件委托没有问题,但是把这段代码放到button事件里面selectedindexchanged事件委托有问题。
dropdownlist的autopostback=true,selectedindexchanged的作用是一个textbox跟随dropdownlist选择的数据变化。
出现的问题是:
我第一点button没有反应,第二次点button页面将会直接提交
dropdownlist的autopostback=true,selectedindexchanged的作用是一个textbox跟随dropdownlist选择的数据变化。
出现的问题是:
我第一点button没有反应,第二次点button页面将会直接提交
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货