Predefine dialogs don't show buttons text

2 Answers 42 Views
Dialog
Blazorist
Top achievements
Rank 1
Iron
Iron
Veteran
Blazorist asked on 22 Jun 2021, 04:17 PM | edited on 22 Jun 2021, 04:17 PM

Hi all. 
I've a simple confirm dialogue routine.  I follow the examples in the documentation. 

The code looks like:

        protected async void OnNHibernateLogsChange()
        {
            bool confirm = await ActivateFilterConfirm(); // ask about

            if (confirm || _showNHibernateLogs == false)
            {
                LoggerConfig.FilterNHibernateLogs = !_showNHibernateLogs;
                string msg = _showNHibernateLogs ? L10n["NM-SHOWNHIBLOGS"] : L10n["NM-HIDENHIBLOGS"];
                NotificationManager.ShowInfo(msg);
            }
            else
            {
                _showNHibernateLogs = !_showNHibernateLogs;
            }
        }

The problem is that the dialog box buttons don't have a text. It is not an styles issue. I've inspected and the generated div is empty. 

Any ideas on what is going on? 
Thanks. 


2 Answers, 1 is accepted

Sort by
0
Blazorist
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 24 Jun 2021, 12:53 AM

Copy & paste the documentation example. Same result: no text in buttons.

See image below:

Someone have the same problem? 

Support team?


Blazorist
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 28 Jun 2021, 02:51 PM

Almost one week and no response.
Mario
Top achievements
Rank 1
Iron
commented on 18 Oct 2021, 03:21 PM

I'm having the same problem with Dialogs.ConfirmAsync("Are you sure?", "Delete Item");

immagine

And if I use the default delete confirmation of a telerik grid

Mario

Mario
Top achievements
Rank 1
Iron
commented on 18 Oct 2021, 04:35 PM | edited

I'm using localization... If I comment the localization code in Program.cs the text will be shown

How can I solve this issue?

0
Mario
Top achievements
Rank 1
Iron
answered on 19 Oct 2021, 02:34 PM
I solved setting in the localization files these resources: Dialog_Cancel and Dialog_Ok.
Dimo
Telerik team
commented on 21 Oct 2021, 07:00 AM

Hello Mario,

We intend to enhance the Dialog component in early 2022 to allow full content customization, without the need to use localization. Follow this feature request to receive status updates.

Tags
Dialog
Asked by
Blazorist
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Blazorist
Top achievements
Rank 1
Iron
Iron
Veteran
Mario
Top achievements
Rank 1
Iron
Share this question
or