FineUI 官方论坛
标题:
3.1.4问题下拉列表出错改3.1.3就没事了
[打印本页]
作者:
thb
时间:
2012-4-30 09:47
标题:
3.1.4问题下拉列表出错改3.1.3就没事了
[attach]377[/attach]更改下条件再点查询就出错[attach]378[/attach]代码前台改3.1.3就没事了
<ext:Form BodyPadding="5px" ID="extForm1" EnableBackgroundColor="true" LabelWidth="100px"
runat="server" Title="条件区" ShowHeader="false">
<Rows>
<ext:FormRow ColumnWidths="60% 40%">
<Items>
<ext
ropDownList runat="server" ID="BUYCLASS" Label="物料大类" DataValueField="BUYCLASS"
DataTextField="CLASSNAME">
</ext
ropDownList>
</Items>
<Items>
<ext
ropDownList runat="server" ID="BUYGROUP" Label="采购组" DataValueField="BUYGROUP"
DataTextField="BUYGROUPNAME">
</ext
ropDownList>
</Items>
<Items>
<ext:Button runat="server" Text="查询计划" ID="QueryBtn" ValidateForms="extForm1">
</ext:Button>
</Items>
</ext:FormRow>
</Rows>
</ext:Form>
代码后台
private void BindGrid()
{
CurrentBidPlan.Clear();
CurrentBidPlan = ZB_B_PLAN.GetList("a.BUYGROUP='" + BUYGROUP.SelectedValue + "' and a.BUYCLASS='" + BUYCLASS.SelectedValue + "' and a.planid not in (" + SavePlanIds.Text + ")");
BidPlan.DataSource = CurrentBidPlan;
BidPlan.DataBind();
}
#endregion
protected void QueryBtn_Click(object sender, EventArgs e)
{
BindGrid();
// Alert.ShowInTop("表单 1 提交成功!");
}
作者:
support
时间:
2012-4-30 10:30
看前面的贴子。更新到v3.1.4.1
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4