Completed
Last Updated: 26 Mar 2021 05:52 by ADMIN
Release 2.23.0
Datafyer
Created on: 06 Oct 2019 00:52
Category: Window
Type: Feature Request
43
Predefined windows

I would imagine most applications would use the Alert, Confim, Prompt concepts so it would be nice if they were built in.
It would further be nice if they were styleable and callable from c# code very similar to the wpf.
Of course as a default they could follow whatever css style is being used already.

RadWindow.Alert(text);
RadWindow.Confirm(text, () => {});
RadWindow.Prompt(text, result => {});

 

https://docs.telerik.com/devtools/wpf/controls/radwindow/features/predefined-dialogs

7 comments
ADMIN
Marin Bratanov
Posted on: 26 Mar 2021 05:52

Hi David,

The 2.23.0 release is planned for next week (end for March - early April). This is when the alert, confirm and prompt dialogs will be available (you can preview them here, btw) and there is another enhancement in the Window - activating an instance (say, clicking it) will bring it to the top of the z-index stack so multiple windows will behave like in the OS.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

David
Posted on: 25 Mar 2021 22:07
It says this is Completed and in release 2.23.0. When will 2.23.0 be released? The release history only lists 2.22.0
ADMIN
Marin Bratanov
Posted on: 22 Dec 2019 11:17

Hi all,

Here's an example of something reusable I just made that may be interesting in case you have not implemented something similar already: https://github.com/telerik/blazor-ui/tree/master/common/confirm-button

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
ADMIN
Marin Bratanov
Posted on: 09 Dec 2019 08:37

Hello Ben,

You can see our short-term plans in our roadmap page: https://www.telerik.com/support/whats-new/blazor-ui/roadmap. We take the community feedback actively when prioritizing items, so the more popular a given request becomes, the more likely it is to be implemented sooner rather than later. This also means that we can't commit to firm timeframes for all those features in the portal, and the best way to know when something gets done is to Follow its progress.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Ben Hayat
Posted on: 07 Dec 2019 13:01
I forgot to mention this in my previous note.
Something like SweetAlert.
Ben Hayat
Posted on: 07 Dec 2019 08:45

Hi Marin;

Since this feature is approved, what is your guesstimate to have a native component for (alert, confirm, and prompt)?

This way during development we can temporary use the JS version and eventually move to Telerik's component.

Thanks!
..Ben

ADMIN
Marin Bratanov
Posted on: 07 Oct 2019 07:16

Hi,

In the meantime, you can achieve them by implementing your own components holding TelerikWindow instances that have some predefined settings/content as per your needs; then those components can expose methods that toggle the dialog, and parameters for size, content, title, etc.

On styling - in WPF you have the concept of defining a <Style> that you can reference, but this does not exist in the web. It is likely that styling will be done with CSS (e.g., through a class like telerik-blazor-prompt), and we will probably expose a template option for the content. Maybe the ability to have a custom CSS class would also be beneficial. Perhaps all those settings could go into the PredefinedDalogParameters argument the methods might take and it would be able to expose new features in the future without breaking the method signature. Perhaps even the EventCallback for closing the dialogs could go in there, so there is no need for overloads.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor