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
    1679 posts
    Member since:
    Oct 2004

    Posted 07 May 2009 Link to this post

    Requirements

    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

    C#

    Browser support

    all supported by RadGrid for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


    PROJECT DESCRIPTION
    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