Is it possible to use DialogService to open a confirmation box and specify the content with html tags without using template reference or component?
1 Answer, 1 is accepted
0
Dimiter Topalov
Telerik team
answered on 02 Feb 2018, 11:55 AM
Hi Jacky,
The specifics of the Angular framework necessitates the content of the component to be compiled in order to be rendered as HTML in the page. This is why HTML markup can be provided as a TemplateRef or a separate component only. The only content that can be passed to the "content" property and directly displayed on the page is a string.
Examples on using a template or a component are available in the following section of our documentation (maybe you went through them already, but just in case):