diff --git a/knowledge-base/combobox-visual-states.md b/knowledge-base/combobox-visual-states.md index 39490b29..01b4bbe6 100644 --- a/knowledge-base/combobox-visual-states.md +++ b/knowledge-base/combobox-visual-states.md @@ -3,6 +3,7 @@ title: Setting the Visual States of the ComboBox page_title: Configure the Visual States of the ComboBox Component - .NET MAUI Knowledge Base description: Learn how to define the visual states of the Telerik UI for .NET MAUI ComboBox control. type: how-to +slug: combobox-visual-states-kb tags: maui, combobox, visual states, .net maui combobox, focused, normal, disabled, hover, mouse over res_type: kb --- diff --git a/knowledge-base/displaying-radbusyindicator-over-ai-prompt-control-popup.md b/knowledge-base/displaying-radbusyindicator-over-ai-prompt-control-popup.md new file mode 100644 index 00000000..9f97cf72 --- /dev/null +++ b/knowledge-base/displaying-radbusyindicator-over-ai-prompt-control-popup.md @@ -0,0 +1,222 @@ +--- +title: Displaying BusyIndicator In AIPrompt Control Popup +description: Learn how to ensure BusyIndicator displays correctly over the AIPrompt Control popup in a UI for .NET MAUI application. +type: how-to +page_title: Adding Custom BusyIndicator In AI Prompt Popup +meta_title: Adding Custom BusyIndicator In AI Prompt Popup +slug: displaying-busyindicator-over-ai-prompt-control-popup +tags: busyindicator, ai prompt, popup, threading, controltemplate, ui-for-net-maui +res_type: kb +ticketid: 1697962 +--- + +## Environment + +| Version | Product | +| --- | --- | +| 11.1.0 | BusyIndicator for .NET MAUI | +| 11.1.0 | AIPrompt for .NET MAUI | + +## Description + +When using the [`RadBusyIndicator`](https://docs.telerik.com/devtools/maui/controls/busyindicator/overview) in a UI for .NET MAUI application, it may fail to display over the AIPrompt Control popup. The issue occurs because the AIPrompt Control's popup has a higher Z-index, which causes the BusyIndicator to appear behind the popup. + +This knowledge base article also answers the following questions: +- How to display BusyIndicator inside AIPrompt Control popup? +- Why does BusyIndicator appear behind AIPrompt Control popup? +- How to fix Z-index issues with BusyIndicator and AIPrompt popup? + +## Solution + +To ensure the `RadBusyIndicator` displays correctly over the AIPrompt Control popup, customize the `ControlTemplate` of the AIPrompt Control and embed the BusyIndicator directly within the popup's layout. + +### Steps to Resolve + +1. Copy the `ControlTemplate` of the AIPrompt Control (see below). +2. Insert the BusyIndicator into the visual tree of the AIPrompt Control's popup area. +3. Update the `ControlTemplate` in your project. + +### Example Code + +Below is an adjusted `MainPage.xaml` that ensures the BusyIndicator is part of the AIPrompt Control's popup: + +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +