aspx页面大小动态 [英] aspx Page size dynamically

查看:101
本文介绍了aspx页面大小动态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,





我的网页应用程序包含其他aspx页面的母版页。我希望改变的大小取决于aspx以适应其所有控制。例如:



如果我在Master页面中调用Page1,所有元素都出现在副主页面框架中,但是当我调用Page2(包含多于Page1的控件)时控件驻留在主页框架外的页面按钮中!



如何解决这个问题!



谢谢大家

hi everybody,


i have web application contain master page with other aspx Pages. i want the size of the change depends on aspx to fits all its control. for example:

if i call Page1 inside Master page, all element appears in side master page frame, but when i call Page2 (that contains controls more than Page1) some controls reside in a button of the page out of master page frame!

how can i fix this problem !

thank you all

推荐答案

我建​​议您可以在css类中修改高度或使用内联样式修复高度并设置overflow-y:auto
I can suggest that you can fix a height in the css class or with inline styles and also set a overflow-y:auto


Set 自动用于尺寸属性,以便自动适合窗口。
Set Auto for Size properties, so that that will automatically fit to the window.


这篇关于aspx页面大小动态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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