AJAX and the splitter height

3 posts, 0 answers
  1. Michael Dunbar
    Michael Dunbar avatar
    129 posts
    Member since:
    Sep 2007

    Posted 10 Jul 2008 Link to this post

    I have a splitter set to 100% height. This has always worked fine across browsers. However, I recently added a bit of logic that automatically collapses a pane on certain criteria and therefore need to update the entire splitter via the AJAX manager to allow the pane to expand and collapse.

    The problem is that when updating the splitter via the AJAX manager an additional div is rendered at runtime called a splitter panel, or in my case ctl00_ctl00_rspSplitterPanel. This does not have a height value of 100% but becomes the parent of the splitter control so the splitter loses it's height 100% value in all browsers except IE. Obviously, you can fudge it and set this div to height 100% from CSS but then this negates the height offset value I have.

    So, basically you can't use AJAX to update a splitter with height 100% set in any browser but IE.

    Also ref: http://www.telerik.com/community/forums/thread/b311D-bemdhg.aspx - I was unaware Alan was also posting.

  2. alan
    alan avatar
    3 posts
    Member since:
    Jul 2008

    Posted 10 Jul 2008 Link to this post

    thanks Michael

  3. Dimo
    Dimo avatar
    8474 posts

    Posted 14 Jul 2008 Link to this post

    Hello Michael,

    I have replied in the other forum thread with a suggestion how to find out the AJAX Panel's client ID and set a height style.


    If this solution does not work for you, could you please explain why, by providing some sample code, so that we can reproduce your scenario locally and give advice. Thanks.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top