All Questions
Tagged with bootstrap-modal c#
196
questions
0
votes
0
answers
28
views
How to display text input box over modal in abp framework?
I have the following code which is a modal element. The "NewButton" element is supposed to trigger a text input box in which the user writes the reason for the delete action. The Scripts ...
0
votes
1
answer
20
views
Parameter In Child Modal Component Not Being Updated Properly
Have two pages: UsersManagement.razor and UserDeletionConfirmation.razor. UserDeletionConfirmation.razor is the modal which is being called from UsersManagement.razor.
The problem is that I have a ...
0
votes
0
answers
94
views
How to use modal bootstrap in identity razor pages in ASP.NET Core
I want to call the registration or login of individual Microsoft identity on the main page of my site using bootstrap modal. Everything goes well until the validations are applied and it is ...
0
votes
2
answers
42
views
Modal Closes right after it opens c#
I wanted to use a modal (by clicking on a button) to insert data to a table (with calling action in another controller)
Here is my cshtml code:
<section class="basic-elements">
...
-1
votes
1
answer
108
views
asp.net 6 mvc view Modal and javascript
I am using asp.net 6 mvc.
In my view part i do have this button over here:
<div class="d-flex my-4">
<a href="#" class="btn btn-md btn-info me-2" data-bs-...
1
vote
1
answer
380
views
Show another page in Bootstrap 5 modal with iframe and dynamic querystring
I have a list of my news like below (for example this button is readmore):
<button data-bs-toggle="modal" data-id="1" data-bs-target="#exampleModal">Readmore</...
0
votes
1
answer
160
views
Not able to open Bootstrap modal inside partial view after form validation
I have a Partial View that contains a modal for user login, however when there are Model State errors, the errors are shown in an entire Partial View, instead of appearing inside the Modal in the ...
0
votes
0
answers
865
views
Uncaught Error: "$.fn.modal" is not defined; please double check you have included the Bootstrap JavaScript library
Getting this error after calling JavaScript function with Bootbox from code behind after I upgraded to bootstrap 5. But works fine if I call the same function from my aspx page.
Error: Uncaught Error: ...
0
votes
0
answers
281
views
Chromium update (Chrome and Edge 108) broke my Javascript that posts data to a bootstrap modal
With the latest Chrome/Edge update (108) my page now hangs instead of showing the data in the modal. I get a unresponsive error and it never resolves. Sometimes the modal footer shows but never the ...
0
votes
1
answer
2k
views
ASP.NET Core MVC : bootstrap modal not showing
I have been following a tutorial to use bootstrap modals in a CRUD application but I can't get the modal to show.
This is the button calling the jQuery:
<a onclick="CreateOrganization('@Url....
1
vote
1
answer
96
views
AJAX returns variables null when updating data using Bootstrap Model in NET Core MVC
I have a bootstrap model using ajax to update customer data. However, all variables return null even though there is information in the text boxes.
Customer.cs
public class Customer
{
[Display(...
0
votes
1
answer
152
views
Getting a 405 error when trying to call Delete Modal Confirmation action (Asp.Net Core 6 javascript)
I'm working on my first Asp.Net Core application, and am struggling with modals, Razor pages and route mapping are completely new things for me, and javascript is a pretty old thing for me. I'm trying ...
0
votes
1
answer
874
views
Display a modal window when ModelState is valid ASP.NET Core 6
I'm writing an ASP.NET Core 6 MVC web app in Visual Studio 2022, using database-first approach in Entity Framework.
I have a user model called Usuario; a controller UsuarioController and a view model ...
1
vote
2
answers
2k
views
How to work with modal window in ASP NET 6?
I have a HTML code:
<div class="container">
<div class="row">
@foreach(var post in Model)
{
<div class="col-sm-8">
<div class=...
0
votes
1
answer
435
views
bootstrap 5 modal returns to calling method before the modal-popup buttons are clicked
My project is Blazor WASM-hosted, .Net 6, C#, VS-2022, Bootstrap v5. I have coded up a blazor component <MessageBoxComponent ... > to handle the modal-html and button-click-code to hide/...