作成日: 2014/12/01 最終更新日: 2014/12/01
文書種別
制限事項
発生環境
Internet Explorer 11 Internet Explorer 10 Internet Explorer 9
詳細
GridViewにてグリッドのサイズ変更時にdoRefreshを行なった場合、ItemTemplateに配置されたTextBoxの境界線スタイル(BorderStyle)が引き継がれません。
この動作はInternet Explorerの仕様であり、本製品の制限となります。
◎サンプルコード (aspx)
この動作はInternet Explorerの仕様であり、本製品の制限となります。
◎サンプルコード (aspx)
<asp:TextBox … BorderStyle="None"/>
◎サンプルコード (JavaScript)$("#C1GridView1").c1gridview("doRefresh");
回避方法
[回避方法1]
グリッドのサイズ変更時にdoRefreshではなくsetSizeを使用します。
◎サンプルコード (JavaScript)
[回避方法2]
CSSにてスタイルを指定します。
◎サンプルコード (aspx)
グリッドのサイズ変更時にdoRefreshではなくsetSizeを使用します。
◎サンプルコード (JavaScript)
$("#C1GridView1").c1gridview("setSize");
[回避方法2]
CSSにてスタイルを指定します。
◎サンプルコード (aspx)
<ItemTemplate>
<asp:TextBox … CssClass="myinput" />
</ItemTemplate>
◎サンプルコード (css)<asp:TextBox … CssClass="myinput" />
</ItemTemplate>
<style type="text/css">
.myinput {
border-style: none;
background-color: transparent;
}
</style>
.myinput {
border-style: none;
background-color: transparent;
}
</style>
旧文書番号
81081