Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151362 | Feb 7,2020 07:52 PM UTC | Dec 24,2020 06:48 AM UTC | Blazor | 5 |
![]() |
Tags: Toast |
async Task ShowValidatioMessage()
{
if (!ValidationResult.FieldIsValid)
{
var message = ValidationResult.Messages.FirstOrDefault();
if (message != null)
{
if (ValidationResult.Messages.FirstOrDefault() != "")
{
validationMessage = ValidationResult.Messages.FirstOrDefault();
await Task.Delay(100); // Delay to update the content changes in Toast model
await MyEjsToast.RefToast.Show();
}
}
}
}
|
Hi Gopalakrishnan,
Greetings from Syncfusion support,
We have validated your reported query. We have prepared a sample with the SfToast shown on Data removed from Database and SfToast showing on a button click which works fine. In the below example the following configurations are done.
- Showing SfToast on button click.
- Remove data from the Grid Database using the Delete Icon and showing the SfToast once it is deleted.
Can you please share us the following details,
- Can you please share the video demo of the issue reproducing scenario
- If possible can you please replicate, the issue in the above sample and revert back to us.
- Are you able to reproduce the reported issue in the above sample?
- Nuget Version you are facing issue with SfToast?
If we are able to reproduce the issue from our end we will validate and provide the solution at earliest.Regards,Indrajith
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.