Add image to RadAlert Telerik

0

How can I add an image to a RadAlert? I try this but it does not work for me ..

 RadWindowManager1.RadAlert("SuccessFully Autenticated", 200, 100, "Access Avaliable", null, "~/View/Imagenes/exito.JPG"); 

    
asked by Efrain Mejias C 31.07.2016 в 19:33
source

1 answer

1

The image should not be placed inside the ~/View folder but you should put it within Content

Folder Structure of ASP.Net MVC Project

in that same folder, css is usually defined as well

If you check the doc of the RadAlert Dialog

in the example that the doc poses, you will see that the image is displayed, but you must validate that the image is accessible and if you place it in the View folder it is not

Remember that you can use the Developer Tools of the Browser, which you access with F12, with the Network tab you could validate if the image that defiens can be accessed or if it is failing

    
answered by 01.08.2016 / 02:48
source