From ca5eb503f780fdf35421ef3775bd9d2d646340d0 Mon Sep 17 00:00:00 2001 From: KB Bot Date: Fri, 26 Sep 2025 17:04:12 +0000 Subject: [PATCH 1/3] Added new kb article displaying-radbusyindicator-over-ai-prompt-control-popup --- ...yindicator-over-ai-prompt-control-popup.md | 233 ++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 knowledge-base/displaying-radbusyindicator-over-ai-prompt-control-popup.md 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..7e2eba66 --- /dev/null +++ b/knowledge-base/displaying-radbusyindicator-over-ai-prompt-control-popup.md @@ -0,0 +1,233 @@ +--- +title: Displaying RadBusyIndicator In AI Prompt Control Popup +description: Learn how to ensure RadBusyIndicator displays correctly over the AI Prompt Control popup in a UI for .NET MAUI application. +type: how-to +page_title: Adding Custom RadBusyIndicator In AI Prompt Popup +meta_title: Adding Custom RadBusyIndicator In AI Prompt Popup +slug: displaying-radbusyindicator-over-ai-prompt-control-popup +tags: radbusyindicator, ai prompt, popup, threading, controltemplate, ui-for-net-maui +res_type: kb +ticketid: 1697962 +--- + +## Environment + + + + + + + + + + + + +
Product +UI for .NET MAUI RadBusyIndicator,
+UI for .NET MAUI AI Prompt Control +
Version 10.1.0
+ +## 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 AI Prompt Control popup. The issue occurs because the AI Prompt 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 RadBusyIndicator inside AI Prompt Control popup? +- Why does RadBusyIndicator appear behind AI Prompt Control popup? +- How to fix Z-index issues with RadBusyIndicator and AI Prompt popup? + +## Solution + +To ensure the RadBusyIndicator displays correctly over the AI Prompt Control popup, customize the `ControlTemplate` of the AI Prompt Control and embed the BusyIndicator directly within the popup's layout. + +### Steps to Resolve + +1. Copy the `ControlTemplate` of the AI Prompt Control (see below). +2. Insert the RadBusyIndicator into the visual tree of the AI Prompt 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 AI Prompt Control's popup: + +```xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +