Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use following javascript code

JavaScript
var leftCol = window.document.getElementById('leftcol');
var hleftCol = leftCol.offsetHeight;


leftCol is id of a div. I use CollapsiblePanelExtender in the div. I am not getting the same result from the above code. some time hleftCol is expanded height and sometime it is collapsed height although the state of CollapsiblePanelExtender remain same.

could you please help me so that i can get uniform result for each refresh of page.

UPDATE:

OP resolved the issue by himself.
Posted
Updated 20-Mar-11 6:22am
v4
Comments
Sergey Alexandrovich Kryukov 20-Mar-11 21:36pm    
OP Commented.

I Have got the solution. Thanks
Sergey Alexandrovich Kryukov 20-Mar-11 21:36pm    
Share it!
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900