in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

Web GridView Resize Height on page resize

Last post 7/9/2009 2:11 PM by Mike Samteladze. 3 replies.
Sort Posts: Previous Next
  • 7/8/2009 4:11 PM

    Web GridView Resize Height on page resize

     Hi, I would need torefresh the grid size on every page resize and I am looking for the best practice to do it.... If it is possible to do it on client side it would be great. Thank you for your time.

  • 7/9/2009 3:55 AM In reply to

    Re: Web GridView Resize Height on page resize

    <script type="text/javascript">
            window.onresize = DoSomething;

            function DoSomething() {
               
            }
        </script>

    Do anything you want in "DoSomething" event PerformCallBack and resize your Grid.

    Don't forget to "mark as answer" if helped Big Smile Big Smile Big Smile
  • 7/9/2009 9:13 AM In reply to

    Re: Web GridView Resize Height on page resize

    So this means we  cannot dot it on client side alone? From what I understand we are forced to do a callback if we need to adjust the scroll-height property of the gridView. 

  • 7/9/2009 2:11 PM In reply to

    Re: Web GridView Resize Height on page resize

    http://devexpress.com/Help/?document=ASPxGridView

    open "Reference" section and then "DevExpress.Web.ASPxGridView.Scripts" and there  u can find everithing what is possible to do with grid

    on client side only

    Don't forget to "mark as answer" if helped Big Smile Big Smile Big Smile
Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED