How to Set 100% Height and Random Styles to a RadAjaxManager Update Panel

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

    Posted 23 Jul 2008 Link to this post


    RadControls version

    RadControls for ASP.NET AJAX 2008.1.415+
    .NET version all
    Visual Studio version

    programming language

    C#, VB
    browser support

    all browsers supported by RadControls


    The current CSS specification requires that a web page element with height set in percent must have a parent element with set height (either in percent or in pixels). This creates problems for example when a control with a set height of 100% is ajaxified. In this case the control is surrounded by an update panel with no height, which breaks the expected layout.

    The attached sample project demonstrates how to programmatically find out the ClientIDs of update panels created by RadAjaxManager, so that one can apply styles (mostly height) to these panels.

    Pages in C# and Visual Basic included.
  2. Dimo
    Dimo avatar
    8486 posts

    Posted 20 Jan 2009 Link to this post


    Here is an updated version of the above example, which demonstrates how to do the same thing in a MasterPage + RadAjaxManagerProxy scenario.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top

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