下拉列表出现在 asp.net 中我的日历前面

发布于 2024-10-08 15:05:09 字数 81 浏览 0 评论 0原文

下拉列表位于所有控件的前面。我有一个文本框的日历扩展器,位于下拉列表的正上方(顶部)。当压延机弹出时,它会进入下拉菜单的下方。有什么解决办法的朋友。

Drop Down list comes in front of all the controls. I have a calander extender for the text box which is right above(top) the drop down. when the calender pop's out it goes under i.e behind the drop down. Any solution friends.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沉鱼一梦 2024-10-15 15:05:09

发布一些代码/标记怎么样?

How about posting some code/markup?

向地狱狂奔 2024-10-15 15:05:09

它不会喜欢通过 google intellisense,但您需要将以下内容添加到您的 DropDownList 标记中:

<asp:TextBox runat="server" id="TextBox1" autocomplete="off" />

默认情况下,如果 asp.net 发现它无法识别的属性,那么它只是将其传递到生成的底层 html 中。

注意 1:此控件有某种自动完成设置,但这并不能完成您需要它执行的操作,您需要像我上面所述的小写版本。

注2:这是一个非标准属性。它适用于 FF 和 IE,但如果您通过 w3c 检查器运行它,则会导致验证失败。

It wont like it via the google intellisense but you need to add the following to your DropDownList markup:

<asp:TextBox runat="server" id="TextBox1" autocomplete="off" />

By default if asp.net finds an attribute that it doesnt recognise then it simply passes it through into the underlying html that is generated.

Note 1: There is some kind of AutoComplete setting for this control but this doesnt do what you need it to do, you need the lowercase version like I have stated above.

Note 2: This is a non-standard attribute. It works in FF and IE but it will cause your validation to fail if you run it through the w3c checker.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文