FineUI 官方论坛
标题:
IE10下Grid 的PreRowDataBound绑定CheckBoxList
[打印本页]
作者:
Vian_Pan
时间:
2013-5-20 13:04
标题:
IE10下Grid 的PreRowDataBound绑定CheckBoxList
本帖最后由 Vian_Pan 于 2013-5-20 13:38 编辑
<wp:TemplateField Width="30px" HeaderText="">
<ItemTemplate>
<wp:CheckBoxList ID="cblID" Label="" runat="server" CssClass="hobby">
</wp:CheckBoxList>
</ItemTemplate>
</wp:TemplateField>
<wp:TemplateField Width="300px" HeaderText="操作" ExpandUnusedSpace="True" ColumnID="TemplateField1">
<ItemTemplate>
<wp:CheckBoxList ID="cblxx" Label="列表一" runat="server" CssClass="hobby">
</wp:CheckBoxList>
</ItemTemplate>
</wp:TemplateField>
复制代码
protected void Grid1_PreRowDataBound(object sender, FineUI.GridPreRowEventArgs e)
{
cblxx.DataTextField = "Name";
cblxx.DataValueField = "ID";
cblxx.DataSource = ds;
cblxx.DataBind();
CheckItem cki = new CheckItem();
cki.Text = "";
cki.Value = objSys_Mod.ID.ToString();
cblID.Items.Add(cki);
}
复制代码
IE10下,CheckBoxList 不会显示,版本,3.2.5.3
[attach]2334[/attach]
F12换成IE8兼容,是会出来的
[attach]2333[/attach]
是啥问题???
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4