Mark Tabor

Mark Tabor

  • 564
  • 2k
  • 448.9k

Block the screen until user click the button

Jul 25 2024 10:09 AM

I am using javascript on my view to show a model popup based on tempdata value if it is having value then I show the model popup , the popup comes up but the issue is in my controller method it is not getting stopped when the popup comes and in controller I return the view so the popup disappear as in controller the action redirect to another view. how to prevent it till the user click the button on model popup and then redirect to specific action method.


Answers (3)