i m using toaster notification on page reload, then on timer tick event again toaster notification will show,but problem is that ,on page reload those notification showed not gone completely before timer tick event and they make multiple copy of same notification.
<asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="300000"></asp:Timer>
<script type="text/javascript">
function showpop(msg, title) {
debugger;
// alert("ok");
toastr.options = {
"closeButton": false,
"debug": false,
"newestOnTop": false,
"progressBar": true,
"positionClass": "toast-bottom-left",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "120000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
// toastr['success'](msg, title);
var d = Date();
toastr.error(msg, title);
return false;
}
how to adjust time of toaster notification and timer that all toster notification will hide before timer tick event start.means how to adjust time like after 2 min or 3 min timer will tick event start???