Unplanned
Last Updated: 23 May 2024 08:11 by ADMIN
When you open a predefined dialog (in OnInitialized) from inside a modal window, the dialog appears behind the modal.
Unplanned
Last Updated: 14 Aug 2024 10:52 by ADMIN
Created by: Chris
Comments: 6
Category: Dialog
Type: Feature Request
14
I would like to easily mock the DialogFactory.
Unplanned
Last Updated: 16 Jul 2024 11:59 by ADMIN
Created by: Dan
Comments: 7
Category: Dialog
Type: Feature Request
13
Pressing the Enter key should trigger the Ok button in the Prompt Dialog
Unplanned
Last Updated: 17 Feb 2023 09:34 by Chris
Created by: Chris
Comments: 0
Category: Dialog
Type: Feature Request
12

Hello,

Please add support for MarkupString in the predefined awaitable dialogs. This will allow us to add new lines and other simple rich content, without the need to resort to the full-blown Dialog component.

Unplanned
Last Updated: 14 Aug 2023 08:23 by ADMIN

Hello,

I am using DialogFactory in a Blazor server app with PreRendering disabled.

It appears to cause more than expected OnParametersSet calls - its firing 2-6 times per page opening. Without DialogFactory it fires only once.

Unplanned
Last Updated: 31 Mar 2023 05:32 by ADMIN
Created by: Jonathan
Comments: 1
Category: Dialog
Type: Feature Request
9
Please disable page scrolling while the modal Dialog/Window is open. Some users may find the ability to scroll the background content confusing.
Unplanned
Last Updated: 07 May 2021 00:29 by Baires
Created by: Yuri
Comments: 1
Category: Dialog
Type: Feature Request
5

Can I define the Cancel home button by default? When deleting a line I use Confirm Dialogs, I want the default (active) button to be Cancel (not Ok)

---

ADMIN EDIT

Here is a solution you can use:

@inject IJSRuntime _js

@* move this script to a proper place in your project and remove the 
    suppress-error hack that lets it stay in the component - it is here for brevity only *@
<script suppress-error="BL9992">
    function focusCancelDialogButton() {
        setTimeout(function() {
            var cancelButtons = document.querySelectorAll(".k-dialog .k-dialog-buttongroup .k-button");
            if(cancelButtons && cancelButtons.length > 1) {
                cancelButtons[1].focus();
            }
        }, 100);
    }
</script>

<TelerikButton OnClick="@ShowConfirm">Show Confirm</TelerikButton>

@code {
    [CascadingParameter]
    public DialogFactory Dialogs { get; set; }

    public async Task ShowConfirm()
    {
        await _js.InvokeVoidAsync("focusCancelDialogButton");
        bool isConfirmed = await Dialogs.ConfirmAsync("Are you sure?");

        if (isConfirmed)
        {
            Console.WriteLine("The user is sure, continue.");
        }
        else
        {
            Console.WriteLine("The user changed their mind");
        }
    }
}

---

Unplanned
Last Updated: 02 Aug 2023 06:26 by ADMIN

Hello I want to close a TelerikDialog using Esc key and this does not work sometimes. Run this REPL snippet please https://blazorrepl.telerik.com/cnYrwUYq54FZ70xP17. Click into dialog title for instance and press Esc key. Nothing happens.

Very thanks.

Miroslav

  
Unplanned
Last Updated: 20 Dec 2023 08:18 by ADMIN
Created by: Alain
Comments: 0
Category: Dialog
Type: Feature Request
2
I would like to be able to set the color of the title bar in a predefined Dialog.
Unplanned
Last Updated: 21 Jun 2021 06:59 by ADMIN
Created by: Guy
Comments: 0
Category: Dialog
Type: Feature Request
1
I would like to use a similar parameter to the RestrictionZoneID in AJAX - https://demos.telerik.com/aspnet-ajax/window/examples/restrictionzone/defaultcs.aspx
Unplanned
Last Updated: 29 Sep 2021 13:24 by ADMIN
Created by: Doug
Comments: 0
Category: Dialog
Type: Feature Request
1
It would be great if we had the ability to add an icon to a dialog, similar to the attached screenshot of the dialog I wrote using a Telerik window.