RadCombobox inside RadWindow opens beyond the height of the RadWindow

3 posts, 0 answers
  1. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 15 Aug 2014 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Aug 2014 in reply to Dan Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dan
    Dan avatar
    124 posts
    Member since:
    Feb 2011

    Posted 19 Aug 2014 Link to this post

    Happens to me every time...  attached screenshot example.

    I will have try and get an isolated code example soon
Back to Top