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

[Solved] Resizing div tag when dropdown opens

2 Answers 137 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Paul Corbett
Top achievements
Rank 1
Paul Corbett asked on 08 Feb 2008, 02:15 PM
Another newbie question,

I am new to javascript and all, and forgive me if this is not the appropriate forum for this.

I have a radComboBox inside a div tag. I will like the div tag to be resized by the offset of the dropdown height. Then when the dropdown closes I like to restore the tag to its original height.

Thank you

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 11 Feb 2008, 02:23 PM
Hello Chris Lekkas,

Unfortunately, this is not possible as the drop-down area is actually another element and its height cannot be calculated by the time of opening.

Sincerely yours,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Paul Corbett
Top achievements
Rank 1
answered on 11 Feb 2008, 02:31 PM
Thank you for your help.

Could u possibly tell me atleast how to set the width to fixed height and NOT on the width of the combo box and how to execute that upon open and close of the combobox?
Tags
ComboBox
Asked by
Paul Corbett
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Paul Corbett
Top achievements
Rank 1
Share this question
or