Despite trying everything, I was unable to achieve success.
<script type="text/javascript">
function openModal() {
var myModal = new bootstrap.Modal(document.getElementById('KullaniciAramaSonuc'), {});
myModal.show();
}
</script>
<div class="modal fade" id="KullaniciAramaSonuc" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Şifre İşlemleri</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Kapat"></button>
</div>
<div class="modal-body">
<asp:Label ID="lblMesaj" CssClass="h5" runat="server"></asp:Label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-btn-primary" data-bs-dismiss="modal">Kapat</button>
</div>
</div>
</div>
</div>
Even though I call the method codebehind, nothing happens. However, it works when I try with bootstrap 4.3. Can someone provide assistance?