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

AJAX and the splitter height

2 Answers 84 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Michael Dunbar
Top achievements
Rank 2
Michael Dunbar asked on 10 Jul 2008, 10:57 AM
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 Answers, 1 is accepted

Sort by
0
alan
Top achievements
Rank 1
answered on 10 Jul 2008, 11:09 AM
thanks Michael

^_-
0
Dimo
Telerik team
answered on 14 Jul 2008, 09:33 AM
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.

http://www.telerik.com/community/forums/thread/b311D-bemdhg.aspx


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.


Regards,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Michael Dunbar
Top achievements
Rank 2
Answers by
alan
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or