• Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • Fabric
  • Fabric Dark
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of API in ASP.NET MVC Toast Control

This sample demonstrates all the API functionalities available in Toast.


Show Animation

Hide Animation

In this sample, with help of text inputs toast header title and content text can be provided.

  • Action Buttons – Provide support to add a button inside toast to interact with it.
  • Prevent Duplicates – Disable the user to create same toast message multiple times.
  • TimeOut – Allows to set time in millisecond to close toast.
  • Progress Bar – Visualizes the time out of toast as an indicator.
  • Animation – Enables to define the toast show and hide animation.
  • Close button – Show close button to hide toast irrespective of time out.

More information about Toast can be found in this documentation section.