FineUI 官方论坛
标题:
DropDownList设置值后再提交报错
[打印本页]
作者:
redleaf
时间:
2012-3-27 09:14
标题:
DropDownList设置值后再提交报错
本帖最后由 redleaf 于 2012-3-27 09:23 编辑
v3.1.1 DropDownList设置值后再提交报错
[attach]152[/attach]
[attach]148[/attach]
[attach]149[/attach]
//查询Button
<ext:Button ID="btnQuery" runat="server" Icon="SystemSearch" EnablePostBack="false"
Text="查询">
</ext:Button>
//.cs
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
btnQuery.OnClientClick = Window2.GetShowReference("~/Tech/ApplyPurchase/ApplyPurchasePlanQuery_query.aspx?ID=0", "申购单进度查询");
}
}
//DropDownList设置
<ext
ropDownList ID="ddlDepart" Label="申请部门" runat="server" AutoPostBack="true"
OnSelectedIndexChanged="ddlDepart_SelectedIndexChanged">
</ext
ropDownList>
//.cs
base.BindDDLDepart(ddlDepart);
ddlDepart.SelectedValue = currentUser.CN_DEPT.ToString();
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4