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

    Posted 23 Jul 2008 Link to this post

    Requirements

    RadControls version

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

    all
    programming language

    C#, VB
    browser support

    all browsers supported by RadControls


     
    PROJECT DESCRIPTION

    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
    Admin
    Dimo avatar
    8333 posts

    Posted 20 Jan 2009 Link to this post

    Hello,

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

    Regards,
    Dimo
    the Telerik team

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