标签: asp.net
我有dropdownlist页面加载提供的一些数据,并调用服务器端函数。在dropdownlist selectedindexchanged事件中,我需要调用以获取不带autopostback的所选索引的值。仅当autopostback设置为true时才有效。
dropdownlist
selectedindexchanged
autopostback
答案 0 :(得分:1)
没有autopost,你不能调用selectedindexchanged事件。如果您不想刷新页面,可以使用UpdatePanel,也可以使用Ajax调用。