Redian新闻
>
[转载] 问一个javascript 和 .NET 的问题
avatar
[转载] 问一个javascript 和 .NET 的问题# DotNet - 窗口里的风景
c*j
1
【 以下文字转载自 BuildingWeb 讨论区,原文如下 】
发信人: ckj (frustrated), 信区: BuildingWeb
标 题: 问一个javascript 和 .NET 的问题
发信站: Unknown Space - 未名空间 (Sun Apr 18 23:33:41 2004) WWW-POST
用VB.NET做了一 个web form,form 上有一个button, press button 时,会popup 出一
个 calendar 窗口。Calendar 是用 javascript 写的,平常是 not visible 的,press
button 时才被set 成 visible 的。问题时,此 calendar visible 时,部分被其他
control 遮住了。我已经把 calendar 的 Z-index 设的比其他control 多很多了。不知
道为什麽还是被挡住。 有那位大侠能帮帮忙指点一下吗?谢谢。
avatar
b*e
2
why not use the .NET calendar web control?

【在 c*j 的大作中提到】
: 【 以下文字转载自 BuildingWeb 讨论区,原文如下 】
: 发信人: ckj (frustrated), 信区: BuildingWeb
: 标 题: 问一个javascript 和 .NET 的问题
: 发信站: Unknown Space - 未名空间 (Sun Apr 18 23:33:41 2004) WWW-POST
: 用VB.NET做了一 个web form,form 上有一个button, press button 时,会popup 出一
: 个 calendar 窗口。Calendar 是用 javascript 写的,平常是 not visible 的,press
: button 时才被set 成 visible 的。问题时,此 calendar visible 时,部分被其他
: control 遮住了。我已经把 calendar 的 Z-index 设的比其他control 多很多了。不知
: 道为什麽还是被挡住。 有那位大侠能帮帮忙指点一下吗?谢谢。

avatar
c*j
3
谢谢你. 只是因为别的form 都是用的这个javascript calendar. 这样client
从calendar上select 日期时,就不用communicate with server 了. 我就是不明白为什么
会被挡住呢? 不甘心.

出一
的,press
不知

【在 b*e 的大作中提到】
: why not use the .NET calendar web control?
avatar
C*n
4
The problem happens only with Dropdown list box. As DropDownList box can not
be hidden behind any other controls, regardless its z-index.
There're a lot of solutions to this. You can search the google. A Pop up
windows should not only cover a dropdownlist box, but also can be extended
outside its parent window.





【在 c*j 的大作中提到】
: 谢谢你. 只是因为别的form 都是用的这个javascript calendar. 这样client
: 从calendar上select 日期时,就不用communicate with server 了. 我就是不明白为什么
: 会被挡住呢? 不甘心.
:
: 出一
: 的,press
: 不知

avatar
c*j
5
You are so right. It only happened with dropdown list. What I did was make the
blocking dropdown list invisible whenever the calender is visible. Not the
best solution but met my needs. Thanks.


时,会popup



【在 C****n 的大作中提到】
: The problem happens only with Dropdown list box. As DropDownList box can not
: be hidden behind any other controls, regardless its z-index.
: There're a lot of solutions to this. You can search the google. A Pop up
: windows should not only cover a dropdownlist box, but also can be extended
: outside its parent window.
:
: 么
: 他
: 。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。