Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コンテンツが大きいときに水平方向に増加するグリッドビューがあります。誰でもこの問題を解決できます。グリッドビューにこのcssを適用したことに感謝します...
table#MainContent_grdAllQuestions { border-style:none; width:100%; margin-left:0px; }
プロパティで指定することで、itemtemplate を使用して各列の幅を指定することもできます。
style="table-layout:fixed;" Width="1000px"> also you can apply style to the gridview
グリッドの width プロパティを固定値で使用します。個々の列幅をパーセンテージまたは固定値で設定することもできます