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

get_Height() returns negative value with % height

2 Answers 61 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
town
Top achievements
Rank 1
town asked on 23 Aug 2007, 09:08 AM
I'm attempting to get the height of a splitter that is set to 100% using the get_Height() method in Javascript, but i just get -83 back as the height.

If i give the height a fixed figure then i can get that back, just not when the height is a percentage.

Is there something i'm doing wrong, or is it just not possible to get the height of the splitter if it's not specifically defined from the outset?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 23 Aug 2007, 10:49 AM
Hi town,
I created a simple project to test the get_Height method, but had no problems with it. It actually returns the Height of the RadSplitter object in PX. Can you please prepare and send us a simple running project, demonstrating this issue? 

Kind regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
town
Top achievements
Rank 1
answered on 23 Aug 2007, 03:58 PM
Hi,

Cheers for the reply.  I'll do my best to get a sample project together and try and replicate the issue, don't hold your breath though! :)

I worked around it by getting the size of the containing <td> tag and using that instead, which was okay.

Thanks!
Tags
Splitter
Asked by
town
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
town
Top achievements
Rank 1
Share this question
or