Hi,
how can I open modal automatically when there is a message in tempdata
@if (TempData["message"] != null) {<div id="infoValidationSummary" class="modal fade" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button><h4 class="modal-title"><b>Warning</b></h4></div><div class="modal-body"><div class="form-horizontal"> @TempData["message"]</div></div><div class="modal-footer center-block"><button type="button" class="btn btn-primary btn-sm text-center" data-dismiss="modal">OK</button></div></div></div></div> }