包含GridView的大小模态弹出窗口(面板) [英] Size Modal Popup Window (Panel) Containing a GridView

查看:58
本文介绍了包含GridView的大小模态弹出窗口(面板)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要控制包含gridview的ModalPopup Panel的大小?弹出窗口(Panel)随gridview中的记录数增长,最终覆盖整个窗口。当发生这种情况时,我看不到网格视图下方的确定按钮。



我试图设置面板的高度和宽度 gridview无济于事。另外,我想在gridview中使用滚动条,当它的大小大于面板的大小时。



感谢帮助。谢谢。

解决方案

将网格视图设置为固定宽度的面板

 <   asp.panel     width   =  300px   滚动条  = 垂直  >  <   / asp.panel   >  


I need to control the size of my ModalPopup Panel which contains a gridview? The popup (Panel) grows with the number of records in the gridview and eventually covers the entire window. When that happens I can't see the "OK" button just under the gridview.

I tried to set the Height and Width of the panel and the gridview to no avail. In addition, I want to have the scroll bars in the gridview when its size is greater that that of the panel.

Appreciate the help. Thanks.

解决方案

Put your grid view some fixed width panel

<asp.panel width="300px" scrollbar="Vertical"></asp.panel>


这篇关于包含GridView的大小模态弹出窗口(面板)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆