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

Screen Boundary Detection Problem

2 Answers 206 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
bill
Top achievements
Rank 1
bill asked on 10 Jul 2008, 12:46 AM
The EnableScreenBoundaryDetection is not working as expected.

It does seem to detect the boundary and expand to it, but if the screen is scrolled down it still expands to the page boundary, which is not visible, and therefore the top of the drop down list is not visible either.

Bottom line - if my vertical scroll bar on IE is all the way to the top then it works, if it is scrolled down then it doesn't.

I am using IE 7.

How can I keep it within the visible screen?

I have some screen shots but it doesn't look like I can include them here.

Here are the RadComboBox settings:

<telerik:RadComboBox ID="stateListCb" runat="server" AutoPostBack="true" DataTextField="StateProvinceAbbrev"

DataValueField="StateProvinceAbbrev" Skin="Hay" NoWrap="true" Width="225px" ZIndex="100000"

MarkFirstMatch="True" TabIndex="14" EnableScreenBoundaryDetection="true">

</telerik:RadComboBox>

2 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 11 Jul 2008, 02:39 PM
Hello Bill,

In this case I suggest you set the Height property of RadComboBox for an example to "200px" and let us known how this goes. Also you can turn off the EnableScreenBoundaryDetection property. Then the whole drop down area will be always displayed in down direction and will be visible.


Regards, Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
bill
Top achievements
Rank 1
answered on 11 Jul 2008, 06:50 PM
The height property does work.

I was hoping to maximize the visible screen space. However, by setting the height to one-half of my  target screen height (600/2 = 300px) it seems to do a pretty good job of displaying above when it is on the bottom half of the screen and displaying down when it is on the top half of the screen.

Thanks.
Tags
ComboBox
Asked by
bill
Top achievements
Rank 1
Answers by
Rosi
Telerik team
bill
Top achievements
Rank 1
Share this question
or