2
Answers

Close Window in MVC

 

I open FileNewBug.cshtml from index.cshtml as a window using javascript function i.e;

window.open("/FileNewBug/Index/", "File New Bug", 'width=400px,height=400px');

 

It opens successfully.

 

Now, I want to know how to close the window after validation check and call ActionName of Index.cshtml.

 
 
 
Answers (2)