即使绑定数据太长,在asp.net中也需要固定的gridview高度和宽度 [英] need a fixed height and width of gridview in asp.net even the binding data is too long
本文介绍了即使绑定数据太长,在asp.net中也需要固定的gridview高度和宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在asp.net页面中有一个gridview,在gridview中有10个页面.
而在gridview数据中单击第二页时过长,因此gridview会自动调整.
i am having a gridview in asp.net page with 10 page in gridview.
while click on 2nd page in gridview data is too long so gridview is automatically adjusting.
i need the gridview not to adjust itself.
推荐答案
您可以通过在Grid Row/Columns&中应用样式表来限制Grid视图的自动调整.网格本身.
You may restrict auto adjustment of Grid view by applying the Style-sheet on Grid Row/Columns & Grid Itself.
这篇关于即使绑定数据太长,在asp.net中也需要固定的gridview高度和宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文