Resize radWindow on Tabstrip contents

4 posts, 0 answers
  1. Steven Amani
    Steven Amani avatar
    10 posts
    Member since:
    Jul 2009

    Posted 16 Mar 2010 Link to this post

    I have a page that is opened in a RadWindow. The page contains a TabStrip with 6 tabs. Each tab contains contents of different heights. Is there a way to resize the RadWindow  when clicking between the tabs so that it matches the contents in the tab pages?
  2. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 17 Mar 2010 Link to this post

    Hello Steven Amani,

    I've attached a simple project which demonstrates how you can achieve this using the Client-Side API of RadTabStrip and RadWindow. Please download it and give it a try.

    Greetings,
    Yana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Steven Amani
    Steven Amani avatar
    10 posts
    Member since:
    Jul 2009

    Posted 18 Mar 2010 Link to this post

    That works great thanks! However, it also requires that every pageview has a specified height otherwise the 

    pageView.clientHeight always return 0. Is there any way around this?

  4. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 19 Mar 2010 Link to this post

    Hello Steven Amani,

    I've tested it and pageView.clientHeight returns the height even if Height property is not set. Please check the attached modified project.

    All the best,
    Yana
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top