[英]fill AspxPopupControl with aspxGridView
Im using aspxPopupControl with AspxGridView in it. 我在其中使用带有AspxGridView的aspxPopupControl。 Is it possible to set control to fill all popup cause now when I try to resize that popup there is a lot of free space at the top and bottom when I increase width od the popup. 当我尝试调整弹出窗口的大小时,是否可以设置控件来填充所有弹出窗口的原因,当我增加弹出窗口的宽度时,顶部和底部有很多可用空间。 Thanks for help 感谢帮助
Did you take a look at the new ASPxGridLookup control? 您是否看过新的ASPxGridLookup控件? I would assume that it is just what you need. 我认为这正是您所需要的。
Also, see the online documentation of the ASPxGridLookup
control . 另外,请参见ASPxGridLookup
控件的联机文档 。
Gruber, 格鲁伯
Try the approach mentioned in this issue Q253230 : 请尝试在本期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);
}"
/>
While that code is for the ASPxHtmlEditor, you can adapt it for the ASPxGridView. 虽然该代码是针对ASPxHtmlEditor的,但是您可以将其改编为ASPxGridView。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.