How to set RadGrid height client-side with Javascript

Thread is closed for posting
1 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 07 May 2009 Link to this post


    RadControls for ASP .NET AJAX version

    2008.1.415 and later

    .NET version

    2.0 and later

    Visual Studio version

    2005 and later

    Programming language


    Browser support

    all supported by RadGrid for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX

    The following code library example demonstrates several alternative ways to set height to a RadGrid with Javascript on the client. Depending on the RadGrid configuration and particular scenario, one may have to set height to the RadGrid outer div, or to the so-called GridDataDiv, which is the RadGrid scrollable content wrapper. When RadGrid is used with scrolling and static headers, and the new height is set to the control's outer div, then the repaint() method must be called.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.