Skip to main content

All Questions

Tagged with
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 ...
lilnoob's user avatar
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 ...
Torrvic's user avatar
  • 77
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 ...
brok lothbrok's user avatar
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"> ...
Naghme Vahabi's user avatar
-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-...
charbel hachem's user avatar
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</...
iAm.Hassan's user avatar
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 ...
jo1991's user avatar
  • 1
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: ...
Aakash Singh's user avatar
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 ...
StealthGhost's user avatar
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....
A Cameron's user avatar
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(...
Alan's user avatar
  • 63
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 ...
user17195990's user avatar
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 ...
ch0c's user avatar
  • 1
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=...
scrapjack's user avatar
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/...
John D's user avatar
  • 581

15 30 50 per page
1
2 3 4 5
14