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

RadCombobox inside RadWindow opens beyond the height of the RadWindow

2 Answers 113 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 15 Aug 2014, 08:54 PM
Here is the scenario:

I have a RadWindow that opens a different ASPX page (so not using a Content Template)

On this ASPX pages that is opened in the RadWindow, I have a RadCombobox with a lot of items.

The RadWindow is AutoSized to the contents - of something like 600x400px.

When you open the RadCombobox, which is positioned near the bottom of the RadWindow, the dropdown opens down, and you can only see a couple of options - it appears that the Dropdown is actually going quite a distance down the popup page, which now has scrollbars - just while this dropdown is open.  using the Scrollbars closes the dropdown and then the scrollbars disappear.  Using Chrome if that matters.

Is there a way to force the RadCombobox in this scenario to stay within the Radwindow?  I have tried EnableScreenBoundaryDetection and ExpandDirection="Up" - but can't get anything to work.

What am I doing wrong?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Aug 2014, 07:05 AM
Hi Dan,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

ASPX:
<telerik:RadWindow ID="UserListDialog" runat="server" Title="Manage actions" AutoSize="true" />

C#:
protected void Page_Load(object sender, EventArgs e)
{
    UserListDialog.NavigateUrl = "combobox.aspx?";
    UserListDialog.VisibleOnPageLoad = true;
}

combobox.aspx:
<br />
<br />
<br />
<telerik:RadComboBox ID="RadComboBox1" runat="server">
    <Items>
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item1" />
    </Items>
</telerik:RadComboBox>

Please have a look into the attached screen shot also.
Let me know if you have any concern.
Thanks,
Shinu.
0
Dan
Top achievements
Rank 1
answered on 19 Aug 2014, 09:36 PM
Happens to me every time...  attached screenshot example.

I will have try and get an isolated code example soon
Tags
Window
Asked by
Dan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dan
Top achievements
Rank 1
Share this question
or