繁体   English   中英

用aspxGridView填充AspxPopupControl

[英]fill AspxPopupControl with aspxGridView

我在其中使用带有AspxGridView的aspxPopupControl。 当我尝试调整弹出窗口的大小时,是否可以设置控件来填充所有弹出窗口的原因,当我增加弹出窗口的宽度时,顶部和底部有很多可用空间。 感谢帮助

您是否看过新的ASPxGridLookup控件? 我认为这正是您所需要的。

另外,请参见ASPxGridLookup控件联机文档

格鲁伯

请尝试在本期Q253230中提到的方法:

<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" Height="100%" Width="100%" ClientInstanceName="HtmlEditorBody" ResizingMode="Postponed"></dx:ASPxHtmlEditor>

<dx:ASPxPopupControl ...>
    <ClientSideEvents 
        AfterResizing="function(s, e) {
            HtmlEditorBody.SetHeight(s.GetHeight() - 25); HtmlEditorBody.SetWidth(s.GetWidth() - 25);
        }"
        BeforeResizing="function(s, e) {
            HtmlEditorBody.SetHeight(MIN_SIZE);
            HtmlEditorBody.SetWidth(MIN_SIZE); 
        }"
/>

虽然该代码是针对ASPxHtmlEditor的,但是您可以将其改编为ASPxGridView。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM