ajaxToolkit:窗格上的手风琴垂直滚动条
<ajaxToolkit:Accordion ID="acc" runat="server">
<Panes>
<ajaxToolkit:AccordionPane ID="pane1" runat="server">
<Header>
<span>Запрос</span>
</Header>
<Content>
<asp:Panel ID="controlGrid" runat="server" Height="170px">
并且每次都会使垂直滚动条存在,即使在内容面板之后有空白空间。
如何禁用垂直滚动条和“内容”部分内面板后的空白区域?
<ajaxToolkit:Accordion ID="acc" runat="server">
<Panes>
<ajaxToolkit:AccordionPane ID="pane1" runat="server">
<Header>
<span>Запрос</span>
</Header>
<Content>
<asp:Panel ID="controlGrid" runat="server" Height="170px">
and It every time makes Vertical scrollbar there even with empty space after Panel on Content.
How to disable vertical scrollbar and empty space after panel inside 'Content' section ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的面板似乎对于其内容来说不够高。给面板一个 css 类,
另外,确保你没有设置
asp:Panel 上的 属性为“None”以外的任何值。我在上面的代码中没有看到它,但也许它是在后面的代码中设置的。 “无”是默认值,因此如果未设置也没关系。
It seems like your panel isn't high enough for its contents. Give the panel a css class with
Also, make sure you aren't setting the
property on the asp:Panel to anything other than "None". I don't see it in your code above, but maybe it's set in the code behind. "None" is the default so if it isn't being set that is fine.
我尝试了 ContentCssClass="accordionContent" 但
它不起作用。
但这有帮助
……
I tried ContentCssClass="accordionContent" and
it did not work.
But this helps
...
...