Toast is not working

Hello,

Nothing happens after clicking on the buttons "check connection" & "see". Please refer to my code below & make changes accordingly.

Thanks



Attachment: kkk_18dd114.zip

3 Replies

IS Indrajith Srinivasan Syncfusion Team December 9, 2020 08:37 AM UTC

Hi Rahul, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query.With the shared sample, the reported issue is due to missing style package reference in the _Host.cshtml. We have also modified the shared sample. 
 
 
 
In addition with the shared code blocks, the for loop condition (for (int i = 0; i < Diagram.Connectors.Count; i++)) fails, hence it is skipped from calling the SfToast show method.  
 
Also, we have internally resolved “SfToast doesn't hide until hovering the toast” with the SfToast, in the Nuget package version 18.3.53. With the shared sample you are using the version 18.3.52, which is the cause of the reported issue. Can you update the Nuget package to latest version, and check the reported issues from your end ? 
 
Please get back to us if you face any difficulties, 
 
Regards, 
Indrajith 



RK Rahul Kumar December 9, 2020 01:52 PM UTC

Hello sir,

Thanks !! It's working fine now. 
Can you please replace the above toast code with the dialog code. As i want to use Dialog instead of toast feature. It will be very helpful. Please refer to my code below.

Thanks
Rahul Kumat

Attachment: kkk_c6a76f78.zip


IS Indrajith Srinivasan Syncfusion Team December 10, 2020 06:40 AM UTC

Hi Rahul, 
 
Welcome, 
 
As requested, we have changed the SfDialog component replacing the SfToast in your code blocks. Check the below modified sample. 
 
 
Please let us know if you need any further assistance, 
 
Regards, 
Indrajith 


Loader.
Up arrow icon