由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - Panel能彻底Invisible吗?
相关主题
table and div选择哪种 application form (转载)
asp.net Ajax timer to update panel only but refresh whole page why? Thank you!怎么样才能让control随window的大小变化而变化?
请教:Asp.net如何给jq class 赋值怎样用c#.net生成一个动态表格?
How to check a linked table?ASP help
anyone playing around 508 compliant请问可能对C# dataSet作query吗?
IE developer toolbarSSIS --- SQL Server 2005
[合集] IE developer toolbar请教一个visual studio 2005下的SQL server问题
如何让Razor view engine可以渲染htm/html文件asp.net membership /existing database
相关话题的讨论汇总
话题: panel话题: table话题: label话题: invisible话题: cell1
进入DotNet版参与讨论
1 (共1页)
or or or or
m**i
发帖数: 650
1
设置了panel的property "visiable" = false. 但是panel占的那块空间
还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
下面的那个label自动上移,好象panel根本不存在的样子。
大虾指教,多谢!
d*r
发帖数: 238
2
another solution.
draw to panels, one with a panel and label, another one with label only.
put both of the panels into a container and set one as dock=center, visible =
true,
and another one as dock = none, visiable = false. then switch the dock and vis
ible
of the two panels

【在 m**i 的大作中提到】
: 设置了panel的property "visiable" = false. 但是panel占的那块空间
: 还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
: 下面的那个label自动上移,好象panel根本不存在的样子。
: 大虾指教,多谢!

n*********g
发帖数: 75
3
如果是web的话, label会自动上移

【在 m**i 的大作中提到】
: 设置了panel的property "visiable" = false. 但是panel占的那块空间
: 还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
: 下面的那个label自动上移,好象panel根本不存在的样子。
: 大虾指教,多谢!

m**i
发帖数: 650
4
抱歉,还有一点前提条件偶没有说清楚。所有这些Panel,label是在
一个大Table的一个cell中。
如图:
__________________________________________________________
| cell1 |
|_________________________________________________________|
| | |
| | (Cell3) |
| | Panel |
| Cell2 | |
| |

【在 d*r 的大作中提到】
: another solution.
: draw to panels, one with a panel and label, another one with label only.
: put both of the panels into a container and set one as dock=center, visible =
: true,
: and another one as dock = none, visiable = false. then switch the dock and vis
: ible
: of the two panels

m**i
发帖数: 650
5
多谢,是Web form的。但如果这些panel,label是在一个大Table中。
实际上属于tabel的一个Cell,怎么办呢?
thanks!

【在 n*********g 的大作中提到】
: 如果是web的话, label会自动上移
n*********g
发帖数: 75
6
put panel out of the
, it works fine with me.

【在 m**i 的大作中提到】
: 多谢,是Web form的。但如果这些panel,label是在一个大Table中。
: 实际上属于tabel的一个Cell,怎么办呢?
: thanks!

m**i
发帖数: 650
7
不就是table的设定吗?
Panel放在外面,就违反了Panel是Table cell的前提
条件了吧?
或者我理解的问题,请再解释。
多谢!
还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
多谢!

【在 n*********g 的大作中提到】
: put panel out of the
, it works fine with me.
n*********g
发帖数: 75
8
just tested, put Panel inside
works too.

【在 m**i 的大作中提到】
:
不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
s***d
发帖数: 14
9
can be put outside of tr, td, and you can also hide tr, td directly with
out using
or .
you may need check your machine.config or web.config for since Mac
may interpret it as which will give your some headaches.
running them as server control will not just 'hide' them, but instead not even
send back to client's browser.

【在 m**i 的大作中提到】
: or
不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
1 (共1页)
进入DotNet版参与讨论
相关主题
asp.net membership /existing databaseanyone playing around 508 compliant
Package / Insert Designer or Designer AssistantIE developer toolbar
Java Swing -- autohide panel widgets?[合集] IE developer toolbar
今年交的nsf career有出来结果的么?如何让Razor view engine可以渲染htm/html文件
table and div选择哪种 application form (转载)
asp.net Ajax timer to update panel only but refresh whole page why? Thank you!怎么样才能让control随window的大小变化而变化?
请教:Asp.net如何给jq class 赋值怎样用c#.net生成一个动态表格?
How to check a linked table?ASP help
相关话题的讨论汇总
话题: panel话题: table话题: label话题: invisible话题: cell1