开发者

fill AspxPopupControl with aspxGridView

开发者 https://www.devze.com 2023-02-09 04:20 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号