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

RadAutoCompleteBox not displaying suggestions when used in modal

2 Answers 163 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
M
Top achievements
Rank 1
M asked on 05 Sep 2017, 04:16 PM

I'm evaluating the Telerik's Ajax UI controls, and I'm running into an issue with the RadAutoCompleteBox control. If I use this control outside a modal, then the suggestions get displayed. However, if I use this control inside a Bootstrap modal then the suggestions don't show up. 

Please see attached files. The ID for the modal in which I'm trying to use the Autocomplete box is: "panPN". The ID of the RadAutoCompleteBox that is working outside the modal is: "acRadBox"

Thanks,

Maria

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 06 Sep 2017, 04:43 PM
Hi Maria,

Most likely the z-index of the Bootstrap modal popup is higher than the one of RadAutoCompleteBox dropdown which by default is 7000. 

You can increase the z-index of the RadAutoCompleteBox dropdown to fix the issue via the following class:

 
.racSlide
{
    z-index: 123456 !important;
}

or decrease the z-index of the Bootstrap modal.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
M
Top achievements
Rank 1
answered on 06 Sep 2017, 04:48 PM
That worked. Thanks!
Tags
General Discussions
Asked by
M
Top achievements
Rank 1
Answers by
Rumen
Telerik team
M
Top achievements
Rank 1
Share this question
or