This is a migrated thread and some comments may be shown as answers.

height by expression

1 Answer 51 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 11 Oct 2009, 12:52 PM
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!

1 Answer, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 14 Oct 2009, 11:17 AM
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,
Svetlina
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.
Tags
Splitter
Asked by
Jan
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or