简体   繁体   中英

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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