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

Combo box scrolls to top of the page when used inside of an AJAX modal dialog box

1 Answer 37 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 22 Dec 2011, 02:31 PM
Hello,

I have tried to use the RADComboBox inside of an ASP.net AJAX modal dialog box.  After loading the control, scrolling to the top of the dialog box after selecting the RADComboBox pushes the list of items to the top of the page.  Is there a property or some code to disallow that?  I have attached a screen shot.

Thanks,
Tom

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 27 Dec 2011, 09:17 AM
Hello Thomas,

Try setting the EnableScreenBoundaryDetection property to 'true'.
Ex:
<telerik:RadComboBox ID="RadComboBox1" runat="server"
    EnableScreenBoundaryDetection="true">
    <Items>
        ...
    </Items>
</telerik:RadComboBox>
It will change the expand direction whenever a boundary is detected.

I hope this helps.

Greetings,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ComboBox
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or