0

I want to show an ASP.NET MVC PartialView in a bootstrap 3 modal.

I use this solution: MVC 4 Edit modal form using Bootstrap

but only modal overlay was shown like below. Please help

my error

Community
  • 1
  • 1
b24
  • 2,425
  • 6
  • 30
  • 51

1 Answers1

3

It's a bootstrap 2 modal dialog which should be upgraded to version 3 this way:

  • remove the hide class (that's the reason of showing that overlay)
  • move modal-header، modal-body and modal-footer classes into a div with modal-content class.
  • modal-content should be placed inside the modal-dialog class.
VahidN
  • 18,457
  • 8
  • 73
  • 117