Skip to main content

All Questions

0 votes
1 answer
58 views

jquery modal and autocomplete not working with button for postback

I have a problem with an asp.net site using masterpage in which I would like to have a jquery modal where user can search and submit text. I would like to get the insert text with an postback for ...
Kᴀτᴢ's user avatar
  • 2,178
0 votes
1 answer
41 views

How do I stop ASP.NET div styling is overlapping/bleeding into surrounding divs?

When I set a div to be visible in ASP.NET webforms (yeah I know it's ancient. I work in education.), the red styling overlaps/bleeds from the div below into the div above. These divs are completely ...
Ryan Kent'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
-1 votes
1 answer
37 views

How to put focus on a control that is inside an update panel after closing boostrap modal

I have a Bootstrap Modal, that I use as an error popup, with a label - to show an error message - and a button on it. When the user clicks the button it closes the modal and should set focus to a ...
sconners's user avatar
0 votes
1 answer
338 views

Search and Select Item Modal for ASP.NET Core

I'm new to ASP.NET and to web development itself but have been able to understand quite well how controllers and views (MVC) work at the basics. I managed to create a Create view with a Master-Details ...
Jonathan Cumini's user avatar
1 vote
1 answer
447 views

I want to click on text and display pdf in a modal

Currently I show the name of pdf documents in text and when clicked it calls a controller and then displays the PDF on the screen. I would like to click but instead of opening another screen the pdf ...
Michaelweston'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
0 answers
142 views

Nested JSON file is the same source of data for the main view and the modal popup. How?

Description of the application: I am implementing a simple MVC application. It simply consists of a view that shows information which is delivered from a JSON file (no DB in my case). I have developed ...
Macadamia1988's user avatar
0 votes
2 answers
678 views

Why editing bootstrap.css files don't have any effect on ASP.NET Core Web App?

I'm just learning ASP.NET and I created the default Web App template in Visual Studio. There are some bootstrap.css files under wwwroot folder but even if I comment everything out it doesn't have any ...
Csharpmajor's user avatar
0 votes
2 answers
817 views

Can't open Bootstrap 5 Modal from ASP.NET Code-behind

I have reviewed many previous questions on this but haven't found anything that works. I have an ASP.NET web application project, and I would like to use a Bootstrap 5 modal to display messages when ...
TC_Guy's user avatar
  • 137
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
162 views

ASP.NET: Having two modals in the same razor page act strange

So i have this razor page that has two modals, each with a different form uploading to a different model. <button type="button" class="btn btn-primary" data-toggle="ajax-...
Andrei Cuţă's user avatar
0 votes
1 answer
163 views

Jquery load whole page instead of only modal

I'm trying to make a "Create project" modal. At first i created it inside a partial view but i found it difficult to populate it with data from other models, so instead i decided to move the ...
Andrei Cuţă's user avatar

15 30 50 per page
1
2 3 4 5
15