height by expression

2 posts, 1 answers
  1. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 11 Oct 2009 Link to this post

    Hi, everybody!

    I have a problem with radSplitter. I already have 100% of width, wich is in 100% of browser, And i need top place for logo and bottom for logo. When I use percentage there will be another setting for different resolutions.

    I need set Height="100% - 100px" something like that..

    Any ideas? Thanks a lot!
  2. Answer
    Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 14 Oct 2009 Link to this post

    Hello Jan,

    As far as I understand, you mean that your splitter is 100% high and you want to have also a top and bottom logos. If so, you can use one of the following approaches:

    1) Set explicit pixel height only for the logos and then set the HeightOffset property of the splitter to the sum height of the logos - this will force the splitter to automatically calculate its size to be always 100% of the remaining space on the page except for the logos, no matter of the resolution.

    2) You can use two additional RadPanes - one on top and one on bottom to put there the logos (you can use nested splitters for example if needed).

    I hope that my suggestions are helpful, in case you need further assistance, please share some relevant code with detailed explanations and I will help you achieve the desired result.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top