Unplanned
Last Updated: 21 Jun 2021 14:48 by Jason
Arash
Created on: 27 May 2021 06:30
Category: Dialog
Type: Feature Request
5
Rendering Html texts in header and content (custom dialog content/html/components)

 <AdminEdit>

This feature request would be used to monitor the requests for a full-fledged Dialog component. It will be defined in the Markup and will provide options to customize the Header and Content and will expose Action buttons.

</AdminEdit>

2 comments
Jason
Posted on: 21 Jun 2021 14:48

Just to add to this as it seems Marin has asked for more information.

I believe this has been raised as originally the author wanted to add line breaks. I'm here for exactly the same reason, the dialog window renders <br/> instead of adding a line break. I understand this is to prevent attacks but .... having to create a window just to add a line break to a message is overkill to say the least. 

I was hoping to use the Telerik dialog throughout a large application but this prevents it. Can this feature request be escalated? It is so close... HtmlEncode would do it and then leave it up to the developer to worry about the data being presented?

Thanks

Jason

ADMIN
Marin Bratanov
Posted on: 27 May 2021 09:41

Hello Arash,

You can do that with the Window component at the moment:
https://docs.telerik.com/blazor-ui/components/window/overview.

Here is a possible implementation where the TelerikWindow is used like a Dialog:
https://github.com/telerik/blazor-ui/tree/master/common/confirm-button

That said, could you provide some more details on how you would expect that to be exposed for configuration?

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/.