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

Boundary Detection for RadComboBox

7 Answers 171 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Michael Lockitch
Top achievements
Rank 1
Michael Lockitch asked on 05 May 2008, 01:33 PM
Hi,

I have a problem with the boundary detection of a RadComboBox used on my screen. It is placed on the extreme right of my screen. So whenever the dropdown opens(where DropDownWidth = 200px, and the Width = 120px with EnableScreenBoundaryDetection set as true), rather than shifting to the left, it introduces a horizontal scroll in my page to accomodate the opened dropdown which opens to the right. And when closed, the page returns to normal with no horizontal scroll.

I did search your forums too but could not find any exact solution for the above. I am working with a licensed Telerik RadComboBox version 2.8.5.0. Let me know if you can guide me in the above query. Also, let me know if you require a snapshot of this problem.

Regards,
Ankush

7 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 05 May 2008, 02:23 PM
Hi Michael Lockitch,

Could you please send us the exact steps to reproduce the problem locally?. Also, can you paste here your combobox declaration? Even better, if you can reproduce the problem with some of our online examples, you can only point the example and the steps to reproduce.

Thanks for your cooperation.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael Lockitch
Top achievements
Rank 1
answered on 07 May 2008, 06:18 AM

Hi,
     I have a project in .NET 2.0 ready which replicates the problem. Let me know if i can send it to you on some email id. For your reference, I'm using the following declaration for my combobox:

<radC:RadComboBox DropDownWidth="150px" EnableScreenBoundaryDetection="true" Width="120px" DataTextField="Text" DataValueField="value" ID="rdCmbEPS" runat="server" HighlightTemplatedItems="True"ExpandEffect="Fade">
<Items>
<radC:RadComboBoxItem Text="Select Operative EPS Scenario" Value="0" />
<radC:RadComboBoxItem Text="Wall Street Scenarios" Value="1" />
<radC:RadComboBoxItem Text="Trend/Surprise Adjusted" Value="2" />
<radC:RadComboBoxItem Text="Median (Default)" Value="3" Selected="true" />
</Items>
</radC:RadComboBox>

Place this combo to the extreme right in your screen and then open the dropdown. The problem can be viewed best in 1024 x 768 resolution.

Ankush

0
Accepted
Nikolay
Telerik team
answered on 07 May 2008, 10:21 AM
Hi Michael Lockitch,

Thanks for the provided code.

Actually, the screen boundaries detection woks only for the "up" and "bottom" boundaries. The mechanism does not support right/left boundaries. You could use the OffSetX and OffSetY properties of the combobox object to offset the dropdown area as per your needs.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Anatoly
Top achievements
Rank 1
answered on 18 Jun 2008, 08:22 AM
How can I define OffSetX value if I set Width value in percents and I need bind dropdown to right boundary?
0
Rosi
Telerik team
answered on 18 Jun 2008, 12:00 PM
Hi Anatoliy,

The OffSetX property supports only values set in pixels. For example if you set OffsetX = "10" this will offset RadComboBox with 10 pixels no matter what its width is.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steve Williams
Top achievements
Rank 1
answered on 28 Jun 2010, 03:19 PM
When will the documentation be updated to state that "crossing screen boundaries" really means only in the up and down direction?

Also, when will you update the documentation to show a working example of a work-around using the Offset properties?

When will this be fixed?
0
Simon
Telerik team
answered on 02 Jul 2010, 05:46 PM
Hello Steve Williams,

We recently fixed the issue with the horizontal screen boundary detection, so now it works on the right as well (the left case is invalid).

In any case we will consider updating our documentation to note this improvement and that older versions suffer from the bug.

Regards,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Michael Lockitch
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Michael Lockitch
Top achievements
Rank 1
Anatoly
Top achievements
Rank 1
Rosi
Telerik team
Steve Williams
Top achievements
Rank 1
Simon
Telerik team
Share this question
or