• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection

Example for Positions in ASP.NET MVC Toast Control

This sample demonstrates the different positioning of the Toast based on the target given.

You have a friend request yet to accept.

Based on the use case toast can take the body element or any specific element as target. In this sample, with help of custom inputs toast can be positioned based on the target.

  • Toast can be positioned in the 8 pre-defined places.
  • Custom option will enable to give X and Y values to align the toast based on the given inputs.

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