Toast Do not show

I created a new project https://blazor.syncfusion.com/documentation/toast/getting-started#add-blazor-toast-component

I upgraded 22.2.0.36 today

then toast doesn't show

After rolling back to 20.1.0.61 everything works fine



6 Replies

TC Thomas Carney July 7, 2022 01:37 PM UTC

Same here. Rolled back after seeing this and it shows fine now.



BS Buvana Sathasivam Syncfusion Team July 7, 2022 02:33 PM UTC

Hi All


Greetings from Syncfusion support.


We were unable to reproduce your reported issue at our end using 20.2.0.36. Please find the below sample and video for your reference.


Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/V_772022_193725572879641


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfToast-1084242682


We suggest deleting the bin and obj folders before opening and running your application.


If you still face a problem, can you please clear the cache and run the sample using an incognito window, or else please share your application?


Regards,

Buvana S



AM AD MIN July 8, 2022 01:26 AM UTC

please see Attachment

I use visual studio17.2.5


Attachment: syncfusion_3f4fa8d.rar



BS Buvana Sathasivam Syncfusion Team July 8, 2022 07:51 AM UTC

Hi AD MIN,


Thanks for sharing your sample.


We have checked your shared sample. You missed out on installing Syncfusion.Blazor.Themes nuget to refer the Syncfusion styles. So, we suggest installing Syncfusion.Blazor.Themes nuget to solve your problem. Please see the below video and sample for your reference.


Videohttps://www.syncfusion.com/downloads/support/directtrac/general/ze/V_782022_111214-1032383443


Samplehttps://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion-1712111418


If still issue occurred on your side, can you please clear the Syncfusion NuGet cache(NuGet package location: C:\Users\<UserName>\.nuget\packages) and then install and check.


Please refer the below link to clear NuGet cache,

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache


Kindly try with the above information and get back to us if you have any queries.


Regards,

Buvana S



AM AD MIN replied to Buvana Sathasivam July 11, 2022 06:04 AM UTC

Your solution works great in new projects,

But it still doesn't show in my previous project,

Roll back to the previous version again and everything works fine


@layout MyLoginLayout

@inject ToastService ToastService


showtoast(ToastService, "faild", "test");


public void showtoast(ToastService toa, string title, string content)

{

toa.ShowToast(new ToastOption()

{

Title = title,

Content = content

});

}



BS Buvana Sathasivam Syncfusion Team July 13, 2022 04:11 AM UTC

Hi AD MIN,


We were unable to reproduce your reported issue at our end. We suspect that the issue was occurred due to the cache problem. Could you please refer the styles and scripts in the application as below if you are referring scripts or styles from CDN or static web assets.


 

<link rel="stylesheet" rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap5.css?v20.2.36" />
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js?v20.2.36"></script>

 


Kindly try with the above information. If possible, can you please share a video demo of your issue? Are you facing any console errors? Meanwhile, we will try to reproduce your reported issue at our end with different machines.


Regards,

Buvana S


Loader.
Up arrow icon