fill AspxPopupControl with aspxGridView
Im using aspxPopupControl with AspxGridView in it. 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? I would assume that it is just what you need.
Also, see the online documentation of the ASPxGridLookup
control.
Gruber,
Try the approach mentioned in this issue 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.
精彩评论